PageSourceSearch

https://deror.vercel.app/_next/static/chunks/pages/cadastre-se-0b4285df3af4b77d.js

js deror.vercel.app collected 2026-10-03 06:41:52 UTC 3,363 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[922],{1958:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/cadastre-se",function(){return t(6291)}])},6291:function(e,n,t){"use strict";t.r(n),t.d(n,{__N_SSG:function(){return f},default:function(){return m}});var a=t(7568),r=t(1799),s=t(9396),i=t(655),l=t(5893),c=t(4226),o=t(1653),u=t(1664),d=t.n(u),h=t(1163),$=t(7294),f=!0;function m(e){var n,t=e.content,u=(0,h.useRouter)(),f=(0,h.useRouter)().isFallback,m=(0,$.useState)({loading:!1}),x=m[0],p=m[1],g=(0,$.useState)({}),v=g[0],j=g[1],_=function(e){j((0,r.Z)({},v,e))},N=(n=(0,a.Z)(function(e){var n,t,a,l,c;return(0,i.__generator)(this,function(i){switch(i.label){case 0:return e.preventDefault(),n={},t={},p((0,s.Z)((0,r.Z)(n,x),(t.loading=!0,t))),[4,fetch("/api/register",((a={}).method="POST",a.headers={Accept:"application/json, text/plain, */*","Content-Type":"application/json"},a.body=JSON.stringify(v),a)).then(function(e){u.push("/login")})];case 1:return i.sent(),l={},c={},p((0,s.Z)((0,r.Z)(l,x),(c.loading=!1,c))),[2,!1]}})}),function(e){return n.apply(this,arguments)});return((0,$.useEffect)(function(){},[]),f)?(0,l.jsx)(l.Fragment,{}):(0,l.jsx)(o.Z,{content:t,children:(0,l.jsx)("section",{className:"container-medium py-14 md:py-20 relative",children:(0,l.jsx)("div",{className:"w-full max-w-[32rem] mx-auto md:pb-16",children:(0,l.jsxs)("div",{className:"py-4 md:py-2 grid gap-8 md:gap-12",children:[(0,l.jsx)("h1",{className:"text-center font-semibold text-2xl md:text-4xl leading-none md:leading-none",children:"Cadastre-se"}),(0,l.jsxs)("form",{onSubmit:function(e){return N(e)},className:"grid gap-5",children:[(0,l.jsxs)("div",{className:"relative",children:[(0,l.jsx)(c.__,{style:"float",children:"Nome"}),(0,l.jsx)(c.II,{onChange:function(e){return _({name:e.target.value})},placeholder:"Amanda Nascimento"})]}),(0,l.jsxs)("div",{className:"relative",children:[(0,l.jsx)(c.__,{style:"float",children:"E-mail"}),(0,l.jsx)(c.II,{onChange:function(e){return _({email:e.target.value})},placeholder:"[email protected]"})]}),(0,l.jsxs)("div",{className:"relative",children:[(0,l.jsx)(c.__,{style:"float",children:"Celular"}),(0,l.jsx)(c.II,{onChange:function(e){return _({phone:e.target.value})},placeholder:"(99) 99999-9999"})]}),(0,l.jsxs)("div",{className:"relative",children:[(0,l.jsx)(c.__,{style:"float",children:"Senha"}),(0,l.jsx)(c.II,{onChange:function(e){return _({password:e.target.value})},placeholder:"**********"})]}),(0,l.jsx)("div",{className:"grid",children:(0,l.jsx)(c.zx,{loading:x.loading,className:"py-4",children:"Cadastrar"})}),(0,l.jsxs)("div",{className:"relative text-center text-sm md:text-lg",children:["J\xe1 possui cadastro?"," ",(0,l.jsx)(d(),{href:"/login",children:(0,l.jsx)("a",{className:"font-semibold text-teal-500 hover:underline",children:"Fazer login"})})]})]})]})})})})}},1163:function(e,n,t){e.exports=t(387)},7568:function(e,n,t){"use strict";function a(e,n,t,a,r,s,i){try{var l=e[s](i),c=l.value}catch(o){t(o);return}l.done?n(c):Promise.resolve(c).then(a,r)}function r(e){return function(){var n=this,t=arguments;return new Promise(function(r,s){var i=e.apply(n,t);function l(e){a(i,r,s,l,c,"next",e)}function c(e){a(i,r,s,l,c,"throw",e)}l(void 0)})}}t.d(n,{Z:function(){return r}})}},function(e){e.O(0,[895,653,774,888,179],function(){return e(e.s=1958)}),_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.