PageSourceSearch

https://www.batchsystems.ai/_next/static/chunks/2273.e70dba2b119e97d3.js

js batchsystems.ai collected 2026-10-05 11:54:42 UTC 8,739 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2273],{27966:function(e,n,t){var r=t(47568),i=t(26042),l=t(69396),a=t(99534),s=t(10253),o=t(29815),d=t(97582),u=t(85893),m=t(48641),p=t(95868),c=t(83234),x=t(35610),h=t(20979),f=t(47741),g=t(67294),Z=t(38074),v=t(35119),b=t(98087),j=t(82580);n.Z=function(e){var n,t,y=e.label,C=(e.filetype,e.fileExtension),S=e.maxFiles,N=e.onUpload,w=void 0===N?function(){}:N,I=(0,a.Z)(e,["label","filetype","fileExtension","maxFiles","onUpload"]),k=(0,g.useContext)(b.Z).cms,F=(0,g.useState)(!1),L=F[0],q=F[1],E=(0,s.Z)((0,j.U$)(I),2),P=(E[0],E[1]),A=(0,j.u6)(),D=A.submitCount;A.setFieldTouched;var B,U=(0,g.useState)([]),R=U[0],z=U[1],V=(0,g.useCallback)((B=(0,r.Z)(function(e){var n;return(0,d.__generator)(this,function(t){switch(t.label){case 0:return q(!0),[4,v.Z.uploadMultipleFile(e)];case 1:return(n=t.sent())&&w(n.url),z(function(n){return(0,o.Z)(n).concat((0,o.Z)(e))}),q(!1),[2]}})}),function(e){return B.apply(this,arguments)}),[]),M=(0,Z.uI)({onDrop:V,maxFiles:"".concat(void 0===S?1:S),accept:"".concat(C)}),W=M.acceptedFiles,$=M.getRootProps,H=M.getInputProps,J=Array.isArray(null==k?void 0:null===(n=k.globals)||void 0===n?void 0:n.inputVariant)&&k.globals.inputVariant.length>0?k.globals.inputVariant[0].customInputSettings:{},K=W.map(function(e){return(0,u.jsx)(m.HC,{border:"1px",borderColor:"gray.200",rounded:"md",ps:2,backgroundColor:"white",children:(0,u.jsxs)(m.kC,{justifyContent:"space-between",children:[(0,u.jsx)(m.xv,{p:.5,children:e.path}),(0,u.jsx)(p.P,{onClick:function(){z(R.filter(function(n){return n.path!==e.path})),w("")}})]})},e.path)}),T=!!P.error&&(P.touched||D>0);return(0,u.jsx)("div",{style:{width:"100%"},children:(0,u.jsxs)(c.NI,{isInvalid:T,children:[y&&(0,u.jsx)(m.xv,{mb:{sm:"3",md:"6"},variant:"inputLabel",children:y}),(null==R?void 0:R.length)?(0,u.jsx)(m.aV,{children:K}):(0,u.jsx)(u.Fragment,{children:(0,u.jsx)(m.kC,(0,l.Z)((0,i.Z)({align:"center",justify:"center",borderRadius:"4px",border:"0.5px solid",borderColor:"color",w:"100%",minH:"100px",cursor:"pointer"},null==J?void 0:J.dragUploadFileSetting,$({className:"dropzone"})),{children:L?(0,u.jsx)(x.$,{}):(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(h.II,(0,i.Z)({name:"media",type:"file",accept:"image/x-png,image/gif,image/jpeg,application/pdf,application/vnd.ms-excel",label:y},H()))," ",(0,u.jsx)(f.zx,{variant:"no-hover",py:12,children:(0,u.jsx)(m.xv,{color:"gray.400",px:12,variant:"pageTextDim",children:"Drag & Drop or Click here to upload"})})]})}))}),(0,u.jsx)(c.J1,(0,l.Z)((0,i.Z)({fontSize:"xs"},null==J?void 0:J.ErrorMessageSettings),{children:"string"==typeof P.error?P.error:null===(t=P.error)||void 0===t?void 0:t.message}))]})})}},12273:function(e,n,t){t.r(n),t.d(n,{default:function(){return I}});var r={};t.r(r),t.d(r,{Form1:function(){return w}});var i=t(26042),l=t(85893),a=t(67294),s=t(47568),o=t(69396),d=t(99534),u=t(97582),m=t(80419),p=t(48641),c=t(47741),x=t(82580),h=t(11163),f=t(74231),g=t(48046),Z=t(27966),v=t(35119),b=t(98087),j=t(21949),y=t(75989),C=t(1728),S=t(94017),N=f.Ry().shape({firstName:f.Z_().required("First Name is requried"),companyName:f.Z_().required("Company Name is requried"),email:f.Z_().email("Must be a valid email").max(255).required("Email is required"),phoneNumber:f.Z_().required("Phone Number is required").matches(/^((\\+[1-9]{1,4}[ \\-]*)|(\\([0-9]{2,3}\\)[ \\-]*)|([0-9]{2,4})[ \\-]*)*?[0-9]{3,4}?[ \\-]*[0-9]{3,4}?$/,"Phone number is not valid")}),w=function(e){var n,t,r=e.title,f=e.button,w=e.wrapperSettings;(0,d.Z)(e,["title","button","wrapperSettings"]);var I,k=(0,a.useState)({IRS:"",stateLicense:"",resellerPermit:""}),F=k[0],L=k[1],q=(0,a.useContext)(j.Z).phonePrefix,E=(0,a.useState)(q),P=E[0],A=E[1],D=(0,a.useContext)(b.Z).cms,B=(0,m.pm)(),U=(0,h.useRouter)(),R=(I=(0,s.Z)(function(e){var n,t;return(0,u.__generator)(this,function(r){switch(r.label){case 0:return Object.keys(n=(0,i.Z)({},e,F)).forEach(function(e){""===n[e]&&delete n[e]}),n.phone_prefix=P||q,[4,v.Z.wholesaleMessage(n,"")];case 1:return(t=r.sent()).success?(B({title:t.message,status:"success",duration:3e3,isClosable:!0,position:"top-right"}),U.push("/")):B({title:"failed to send request",status:"info",duration:3e3,isClosable:!0,position:"top-right"}),[2]}})}),function(e){return I.apply(this,arguments)}),z=(null==D?void 0:null===(n=D.wholesale)||void 0===n?void 0:n.sections)?null==D?void 0:null===(t=D.wholesale)||void 0===t?void 0:t.sections[0]:{title:{text:"Whole Sale"}},V=(0,S.Z)("name","phoneNumber",null==z?void 0:z.fields),M=(0,S.Z)("name","companyName",null==z?void 0:z.fields),W=(0,S.Z)("name","companyAddress",null==z?void 0:z.fields),$=(0,S.Z)("name","websites",null==z?void 0:z.fields),H=(0,S.Z)("name","message",null==z?void 0:z.fields),J=(0,S.Z)("name","IRS",null==z?void 0:z.fields),K=(0,S.Z)("name","stateLicense",null==z?void 0:z.fields),T=(0,S.Z)("name","resellerPermit",null==z?void 0:z.fields);return(0,l.jsx)(p.xu,{children:(0,l.jsx)(x.J9,{initialValues:{phoneNumber:"",firstName:"",lastName:"",email:"",companyName:"",companyAddress:"",websites:"",message:""},validationSchema:N,onSubmit:function(e){R(e)},children:function(e){var n=e.handleSubmit;return e.handleChange,(0,l.jsx)("form",{onSubmit:n,children:(0,l.jsxs)(p.Kq,(0,o.Z)((0,i.Z)({spacing:{sm:"3",md:"6",lg:"8"},padding:{sm:"1rem",md:"2rem"}},w),{children:[(null==r?void 0:r.text)&&(0,l.jsx)(p.xv,(0,o.Z)((0,i.Z)({fontSize:{sm:"20px",md:"30px"},w:"100%",textAlign:"center"},null==r?void 0:r.settings),{children:null==r?void 0:r.text})),(0,l.jsxs)(p.kC,{flexDir:{sm:"column",md:"row"},alignItems:{sm:"center",md:"start"},gap:"16px",children:[(0,l.jsx)(g.Z,{label:null,padding:"1.5rem",placeholder:"First Name",type:"text",errorBorderColor:"red.300",name:"firstName",paddingLeft:{sm:"26px"},height:{sm:"40px"}}),(0,l.jsx)(g.Z,{label:null,padding:"1.5rem",placeholder:"Last Name",type:"text",paddingLeft:{sm:"26px"},errorBorderColor:"red.300",name:"lastName",height:{sm:"40px"}})]}),(0,l.jsxs)(p.kC,{flexDir:{sm:"column",md:"row"},alignItems:{sm:"center",md:"Start"},gap:"16px",children:[(0,l.jsx)(g.Z,{label:null,padding:"1.5rem",placeholder:"Email",type:"text",errorBorderColor:"red.300",name:"email",paddingLeft:{sm:"26px"},height:{sm:"40px"}}),V&&(0,l.jsx)(g.Z,(0,i.Z)({label:null,padding:"1.5rem",placeholder:"Phone Number",type:"tel",paddingLeft:{sm:"26px"},errorBorderColor:"red.300",name:"phoneNumber",suffix:(0,l.jsx)(y.Z,{defaultCode:(0,C.Z)(P||q),handleChange:function(e){A(e)}}),height:{sm:"40px"}},V))]}),(0,l.jsxs)(p.kC,{flexDir:{sm:"column",md:"row"},alignItems:{sm:"center",md:"Start"},gap:"16px",children:[M&&(0,l.jsx)(g.Z,(0,i.Z)({label:null,padding:"1.5rem",placeholder:"Company Name",type:"text",errorBorderColor:"red.300",name:"companyName",paddingLeft:{sm:"26px"},height:{sm:"40px"}},M)),W&&(0,l.jsx)(g.Z,(0,i.Z)({label:null,padding:"1.5rem",placeholder:"Company Address",type:"text",paddingLeft:{sm:"26px"},errorBorderColor:"red.300",name:"companyAddress",height:{sm:"40px"}},W))]}),(0,l.jsxs)(p.kC,{flexDir:{sm:"column",md:"row"},alignItems:{sm:"center",md:"Start"},gap:"16px",children:[$&&(0,l.jsx)(g.Z,(0,i.Z)({label:null,padding:"1.5rem",placeholder:"Website",type:"text",paddingLeft:{sm:"26px"},errorBorderColor:"red.300",name:"websites",height:{sm:"40px"}},$)),H&&(0,l.jsx)(g.Z,(0,i.Z)({label:null,padding:"1.5rem",placeholder:"License #",type:"text",paddingLeft:{sm:"26px"}
1,errorBorderColor:"red.300",name:"message",height:{sm:"40px"}},H))]}),(0,l.jsxs)(p.kC,{width:"100%",flexDir:{sm:"column",md:"row"},alignItems:{sm:"center",md:"Start"},gap:"16px",children:[J&&(0,l.jsx)(Z.Z,(0,i.Z)({onUpload:function(e){return L(function(n){return(0,o.Z)((0,i.Z)({},n),{IRS:e})})},label:"Complete & Upload W-9",fileExtension:"image/*, application/pdf ,.pdf",filetype:"Image",maxFiles:"1"},J)),K&&(0,l.jsx)(Z.Z,(0,i.Z)({onUpload:function(e){return L(function(n){return(0,o.Z)((0,i.Z)({},n),{stateLicense:e})})},label:"Attach Your State License",fileExtension:"image/*,.pdf , application/pdf",filetype:"Image",maxFiles:"5"},K))]}),T&&(0,l.jsx)(Z.Z,(0,i.Z)({onUpload:function(e){return L(function(n){return(0,o.Z)((0,i.Z)({},n),{resellerPermit:e})})},label:"Attach Your Sellers Permit",fileExtension:"image/*,.pdf ,application/pdf",filetype:"Image",maxFiles:"5"},T)),(null==f?void 0:f.text)&&(0,l.jsx)(p.Kq,{spacing:"6",children:(0,l.jsx)(c.zx,{type:"submit",variant:(null==f?void 0:f.varient)||"primary",children:null==f?void 0:f.text})})]}))})}})})},I=function(e){var n=r[e.type];return(0,l.jsx)(n,(0,i.Z)({title:null==e?void 0:e.title,button:null==e?void 0:e.button},e))}},94017:function(e,n,t){t.d(n,{Z:function(){return r}});function r(e,n,t){return!((null==t?void 0:t.length)>0)||_.find(t,function(t){return t[e]===n&&t})}}}]);

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.