1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[755],{3404:function(t,e,n){"use strict";n.d(e,{q:function(){return l}});var r=n(266),o=n(809),i=n.n(o),c=n(7549),u={getActiveModal:function(){var t="".concat("https://www.santafedosul.sp.gov.br/api/").concat("Anexos/Modal","/getActiveModal");return(0,c.Z)(t,{method:"GET"}).then(s)}};function s(t){return a.apply(this,arguments)}function a(){return(a=(0,r.Z)(i().mark((function t(e){return i().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",e.text().then((function(t){return t&&JSON.parse(t)})).catch((function(t){console.log(t)})));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}var l=function(){var t=(0,r.Z)(i().mark((function t(){var e;return i().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=[],t.next=3,f().then((function(t){e=t}));case 3:return t.abrupt("return",e.filter((function(t){return void 0!=t})));case 4:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();function f(){return d.apply(this,arguments)}function d(){return(d=(0,r.Z)(i().mark((function t(){var e;return i().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=[],t.next=3,u.getActiveModal().then((function(t){var n=JSON.stringify(t);JSON.parse(n).map((function(t){var n={description:t.description,name:t.name,id:t.idInterno,image:t.url};e.push(n)}))}));case 3:return t.abrupt("return",e);case 4:case"end":return t.stop()}}),t)})))).apply(this,arguments)}},4093:function(t,e,n){"use strict";var r=n(7294),o=n(3935),i=n(2875),c=n(5893);e.Z=function(t){var e=t.isOpen,n=t.onClickClose,u=t.children,s=(0,r.useState)(!1),a=s[0],l=s[1],f=(0,r.useRef)(null);return(0,r.useEffect)((function(){var t=setTimeout((function(){l(!0)}),2e3);return function(){return clearTimeout(t)}}),[]),(0,r.useEffect)((function(){if(e)return window.addEventListener("click",t),document.addEventListener("keyup",r),function(){window.removeEventListener("click",t),document.removeEventListener("keyup",r)};function t(t){var e;null!==f&&void 0!==f&&null!==(e=f.current)&&void 0!==e&&e.contains(t.target)||n()}function r(t){"Escape"!==t.key&&"Esc"!==t.key||n()}}),[e]),e&&a?(0,o.createPortal)((0,c.jsx)(i.aV,{children:(0,c.jsxs)(i.W2,{ref:f,children:[(0,c.jsx)(i.W4,{children:(0,c.jsx)(i.PZ,{"aria-label":"Fechar Modal",onClick:n})}),(0,c.jsx)(i.VY,{children:u})]})}),document.getElementById("portal-root")):null}},2875:function(t,e,n){"use strict";n.d(e,{aV:function(){return o},W2:function(){return i},W4:function(){return c},PZ:function(){return u},VY:function(){return s},mo:function(){return a},lU:function(){return l}});var r=n(9163),o=r.ZP.div.withConfig({displayName:"styles__Overlay",componentId:"sc-127mrn3-0"})(["position:fixed;top:0;right:0;left:0;bottom:0;display:flex;justify-content:center;align-items:center;z-index:99999;background-color:rgba(0,0,0,0.7);"]),i=r.ZP.div.withConfig({displayName:"styles__Container",componentId:"sc-127mrn3-1"})(["position:relative;max-height:90%;max-width:90%;width:60vw;overflow-y:auto;padding:min(15px,4%);border-radius:16px;background-color:",";box-shadow:1px 1px 6px rgba(0,0,0,0.7);"],(function(t){return t.theme.colors.background.white})),c=r.ZP.div.withConfig({displayName:"styles__ButtonWrapper",componentId:"sc-127mrn3-2"})(["position:sticky;top:0;right:0;height:32px;width:32px;margin-bottom:min(10px,4%);margin-left:auto;z-index:99999;"]),u=r.ZP.button.withConfig({displayName:"styles__CloseButton",componentId:"sc-127mrn3-3"})(["height:inherit;width:inherit;display:flex;justify-content:center;align-items:center;border:2px solid ",";border-radius:50%;outline:none;cursor:pointer;color:",";background-color:",";z-index:99999;&::before,&::after{content:'';width:100%;height:3px;background-color:",";}&::before{transform:rotate(45deg) translate(5px,-5px);}&::after{transform:rotate(-45deg) translate(-5px,-5px);}"],(function(t){return t.theme.colors.text.red100}),(function(t){return t.theme.colors.text.white}),(function(t){return t.theme.colors.background.red100}),(function(t){return t.theme.colors.text.white})),s=r.ZP.div.withConfig({displayName:"styles__Content",componentId:"sc-127mrn3-4"})(["display:flex;flex-direction:column;justify-content:center;align-items:center;"]),a=r.ZP.div.withConfig({displayName:"styles__ImageContainer",componentId:"sc-127mrn3-5"})(["position:relative;width:100%;",";"],(function(t){return t.children?"height: min(50vw, 500px);\n margin-bottom: 4%;":""})),l=r.ZP.div.withConfig({displayName:"styles__TextContainer",componentId:"sc-127mrn3-6"})(["display:flex;flex-direction:column;align-items:center;width:70%;color:",";h1{font-size:",";font-weight:",";margin-bottom:4%;}p{font-size:",";font-weight:",";line-height:min(3rem,5vw);}"],(function(t){return t.theme.colors.text.black}),(function(t){return t.theme.fonts.size.font24}),(function(t){return t.theme.fonts.weight.bold700}),(function(t){return t.theme.fonts.size.font16}),(function(t){return t.theme.fonts.weight.medium500}))},3216:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return j}});var r=n(7294),o=n(5675),i=n(2541),c=n(3957),u=n(5414),s=n(1916),a=n(4093),l=n(690),f=n(2875
1),d=n(3404),p=n(2809),h=n(4954),m=n(752),g=n(5074),x=n(5893);function v(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function w(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?v(Object(n),!0).forEach((function(e){(0,p.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var y=function(){var t=(0,r.useState)(null),e=t[0],n=t[1];(0,r.useEffect)((function(){(0,g.H)().then((function(t){return n(t)}))}),[]);var o={name:"TabsTerceiroSetor",tabs:[{name:"terceiroSetor",title:"TERCEIRO SETOR",Content:(0,x.jsx)(h.Z,{documentsList:e,listType:h.R.terceiroSetor})}]};return(0,x.jsx)(x.Fragment,{children:e&&(0,x.jsx)(m.Z,w({},o))})},b="Terceiro Setor";var j=function(){var t=(0,r.useContext)(u.U).setPath,e=[{path:"terceiroSetor",name:b}];t(JSON.stringify(e));var n=(0,r.useState)(!1),p=n[0],h=n[1],m=(0,r.useState)(!1),g=m[0],v=(m[1],(0,r.useState)(null)),w=v[0],j=v[1];return(0,r.useEffect)((function(){g&&localStorage.removeItem("modal_status")}),[g]),(0,r.useEffect)((function(){localStorage.getItem("modal_status")||(h(!0),localStorage.setItem("modal_status",JSON.stringify(1)))}),[]),(0,r.useEffect)((function(){(0,d.q)().then((function(t){h(!0),j(t)}))}),[]),(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(i.Z,{pageTitle:b,children:(0,x.jsx)(s.Z,{children:(0,x.jsxs)(l.tz,{children:[(0,x.jsx)(c.a,{}),(0,x.jsx)(y,{})]})})}),w&&!!w.length&&(0,x.jsxs)(a.Z,{isOpen:p,onClickClose:function(){return h(!1)},children:[w[0].image&&(0,x.jsx)(f.mo,{children:(0,x.jsx)(o.default,{src:w[0].image,layout:"fill",objectFit:"contain"})}),(w[0].name||w[0].description)&&(0,x.jsxs)(f.lU,{children:[w[0].name&&(0,x.jsx)("h1",{children:w[0].name}),w[0].description&&(0,x.jsx)("p",{children:w[0].description})]})]})]})}},4822:function(t,e,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/terceiroSetor",function(){return n(3216)}])}},function(t){t.O(0,[970,445,71,1,109,774,888,179],(function(){return e=4822,t(t.s=e);var e}));var e=t.O();_N_E=e}]);
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.