PageSourceSearch

https://www.esocialtechne.com.br/_next/static/chunks/pages/account/inquiry-ea084ba576039cc1.js

js esocialtechne.com.br collected 2026-10-03 18:18:20 UTC 3,376 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[24],{281:function(e,r,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/account/inquiry",function(){return n(3885)}])},1064:function(e,r,n){"use strict";n.d(r,{W:function(){return Container}});var t=n(5893),s=n(6336);function Container(e){return(0,t.jsx)("div",{className:(0,s.tw)("max-w-7xl mx-auto px-4",e.className),style:e.style,children:e.children})}},6923:function(e,r,n){"use strict";n.d(r,{J:function(){return i}});var t=n(5893),s=n(7294);function InputSelectComponent(e,r){return(0,t.jsxs)("select",{className:"shadow-md w-full rounded-md px-3 py-3 border-none",value:e.value,onChange:e.onChange,ref:r,name:e.name,children:[e.placeholder&&(0,t.jsx)("option",{value:"",children:e.placeholder}),e.children]})}let i=s.forwardRef(InputSelectComponent)},3195:function(e,r,n){"use strict";n.d(r,{g:function(){return a}});var t=n(5893),s=n(7294),i=n(6336);function InputTextareComponent(e,r){return(0,t.jsx)("textarea",{...e,ref:r,className:(0,i.tw)("rounded-md border bg-gray-50 border-gray-200 px-4 py-3 w-full",e.className)})}let a=s.forwardRef(InputTextareComponent)},2784:function(e,r,n){"use strict";n.d(r,{_:function(){return Label}});var t=n(5893);n(7294);var s=n(6336);function Label(e){return(0,t.jsx)("div",{className:(0,s.tw)("font-bold uppercase mb-2",e.className),children:e.children})}},3885:function(e,r,n){"use strict";n.r(r),n.d(r,{default:function(){return Submit}});var t=n(5893),s=n(385),i=n(1163),a=n(7536),l=n(6501),u=n(9883),c=n(1064),o=n(6923),d=n(175),m=n(3195),p=n(2784),h=n(5104),f=n(3023);function Submit(){let e=(0,a.cI)({defaultValues:{type:void 0,firstName:"",lastName:"",description:""}}),r=(0,i.useRouter)();async function onSubmit(e){await h.u.user.submitInquiry.mutate(e),l.ZP.success("Submitted!"),r.back()}return(0,f.a)({levels:[s.Level.Consumer,s.Level.Partner,s.Level.PartnerManager,s.Level.Admin]}),(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)(c.W,{className:"pt-24",children:[(0,t.jsx)("h1",{children:"Open an Inquiry"}),(0,t.jsx)("hr",{}),(0,t.jsx)("div",{className:"grid grid-cols-12 gap-12 sm:block",children:(0,t.jsx)("div",{className:"col-span-8 sm:mb-12",children:(0,t.jsxs)("form",{method:"post",encType:"multipart/form-data",onSubmit:e.handleSubmit(onSubmit),children:[(0,t.jsxs)("div",{className:"mb-4",children:[(0,t.jsx)(p._,{children:"Lead or Opportunity?"}),(0,t.jsxs)(o.J,{placeholder:"Select Type",...e.register("type",{required:!0}),children:[(0,t.jsx)("option",{value:"lead",children:"Lead"}),(0,t.jsx)("option",{value:"opportunity",children:"Opportunity"})]})]}),(0,t.jsxs)("div",{className:"flex mb-4 gap-4",children:[(0,t.jsxs)("div",{className:"flex-1",children:[(0,t.jsx)(p._,{children:"Customer First Name"}),(0,t.jsx)(d.o,{placeholder:"Customer First Name",...e.register("firstName",{required:!0})})]}),(0,t.jsxs)("div",{className:"flex-1",children:[(0,t.jsx)(p._,{children:"Customer Last Name"}),(0,t.jsx)(d.o,{placeholder:"Customer Last Name",...e.register("lastName",{required:!0})})]})]}),(0,t.jsxs)("div",{className:"mb-4",children:[(0,t.jsx)(p._,{children:"Nature of Inquiry"}),(0,t.jsx)(m.g,{placeholder:"Nature of Inquiry",rows:5,...e.register("description",{required:!0})})]}),(0,t.jsx)("div",{children:(0,t.jsx)(u.z,{type:"submit",children:"Submit"})})]})})})]})})}}},function(e){e.O(0,[774,888,179],function(){return e(e.s=281)}),_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.