PageSourceSearch

https://react-starter-themes-one.vercel.app/_next/static/chunks/pages/hire-us-b4d702f9ab1f566c.js

js react-starter-themes-one.vercel.app collected 2026-10-03 07:35:51 UTC 6,715 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5242],{46985:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/hire-us",function(){return r(57648)}])},75134:function(e,t,r){"use strict";var n=r(85893),i=r(67294),s=r(94184),c=r.n(s),o=r(41664),l=r.n(o),a=r(11163),u=r(52361),_=r.n(u);t.Z=e=>{let{visibleMobile:t}=e,r=(0,a.useRouter)(),{asPath:s}=r,o=s.split("/").filter(e=>""!==e&&"?"!==e[0]);return(0,n.jsxs)("nav",{className:c()(_().breadcrumbs,{[_().visibleMobile]:t}),children:[(0,n.jsx)(l(),{href:"/",className:_().link,children:"Home"}),o.map((e,t)=>{let r="/".concat(o.slice(0,t+1).join("/"));return(0,n.jsxs)(i.Fragment,{children:[(0,n.jsx)("span",{children:"/"}),(0,n.jsx)(l(),{href:r,className:_().link,children:e.replace(/-/g," ")})]},t)})]})}},22677:function(e,t,r){"use strict";var n=r(85893),i=r(67294),s=r(5203),c=r(20453),o=r.n(c),l=r(9685);t.Z=e=>{let{props:t,formRef:r,setSuccessModal:c}=e,{button:a,description:u,inputsField:_,name:p,topics:m}=t,{isModalOpen:d,handleCloseModal:h}=(0,l.d)(),[f,b]=(0,i.useState)({}),x={};_.forEach(e=>{x[e.inputSlug.current]=""});let[j,y]=(0,i.useState)(x),[S,N]=(0,i.useState)({name:"",email:""}),g=(e,t)=>"email"===e?/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(t)?"":"Invalid email address":"name"===e&&""===t?"Please, enter your name":"",w=(e,t)=>{let{value:r}=e.target;y(e=>({...e,[t]:r}))},F=e=>{let{name:t,value:r}=e.target,n=g(t,r);N(e=>({...e,[t]:n}))},k=e=>{let{value:t,checked:r}=e.target;b(e=>({...e,[t]:r}))},v=async e=>{e.preventDefault();let r={},n={},i=[];t.topics.forEach(e=>{!0===f[e.topicSlug.current]&&i.push(e.topicSlug.current)}),t.inputsField.forEach(e=>{r[e.inputSlug.current]=g(e.inputSlug.current,j[e.inputSlug.current]||""),"checkbox"===e.inputType?n[e.inputSlug.current]=f[e._key]?"true":"false":n[e.inputSlug.current]=j[e.inputSlug.current]||""}),n.topics=i.length>0?i.join(", "):null,N(r);let s=Object.values(r).some(e=>""!==e);if(!s){let e=await fetch("https://api.web3forms.com/submit",{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({access_key:"".concat("27571705-73b5-4702-b643-62540f7de53d"),...n})}),t=await e.json();t.success&&c&&c(!0)}};return(0,n.jsxs)("form",{className:o().form,ref:r,onSubmit:v,children:[(0,n.jsx)("h3",{className:o().form__title,children:p}),(0,n.jsxs)("div",{className:o().topics,children:[(0,n.jsx)("p",{className:o().form__descr,children:u}),(0,n.jsx)("ul",{className:o().topics__list,children:m&&m.map((e,t)=>(0,n.jsxs)("li",{children:[(0,n.jsx)("input",{id:e._key,type:"checkbox",value:e.topicSlug.current,className:o().topic__inp,onChange:k}),(0,n.jsxs)("label",{className:o().topic__lable,htmlFor:e._key,children:[(0,n.jsx)("div",{className:o().topic__circle}),(0,n.jsx)("span",{className:o().topic__name,children:e.topicName})]})]},"".concat(e._key,"-").concat(t)))})]}),(0,n.jsx)("ul",{className:o().inputs__wrapper,children:_&&_.map((e,t)=>(0,n.jsxs)("li",{className:o().input__block,children:[(0,n.jsxs)("label",{htmlFor:e._key,className:o().input__label,children:[e.inputName,e.isInputRequired&&(0,n.jsx)("p",{className:o().required,children:" *"})]}),"area"!==e.inputType?(0,n.jsx)("input",{type:e.inputType,id:e._key,name:e.inputSlug.current,className:"".concat(o().input," ").concat(S[e.inputSlug.current]&&o().input__error),placeholder:e.inputPlaceholder,required:e.isInputRequired,onBlur:F,value:j[e.inputSlug.current]||"",onChange:t=>w(t,e.inputSlug.current),autoComplete:"off"}):(0,n.jsx)("textarea",{id:e._key,className:o().area,name:e.inputSlug.current,value:j[e.inputSlug.current]||"",onChange:t=>w(t,e.inputSlug.current)}),("email"===e.inputSlug.current||"name"===e.inputSlug.current)&&S&&(0,n.jsx)("p",{className:o().error,children:S[e.inputSlug.current]})]},"".concat(e._key," ").concat(t)))}),(0,n.jsx)(s.Z,{type:"submit",btnContent:a,className:o().button,onClick:()=>{d&&h()}})]})}},57648:function(e,t,r){"use strict";r.r(t),r.d(t,{__N_SSG:function(){return y},default:function(){return S}});var n=r(85893),i=r(67294),s=r(49521),c=r(75134),o=r(73044),l=r(5152),a=r.n(l),u=r(22677),_=r(32840),p=r.n(_),m=r(32539);let d=a()(()=>r.e(8734).then(r.bind(r,8734)),{loadableGenerated:{webpack:()=>[8734]}});var h=e=>{let{props:t,formRef:r}=e,[c,o]=(0,i.useState)(!1),l=(0,m.d)(c,400);return(0,i.useEffect)(()=>{let e=window.innerWidth-document.documentElement.clientWidth;return c?(document.body.style.cssText="overflow-y: hidden; position: fixed; top: -".concat(window.scrollY,"px; right: 0; left: 0;"),document.body.style.paddingRight="".concat(e,"px")):document.body.style.cssText="overflow-y: initial; position: initial;",()=>{document.body.style.cssText="overflow-y: initial; position: initial;"}},[c]),(0,n.jsxs)("section",{className:p().form__section,children:[(0,n.jsx)(s.Z,{className:p().wrapper,children:(0,n.jsx)(u.Z,{setSuccessModal:o,props:t,formRef:r})}),l&&(0,n.jsx)(d,{setSuccessModal:o,successModal:c})]})},f=r(19355),b=r(76565),x=r.n(b),j=e=>{let{components:t,headerData:r,footerData:l,metaData:a}=e,u=(0,i.useRef)(null),_=t&&t.find(e=>"_type"in e&&"formSection"===e._type);return(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)(o.Z,{metaData:a,headerData:r,footerData:l,className:x().layout,handleScrollToForm:()=>{var e;null===(e=u.current)||void 0===e||e.scrollIntoView({behavior:"smooth"})},children:[(0,n.jsx)(s.Z,{children:(0,n.jsx)(c.Z,{})}),t.map((e,t)=>(0,n.jsx)(f.Z,{props:e},t)),_&&(0,n.jsx)(h,{props:_.contactForm,formRef:u})]})})},y=!0;
1function S(e){let{components:t,headerData:r,footerData:i,metaData:s}=e,c=s&&0!==s.length?s[0].meta:null;return(0,n.jsx)(j,{components:t,headerData:r[0],footerData:i[0],metaData:c})}},52361:function(e){e.exports={breadcrumbs:"Breadcrumbs_breadcrumbs__j75ZN",link:"Breadcrumbs_link__z3KyN",visibleMobile:"Breadcrumbs_visibleMobile__jOnPi"}},20453:function(e){e.exports={form:"Form_form__OpGZl",form__title:"Form_form__title__pDJCJ",form__descr:"Form_form__descr___cB3p",topics__list:"Form_topics__list__rTq_G",topic__inp:"Form_topic__inp__426Il",topic__lable:"Form_topic__lable__c7HhH",topic__name:"Form_topic__name__ReSOx",topic__circle:"Form_topic__circle__NqNE6",input__block:"Form_input__block__myy6z",error:"Form_error__SULIw",input__label:"Form_input__label__Ei8pL",required:"Form_required__Dqx3x",inputs__wrapper:"Form_inputs__wrapper__nuLw9",input:"Form_input__u8lAh",input__error:"Form_input__error__sgLfT",area:"Form_area___G9kP",button:"Form_button__YJBHN"}},76565:function(e){e.exports={layout:"HireUs_layout__hb4oJ"}},32840:function(e){e.exports={wrapper:"FormSection_wrapper__5SsU3",form__section:"FormSection_form__section___AOd2"}}},function(e){e.O(0,[9617,6921,9439,6159,3044,3130,9774,2888,179],function(){return e(e.s=46985)}),_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.