1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7982],{41758:function(e,r,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/servidor",function(){return t(90210)}])},95427:function(e,r,t){"use strict";t.d(r,{Y:function(){return o}});var n=t(85893);t(67294);var i=t(14225);let o=e=>{let{label:r="Button",...t}=e;return(0,n.jsx)(i.z,{...t,children:r})}},73641:function(e,r,t){"use strict";t.d(r,{I:function(){return i}});var n=t(85893);t(67294);let i=e=>{let{children:r,onSubmit:t,ref:i,withArray:o}=e,a=e=>{e.preventDefault();let r=e.currentTarget,n=new FormData(r),i=n.entries(),a=Object.fromEntries(i);o&&(a=Object.keys(a).reduce((e,r)=>{if(r.includes("[")){let[t,n]=r.split("[");return n.replace("]",""),e[t]||(e[t]=[]),e[t].push(a[r]),e}return e[r]=a[r],e},{})),t(a)};return(0,n.jsx)("form",{ref:i,onSubmit:a,style:{width:"100%",height:"100%"},children:r})}},13658:function(e,r,t){"use strict";t.d(r,{H:function(){return o}});var n=t(85893);t(67294);var i=t(89993);let o=e=>{let{...r}=e;return(0,n.jsx)(i.h,{bg:"transparent",_hover:{bg:"transparent"},_active:{bg:"transparent"},p:0,...r})}},28410:function(e,r,t){"use strict";t.d(r,{Q:function(){return d}});var n=t(85893);t(67294);var i=t(38049),o=t(39371),a=t(82140),s=t(33090),c=t(32735),l=t(76627),u=t.n(l);let d=e=>{let{label:r,error:t,labelStyle:l,mask:d,ref:f,suffix:p,block:h,autoComplete:x,...g}=e,m="email"===g.type,v=e=>{var r;e.target.value=e.target.value.replace(/\s/g,""),null===(r=g.onChange)||void 0===r||r.call(g,e)};return(0,n.jsxs)(i.NI,{hidden:g.hidden,children:[r&&(0,n.jsx)(o.l,{pl:2,...l,children:r}),(0,n.jsxs)(a.B,{children:[(0,n.jsx)(s.I,{as:u(),...g,mask:d,ref:f,readOnly:h,autoComplete:x,onChange:m?v:g.onChange}),p&&(0,n.jsx)(c.x,{children:p})]}),t&&(0,n.jsx)(i.Q6,{color:"red.500",pl:2,m:0,children:t})]})}},71417:function(e,r,t){"use strict";t.d(r,{$:function(){return h}});var n=t(85893),i=t(30079),o=t(99978),a=t(7422),s=t(18618),c=t(45161),l=t(93717),u=t(79078),d=t(96854),f=t(71293),p=t(67294);function h(e){var r,t;let{bgColor:h=i.l.baseQuickAccessBg,bulletPointColor:x=i.l.baseQuickAccessBulletPoint,titleColor:g=i.l.baseQuickAccessTitle}=e,{getCache:m,saveCache:v}=(0,o.YT)(),[w]=(0,s.a)("(min-width: 670px)"),[j]=(0,s.a)("(min-width: 1350px)"),b=(0,c.ff)("white","gray.800"),k=(0,c.ff)("rgba(0, 0, 0, 0.40)","white"),y=(0,c.ff)(g,"gray.200"),[C,_]=(0,p.useState)();return(0,p.useEffect)(()=>{let e=async()=>{if(m("quickAccesses")){_(m("quickAccesses"));return}let e=await (0,a.ZM)();v("quickAccesses",null==e?void 0:e.data),_(null==e?void 0:e.data)};e().catch(console.error)},[]),(0,n.jsx)(l.k,{justifyContent:["flex-start","flex-start","flex-start","flex-start","center","center"],overflowX:["auto","auto","auto","auto","auto","hidden"],py:20,width:"100%",backgroundColor:h,children:(0,n.jsx)(l.k,{w:["auto","auto","auto","auto","90%","80%"],justifyContent:["flex-start","flex-start","flex-start","center","center","center"],children:(0,n.jsxs)(u.r,{gridTemplateColumns:"repeat(".concat(null!==(r=null==C?void 0:C.length)&&void 0!==r?r:5,", 1fr)"),w:(null!==(t=null==C?void 0:C.length)&&void 0!==t?t:5)/5*100+"%",columnGap:4,px:["2%","2%","2%","2%","0","0"],children:[!C&&[,,,,,].fill(0).map((e,r)=>(0,n.jsx)(l.k,{h:"100%",w:"100%",borderRadius:"10px",overflow:"hidden",aspectRatio:"1",children:(0,n.jsx)(d.O,{h:"100%",w:"100%"})},r)),!!C&&(null==C?void 0:C.map((e,r)=>(0,n.jsxs)(l.k,{flex:"1",cursor:"pointer",p:"12%",boxShadow:"1px 1px 1px rgba(0, 0, 0, 0.25)",borderRadius:"10px",backgroundColor:b,flexDirection:"column",justifyContent:"space-between",onClick:()=>{window.location.href=e.url},h:"100%",w:"100%",minW:"200px",aspectRatio:"1 / 1",direction:"column",children:[(0,n.jsxs)(l.k,{fontSize:"0.85rem",justifyContent:"space-between",align:"center",mb:"10%",children:[(0,n.jsx)(f.x,{color:k,fontWeight:"bold",children:"Acesso r\xe1pido"}),(0,n.jsx)("span",{style:{width:"14px",height:"14px",borderRadius:10,backgroundColor:x,alignSelf:"center"}})]}),(0,n.jsx)(l.k,{w:"100%",flex:1,align:"center",children:(0,n.jsx)(f.x,{color:k,fontSize:"0.85rem",children:e.description})}),(0,n.jsx)(f.x,{fontWeight:"bold",fontSize:"1rem",textColor:y,children:e.title})]},r)))]})})})}},90210:function(e,r,t){"use strict";t.r(r);var n=t(85893),i=t(95427),o=t(73641),a=t(28410),s=t(43461),c=t(37722),l=t(71417),u=t(39954),d=t(93717),f=t(5460),p=t(22757),h=t(71293),x=t(57747),g=t(27239),m=t
1(17745),v=t(11163),w=t(67294),j=t(62286),b=t.n(j),k=t(63750),y=t(13658),C=t(9008),_=t.n(C),S=t(30079);let E=()=>{let e=(0,v.useRouter)(),[r,t]=(0,w.useState)(!1);return(0,w.useEffect)(()=>{let r=b().get()[u.ff];r&&e.push("/servidor/home")}),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(_(),{children:(0,n.jsx)("title",{children:"Servidor | Prefeitura de Nova Lima"})}),(0,n.jsx)(m.E.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:1},style:{display:"flex",justifyContent:"center",alignItems:"center",width:"100%",marginTop:"40px",overflowX:"hidden"},children:(0,n.jsxs)(d.k,{minH:"100vh",w:"100vw",flexDirection:"column",overflowX:"hidden",children:[(0,n.jsx)(d.k,{justify:"center",align:"center",w:"100%",h:"100%",px:["1%","2%","2%","15%","15%","15%"],onClick:()=>{window.open("https://novalima.sei.mg.gov.br/","_blank")},children:(0,n.jsx)(f.E,{src:"/images/banner-pagina-servidor.png",alt:"Logo Prefeitura de Nova Lima",width:1920,style:{marginBottom:20,marginTop:20,cursor:"pointer"}})}),(0,n.jsx)(d.k,{flex:1,justify:"center",align:"center",w:"100vw",children:(0,n.jsx)(d.k,{bg:S.l.purple,direction:"column",color:"white",minW:"70vw",py:16,justify:"center",align:"center",rounded:"xl",mb:10,children:(0,n.jsxs)(o.I,{onSubmit:async r=>{await (0,u.Ov)(r.user,r.password)==!0&&e.push("/servidor/home")},children:[(0,n.jsx)(p.X,{textAlign:"center",fontSize:"2rem",children:"Acesso ao Portal do Servidor"}),(0,n.jsx)(h.x,{textAlign:"center",fontSize:"0.9rem",px:8,pt:3,children:"Insira o seu n\xfamero da matr\xedcula ou login e senha para acessar o Portal"}),(0,n.jsxs)(d.k,{w:"100%",direction:"column",justify:"center",align:"center",gap:3,pt:6,pb:14,children:[(0,n.jsx)(x.xu,{w:["90%","90%","90%","60%","60%","60%"],children:(0,n.jsx)(a.Q,{placeholder:"Nome do usu\xe1rio no Sistema Abaco (MA\xcdUSCULO) ou Matr\xedcula",bg:"white",color:"black",h:"59px",name:"user"})}),(0,n.jsx)(x.xu,{w:["90%","90%","90%","60%","60%","60%"],children:(0,n.jsx)(a.Q,{type:r?"text":"password",placeholder:"Sua Senha",bg:"white",color:"black",h:"59px",name:"password",suffix:(0,n.jsx)(y.H,{"aria-label":"show password",icon:r?(0,n.jsx)(k.cqT,{style:{marginTop:"1.2rem"}}):(0,n.jsx)(k.rnh,{style:{marginTop:"1.2rem"}}),onClick:()=>t(!r)})})})]}),(0,n.jsx)(g.M,{children:(0,n.jsxs)(d.k,{justify:"space-between",align:"center",w:["90%","90%","90%","60%","60%","60%"],gap:6,direction:["column","column","column","row","row","row"],children:[(0,n.jsxs)(d.k,{flexDirection:"column",children:[(0,n.jsx)(h.x,{style:{cursor:"pointer"},onClick:()=>{window.open("https://service.cidadesinteligentes.org.br/novalima","_blank")},children:"Esqueceu a senha? Entre em contato com o suporte TI, clique aqui"}),(0,n.jsx)(h.x,{onClick:()=>{window.open("https://portaldeservicos.novalima.mg.gov.br/portalservicos/servlet/com.abaco.seclogin","_blank")},style:{cursor:"pointer"},children:"Primeiro acesso? Clique aqui"})]}),(0,n.jsx)(i.Y,{label:"ENTRAR",bg:S.l.orange,_hover:{bg:S.l.lightOrange},color:"white",type:"submit",px:20,py:6})]})})]})})}),(0,n.jsx)(x.xu,{w:"100vw",children:(0,n.jsx)(l.$,{})})]})})]})};E.layout=s.Y,E.pageModule=c.og.Servidor,r.default=E},7422:function(e,r,t){"use strict";t.d(r,{$m:function(){return a},H_:function(){return o},ZM:function(){return i},jL:function(){return c},n8:function(){return s}});var n=t(58467);let i=async e=>{try{let{data:r}=await n.Z.get("public/quick-access",(0,n.d)(e));return r}catch(e){var r;return null===(r=e.response)||void 0===r?void 0:r.data}},o=async e=>{try{let{data:r}=await n.Z.get("/quick-access",(0,n.d)(e));return r}catch(e){var r;return null===(r=e.response)||void 0===r?void 0:r.data}},a=async(e,r)=>{try{let{data:t}=await n.Z.post("/quick-access",e,(0,n.d)(r));return t}catch(e){var t;return null===(t=e.response)||void 0===t?void 0:t.data}},s=async(e,r)=>{try{let{data:t}=await n.Z.put("/quick-access/".concat(e.id),e,(0,n.d)(r));return t}catch(e){var t;return null===(t=e.response)||void 0===t?void 0:t.data}},c=async(e,r)=>{try{await n.Z.delete("/quick-access/".concat(e),(0,n.d)(r))}catch(e){var t;return null===(t=e.response)||void 0===t?void 0:t.data}}},47630:function(e,r,t){"use strict";t.d(r,{d:function(){return o},z:function(){return a}});var n=t(26245),i=t(67294);function o(e){let{loading:r,src:t,srcSet:o,onLoad:a,onError:s,crossOrigin:c,sizes:l,ignoreFallback:u}=e,[d,f]=(0,i.useState)("pending");(0,i.useEffect)(()=>{f(t?"loading":"pending")},[t]);let p=(0,i.useRef)(),h=(0,i.useCallback)(()=>
1{if(!t)return;x();let e=new Image;e.src=t,c&&(e.crossOrigin=c),o&&(e.srcset=o),l&&(e.sizes=l),r&&(e.loading=r),e.onload=e=>{x(),f("loaded"),null==a||a(e)},e.onerror=e=>{x(),f("failed"),null==s||s(e)},p.current=e},[t,c,o,l,a,s,r]),x=()=>{p.current&&(p.current.onload=null,p.current.onerror=null,p.current=null)};return(0,n.G)(()=>{if(!u)return"loading"===d&&h(),()=>{x()}},[d,h,u]),u?"loaded":d}var a=(e,r)=>"loaded"!==e&&"beforeLoadOrError"===r||"failed"===e&&"onError"===r},22757:function(e,r,t){"use strict";t.d(r,{X:function(){return l}});var n=t(16554),i=t(77030),o=t(33179),a=t(65548),s=t(25432),c=t(85893),l=(0,n.G)(function(e,r){let t=(0,i.mq)("Heading",e),{className:n,...l}=(0,o.Lr)(e);return(0,c.jsx)(a.m.h2,{ref:r,className:(0,s.cx)("chakra-heading",e.className),...l,__css:t})});l.displayName="Heading"},79078:function(e,r,t){"use strict";t.d(r,{r:function(){return a}});var n=t(16554),i=t(65548),o=t(85893),a=(0,n.G)(function(e,r){let{templateAreas:t,gap:n,rowGap:a,columnGap:s,column:c,row:l,autoFlow:u,autoRows:d,templateRows:f,autoColumns:p,templateColumns:h,...x}=e;return(0,o.jsx)(i.m.div,{ref:r,__css:{display:"grid",gridTemplateAreas:t,gridGap:n,gridRowGap:a,gridColumnGap:s,gridAutoColumns:p,gridColumn:c,gridRow:l,gridAutoFlow:u,gridAutoRows:d,gridTemplateRows:f,gridTemplateColumns:h},...x})});a.displayName="Grid"},96854:function(e,r,t){"use strict";t.d(r,{O:function(){return m}});var n=t(67294),i=t(25432),o=t(65548),a=t(33179),s=t(70917),c=t(16554),l=t(77030),u=t(7634),d=t(85893),f=(0,o.m)("div",{baseStyle:{boxShadow:"none",backgroundClip:"padding-box",cursor:"default",color:"transparent",pointerEvents:"none",userSelect:"none","&::before, &::after, *":{visibility:"hidden"}}}),p=(0,a.gJ)("skeleton-start-color"),h=(0,a.gJ)("skeleton-end-color"),x=(0,s.keyframes)({from:{opacity:0}
1,to:{opacity:1}}),g=(0,s.keyframes)({from:{borderColor:p.reference,background:p.reference},to:{borderColor:h.reference,background:h.reference}}),m=(0,c.G)((e,r)=>{let t={...e,fadeDuration:"number"==typeof e.fadeDuration?e.fadeDuration:.4,speed:"number"==typeof e.speed?e.speed:.8},s=(0,l.mq)("Skeleton",t),c=function(){let e=(0,n.useRef)(!0);return(0,n.useEffect)(()=>{e.current=!1},[]),e.current}(),{startColor:m="",endColor:v="",isLoaded:w,fadeDuration:j,speed:b,className:k,fitContent:y,...C}=(0,a.Lr)(t),[_,S]=(0,u.dQ)("colors",[m,v]),E=function(e){let r=(0,n.useRef)();return(0,n.useEffect)(()=>{r.current=e},[e]),r.current}(w),A=(0,i.cx)("chakra-skeleton",k),N={..._&&{[p.variable]:_},...S&&{[h.variable]:S}};if(w){let e=c||E?"none":`${x} ${j}s`;return(0,d.jsx)(o.m.div,{ref:r,className:A,__css:{animation:e},...C})}return(0,d.jsx)(f,{ref:r,className:A,...C,__css:{width:y?"fit-content":void 0,...s,...N,_dark:{...s._dark,...N},animation:`${b}s linear infinite alternate ${g}`}})});m.displayName="Skeleton"}},function(e){e.O(0,[9866,1228,2013,2876,3820,4169,6712,8990,6681,476,6415,3461,9774,2888,179],function(){return e(e.s=41758)}),_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.