1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[569],{85051:function(e,r,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/contemptoolsunregister",function(){return t(54278)}])},60487:function(e,r,t){"use strict";t.d(r,{$:function(){return v}});var o=t(47568),n=t(29815),s=t(97582),a=t(85893),i=t(47837),c=t(54625),l=t(22338),p=t(93717),d=t(57747),u=t(71293),x=t(49289),h=t(32883),m=t(73804),f=t(22757),b=t(67294),j=t(43010),g=t(61969),w=t(82617),C=t(13497),v=function(){var e=(0,b.useState)([]),r=(e[0],e[1]),t=(new Date).getFullYear(),v=(0,i.q)(),y=(v.isOpen,v.onOpen,v.onClose),S=(0,c.S)({base:!0,md:!1}),_=function(){var e=(0,o.Z)((function(){var e,t,o,a,i;return(0,s.__generator)(this,(function(s){switch(s.label){case 0:return s.trys.push([0,2,,3]),[4,g.api.get("getMenu")];case 1:return e=s.sent().data,t=Array.isArray(e)?e:[],o=[],a=[],t.forEach((function(e,r){var t=Array.isArray(null===e||void 0===e?void 0:e.children)?e.children.length:0;a.push({index:r,count:t})})),a.sort((function(e,r){return e.count-r.count})).forEach((function(e){o.push(t[e.index])})),r((0,n.Z)(o)),[3,3];case 2:return i=s.sent(),console.error("Footer: erro ao carregar getMenu",i),r([]),[3,3];case 3:return[2]}}
1))}));return function(){return e.apply(this,arguments)}}();return(0,b.useEffect)((function(){_()}),[]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(l.W,{maxW:"7xl",p:["40px 20px 31px","40px 20px 31px","40px 20px 31px","40px 20px 31px","100px 10px 31px"],children:[(0,a.jsx)(p.k,{alignItems:"center",justifyContent:"space-between",marginBottom:"32px",flexDirection:["column","column","row","row","row"],children:(0,a.jsxs)(p.k,{w:"100%",justifyContent:"space-between",alignItems:"center",flexDirection:["column","column","row","row","row"],children:[(0,a.jsxs)(d.xu,{children:[(0,a.jsx)(u.x,{fontWeight:"bold",fontSize:"20px",mb:"15px",children:"Procure o produto que deseja aqui"}),(0,a.jsx)(u.x,{fontSize:"16px",mb:"15px",children:"Se ainda n\xe3o encontrou o produto que esteja procurando \xe9 s\xf3 digitar ao lado."})]}),S?(0,a.jsx)(w.X,{containerProps:{left:0,marginBottom:"5px",marginTop:"15px"},onResultClick:function(){y()}}):(0,a.jsx)(j.E,{inputProps:{placeholder:"Procure aqui seu produto..."}})]})}),(0,a.jsx)(x.i,{mb:S?"30px":"100px"}),(0,a.jsxs)(p.k,{direction:["column-reverse","row"],alignItems:["flex-start","center"],justifyContent:"space-between",fontSize:"14px",flexWrap:"wrap",children:[(0,a.jsxs)(u.x,{color:"white",fontSize:"16px",children:["Copyright \xa9 2022 - ",t," Contemp. Todos os direitos reservados, feito por ",(0,a.jsx)(h.r,{href:"https://3hub.co",_hover:{color:"#fff",textDecoration:"none"},children:"3 Hub"}),"."]}),(0,a.jsxs)(m.QI,{color:"white",fontSize:"16px",display:"flex",mb:"20px",flexDirection:["column","row"],styleType:"''",ml:"0",lineHeight:"2.5rem",children:[(0,a.jsx)(h.r,{href:"/manuaisContemp",_hover:{color:"#fff",textDecoration:"none"},children:(0,a.jsx)(m.HC,{children:"Manuais"})}),(0,a.jsx)(h.r,{href:"/calibracao-rbc",_hover:{color:"#fff",textDecoration:"none"},children:(0,a.jsx)(m.HC,{children:"Calibra\xe7\xf5es RBC"})}),(0,a.jsx)(h.r,{href:"/calibracao-rastreada",_hover:{color:"#fff",textDecoration:"none"},children:(0,a.jsx)(m.HC,{children:"Calibra\xe7\xf5es Rastreadas"})}),(0,a.jsx)(h.r,{href:"/calibracao-rastreada",_hover:{color:"#fff",textDecoration:"none"},children:(0,a.jsx)(m.HC,{children:"Calibra\xe7\xf5es Rastreadas"})}),(0,a.jsx)(h.r,{href:"https://contemp.com.br/politica-de-privacidade",_hover:{color:"#fff",textDecoration:"none"},children:(0,a.jsx)(m.HC,{m:[0,"0 0 0 30px"],children:"Politica de Privacidade"})}),(0,a.jsx)(h.r,{href:"/trabalhe-conosco",_hover:{color:"#fff",textDecoration:"none"},children:(0,a.jsx)(m.HC,{m:[0,"0 30px"],children:"Trabalhe Conosco"})}),(0,a.jsx)(h.r,{href:"/site-map",_hover:{color:"#fff",textDecoration:"none"},children:(0,a.jsx)(m.HC,{children:"Mapa do Site"})})]}),(0,a.jsx)(f.X,{as:"h4",children:"Link \xdateis"})]})]}),(0,a.jsx)(C.default,{})]})}},54278:function(e,r,t){"use strict";t.r(r),t.d(r,{default:function(){return D}});var o=t(85893),n=t(54625),s=t(57747),a=t(93717),i=t(22757),c=t(39739),l=t(47568),p=t(26042),d=t(69396),u=t(97582),x=t(16470),h=t(22338),m=t(79078),f=t(68519),b=t(93855),j=t(55723),g=t(67294),w=t(37106),C=t(8193),v=t(87536),y=t(11651),S=t(61969),_=function(e){var r=e.title,t=(e.description,e.ocultAddres,e.form),n=e.id,c=(0,g.useState)(!1),_=c[0],k=c[1],E=(0,g.useState)(""),T=E[0],N=E[1],D=(0,g.useState)(""),z=D[0],P=D[1],H=(0,x.p)(),I=(0,g.useRef)(),R=(0,v.cI)({}),X=R.register,q=R.handleSubmit,A=R.formState.errors,O=(R.reset,function(){var e=(0,l.Z)((function(e){var r,t,o,n;return(0,u.__generator)(this,(function(s){switch(s.label){case 0:r=e["E-mail"],t=e.Password,s.label=1;case 1:return s.trys.push([1,3,4,5]),k(!0),[4,S.api.post("/siginContempTools",{email:r,password:t})];case 2:return o=s.sent(),(n=o.data).status?H({title:"Sucesso",description:"Login realizado com sucesso",status:"success",duration:3e3,isClosable:!0}):H({title:"Erro",description:n.message,status:"error",duration:3e3,isClosable:!0}),[3,5];case 3:return s.sent(),H({title:"Erro",description:"Erro ao realizar login",status:"error",duration:3e3,isClosable:!0}),[3,5];case 4:return k(!1),[7];case 5:return[2]}}
1))}));return function(r){return e.apply(this,arguments)}}()),Z=function(){var e=(0,l.Z)((function(){var e,r;return(0,u.__generator)(this,(function(t){switch(t.label){case 0:if(!T||!z)return[3,6];t.label=1;case 1:return t.trys.push([1,3,4,5]),k(!0),[4,S.api.post("/deleteContempTools",{email:T,password:z})];case 2:return e=t.sent(),(r=e.data).status?H({title:"Sucesso",description:r.message,status:"success",duration:3e3,isClosable:!0}):H({title:"Erro",description:r.message,status:"error",duration:3e3,isClosable:!0}),[3,5];case 3:return t.sent(),H({title:"Erro",description:"Erro ao deletar a conta",status:"error",duration:3e3,isClosable:!0}),[3,5];case 4:return k(!1),[7];case 5:return[3,7];case 6:H({title:"Erro",description:"Email ou senha n\xe3o fornecidos",status:"error",duration:3e3,isClosable:!0}),t.label=7;case 7:return[2]}}))}));return function(){return e.apply(this,arguments)}}();return(0,o.jsx)(s.xu,{w:"100%",bg:"white",pt:"30px",pb:"100px",children:(0,o.jsx)(h.W,{maxW:"6xl",p:["12px 20px","12px 20px","12px 20px","12px 20px","12px 0 31px"],children:(0,o.jsxs)(m.r,{templateColumns:["repeat(1, 1fr)","repeat(1, 1fr)","repeat(1, 1fr)","repeat(1, 1fr)","repeat(1, 1fr)"],w:"100%",gap:"40px",children:[(0,o.jsx)(f.P,{w:"100%",children:(0,o.jsxs)(s.xu,{children:[(0,o.jsx)(i.X,{as:"h2",className:"contato-titulo text-red",mb:"24px",mt:["0%","6%"],children:r}),(0,o.jsx)(i.X,{as:"h2",className:"calibracao-subtitulo text-red negrito",children:"This webpage will help you to unregister and delete all stored data, follow this steps:"}),(0,o.jsx)(i.X,{as:"h3",className:"paragrafo-preto text-black",mt:"25px",lineHeight:"34px",fontSize:"1rem",children:"1. Enter your email and password"}),(0,o.jsx)(i.X,{as:"h3",className:"paragrafo-preto text-black",lineHeight:"34px",fontSize:"1rem",children:"2. Click on button SignIn"}),(0,o.jsx)(i.X,{as:"h3",className:"paragrafo-preto text-black",lineHeight:"34px",fontSize:"1rem",children:"3. Click on button Delete User Account"})]})}),(0,o.jsx)(f.P,{w:"100%",children:(0,o.jsx)(s.xu,{border:"2px solid",borderColor:"black.800",borderRadius:"4px",p:{base:"15px",md:"30px"},width:"100%",height:"100%",children:(0,o.jsx)(s.xu,{children:(0,o.jsxs)(a.k,{direction:{base:"column",md:"row"},alignItems:{base:"stretch",md:"flex-end"},id:n,as:"form",onSubmit:q(O),ref:I,children:[t&&t.length>0&&t.map((function(e,r){return(0,o.jsxs)(g.Fragment,{children:["text"===e.type&&(0,o.jsx)(s.xu,{width:"100%",mb:{base:"10px",md:"0"},mr:{md:"10px"},children:(0,o.jsx)(y.C,(0,d.Z)((0,p.Z)({label:e.name,type:"text",id:"email",error:A[e.name]},X(e.name,{required:"Campo obrigat\xf3rio"})),{onChange:function(e){return N(e.target.value)},mr:{md:"15px"}}))}),"password"===e.type&&(0,o.jsx)(s.xu,{width:"100%",mb:{base:"10px",md:"0"},mr:{md:"10px"},children:(0,o.jsx)(y.C,(0,d.Z)((0,p.Z)({label:e.name,type:"password",id:"password",error:A[e.name]},X(e.name,{required:"Campo obrigat\xf3rio"})),{onChange:function(e){return P(e.target.value)},mr:{md:"15px"}}))})]},r)})),(0,o.jsxs)(a.k,{direction:{base:"column",md:"row"},children:[(0,o.jsxs)(b.z,{id:"signIn",className:"botao-vermelho",w:{base:"100%",md:"179px"},h:"50px",mt:{base:"40px",md:"0px !important"},ml:{base:"0px",md:"15px"},mr:{base:"0px",md:"15px"},borderRadius:"4px",type:"submit",isLoading:_,children:[(0,o.jsx)(j.J,{as:w.Oe$,mr:"10px"}),"SignIn"]}),(0,o.jsxs)(b.z,{id:"deleteUser",onClick:Z,className:"botao-preto",w:{base:"100%",md:"240px"},h:"50px",mt:{base:"40px",md:"0px !important"},borderRadius:"4px",type:"button",isLoading:_,children:[(0,o.jsx)(j.J,{as:C.YK6,mr:"10px"}),"Delete User Account"]})]})]})})})})]})})})},k=t(60487),E=t(9008),T=t.n(E),N=t(49913),D=function(){var e=(0,n.S)({base:!0,md:!1});return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(T(),{children:[(0,o.jsx)("meta",{name:"description",content:"Conte com o suporte t\xe9cnico da Contemp para tirar d\xfavidas sobre os produtos que comercializamos. Acesse!"}),(0,o.jsx)("meta",{name:"keywords",content:"unregister, Contemp, ContempTools"}),(0,o.jsx)("title",{children:"Contemp Tools - Unregister"}),(0,o.jsx)("link",{rel:"icon",href:"/favicon.png"})]}),(0,o.jsx)(c.h,{}),(0,o.jsx)(s.xu,{backgroundColor:"var(--white-primary)",p:"0",children:(0,o.jsx)(s.xu,{backgroundColor:"var(--black-primary)",p:"0",children:(0,o.jsx)(a.k,{w:"100%",alignItems:"center",justifyContent:"center",direction:"column",h:"80px",children:(0,o.jsx)(i.X,{as:"h1",className:"calibracao-titulo text-white centro",children:"Contemp Tools"})})})}),(0,o.jsx)(_,{id:"contemp-tools-unregister",title:"CONTEMP TOOLS UNREGISTER",description:"Se descadastre de forma f\xe1cil do Contemp Tools",form:[{name:"E-mail",type:"text"},{name:"Password",type:"password"}]}),e?(0,o.jsx)(k.$,{}):(0,o.jsx)(N.I,{})]})}}},function(e){e.O(0,[2013,1851,6893,2303,9814,8517,1365,8727,9974,3497,5922,9774,2888,179],(function(){return r=85051,e(e.s=r);var r}));var r=e.O();_N_E=r}]);
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.