PageSourceSearch

https://app.adstra.ai/_next/static/chunks/pages/apps/consulting-c28b7649b76f7763.js

js adstra.ai collected 2026-10-05 11:50:24 UTC 4,416 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[33239],{72791:function(e,s,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/apps/consulting",function(){return a(85679)}])},85679:function(e,s,a){"use strict";a.r(s);var r=a(28598),t=a(82684),i=a(43299),l=a(38797),n=a(68015),m=a(35472),c=a(12691),o=a.n(c),d=a(42957),u=a(707),h=a(38178);const N=l.Ry().shape({firstName:l.Z_().required("First Name is required"),lastName:l.Z_().required("Last Name is required"),email:l.Z_().email("Invalid email").required("Email is required"),message:l.Z_().required("Message is required")}),f={firstName:"",lastName:"",email:"",message:""};s.default=(0,n.Z)((e=>{let{}=e;const s=(0,t.useRef)(null),[a,l]=(0,t.useState)(f),n=u.Mx;var c;const{data:h,isLoading:x,refetch:p}=null!==(c=n.useGetProfileQuery())&&void 0!==c?c:{};(0,t.useEffect)((()=>{h&&l({...a,firstName:h.fields.firstName||"",lastName:h.fields.lastName||"",email:h.user.email||""})}),[h]);if(x)return(0,r.jsx)(m.Z,{});const g="Hire our Team for Consulting";return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("ul",{className:"flex space-x-2 rtl:space-x-reverse",children:[(0,r.jsx)("li",{children:(0,r.jsx)(o(),{href:"#",className:"text-primary hover:underline",children:"Apps"})}),(0,r.jsx)("li",{className:"before:content-['/'] ltr:before:mr-2 rtl:before:ml-2",children:(0,r.jsx)("span",{children:g})})]}),(0,r.jsx)("div",{className:"space-y-8 pt-5",children:(0,r.jsx)("div",{className:"grid grid-cols-1 gap-6 lg:grid-cols-2",children:(0,r.jsxs)("div",{className:"panel",children:[(0,r.jsx)("div",{className:"mb-5 flex items-center justify-between",children:(0,r.jsx)("h5",{className:"text-lg font-semibold dark:text-white-light",children:g})}),(0,r.jsx)("p",{className:"pb-5",children:"Hire our consulting team for help with buying or selling a business."}),(0,r.jsx)(i.J9,{initialValues:a,validationSchema:N,onSubmit:async(e,s)=>{const{setSubmitting:a}=s,r=(t=e,Object.keys(t).map((e=>{const s=e;return encodeURIComponent(e)+"="+encodeURIComponent(t[s])})).join("&"));var t;try{const e="https://hooks.zapier.com/hooks/catch/14242389/3z89dud/?"+r;if(!(await fetch(e)).ok)throw(0,d.J3)({title:"Network response was not ok"}),new Error("Network response was not ok");(0,d.XA)({title:"Form submitted successfully"}),a(!1)}catch(i){console.error("Error:",i),(0,d.J3)({title:"Something went wrong, please try again"}),a(!1)}},innerRef:s,enableReinitialize:!0,children:e=>{let{errors:s,touched:t,submitCount:l}=e;return(0,r.jsxs)(i.l0,{className:"space-y-5",children:[(0,r.jsxs)("div",{className:t.firstName&&s.firstName?"has-error":t.firstName?"has-success":"",children:[(0,r.jsx)("label",{htmlFor:"firstName",children:"First Name"}),(0,r.jsx)(i.gN,{id:"firstName",name:"firstName",className:"form-input"}),(0,r.jsx)(i.Bc,{name:"firstName",component:"div",className:"mt-1 text-danger"})]}),(0,r.jsxs)("div",{className:t.lastName&&s.lastName?"has-error":t.lastName?"has-success":"",children:[(0,r.jsx)("label",{htmlFor:"lastName",children:"Last Name"}),(0,r.jsx)(i.gN,{id:"lastName",name:"lastName",className:"form-input"}),(0,r.jsx)(i.Bc,{name:"lastName",component:"div",className:"mt-1 text-danger"})]}),(0,r.jsxs)("div",{className:t.email&&s.email?"has-error":t.email?"has-success":"",children:[(0,r.jsx)("label",{htmlFor:"email",children:"Email"}),(0,r.jsxs)("div",{className:"flex",children:[(0,r.jsx)("div",{className:"flex items-center justify-center border border-white-light bg-[#eee] px-3 font-semibold ltr:rounded-l-md ltr:border-r-0 rtl:rounded-r-md rtl:border-l-0 dark:border-[#17263c] dark:bg-[#1b2e4b]",children:"@"}),(0,r.jsx)(i.gN,{id:"email",name:"email",className:"form-input ltr:rounded-l-none rtl:rounded-r-none",disabled:a&&a.email})]}),(0,r.jsx)(i.Bc,{name:"email",component:"div",className:"mt-1 text-danger"})]}),(0,r.jsxs)("div",{className:t.message&&s.message?"has-error":t.message?"has-success":"",children:[(0,r.jsx)("label",{htmlFor:"message",children:"Your Request"}),(0,r.jsx)(i.gN,{as:"textarea",id:"message",name:"message",placeholder:"Briefly describe what you need help with...",className:"form-input"}),(0,r.jsx)(i.Bc,{name:"message",component:"div",className:"mt-1 text-danger"})]}),(0,r.jsx)("button",{type:"submit",className:"btn btn-primary !mt-6",children:"Send"})]})}})]})})})]})}),h.j$)}},function(e){e.O(0,[62473,2013,43299,38797,68015,49774,92888,40179],(function(){return s=72791,e(e.s=s);var s}));var s=e.O();_N_E=s}]);

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.