1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9882],{41138:function(r,e,a){"use strict";a.d(e,{Z:function(){return f}});var o=a(85893),t=a(41664),s=a.n(t),l=a(89755),i=a.n(l),n=a(26853);let c=r=>{let{bairro:e,figure:a}=r,{brr_nome:t,brr_cidade:s,brr_estado:l}=e;return(0,o.jsx)("div",{className:"".concat(n.figureStyles," h-100 position-relative rounded mb-2 mb-lg-0"),children:(0,o.jsx)("div",{className:"position-absolute w-100 h-100",children:(0,o.jsx)(i(),{src:a,layout:"fill",objectFit:"cover",alt:"Ilustra\xe7\xe3o de ".concat(t," ").concat(s," - ").concat(l)})})})};var d=a(17921),b=a(83869);let x=r=>{let{bairro:e}=r,{brr_nome:a,brr_cidade:t,brr_estado:s,brr_url_foto_capa:l}=e;return(0,o.jsx)("div",{className:"".concat(b.image," h-100 position-relative rounded mb-2 mb-lg-0"),style:{backgroundImage:"linear-gradient(rgba(10, 20, 32, 0.6) 13.44%, transparent 60%)",overflow:"hidden"},children:(0,o.jsx)(i(),{src:(0,d.Z)(l,"max"),loading:"lazy",alt:"".concat(a," ").concat(t," - ").concat(s),layout:"fill"})})},_=r=>{let{textColor:e,bairro:a}=r,{brr_nome:t,brr_cidade:s,brr_estado:l}=a;return(0,o.jsxs)("h3",{className:"".concat(e," position-absolute pl-3 mt-3"),style:{zIndex:1,lineHeight:.75},children:[(0,o.jsx)("b",{style:{fontSize:"20px",fontWeight:"600",lineHeight:"150%"},children:t}),(0,o.jsx)("br",{}),(0,o.jsxs)("span",{style:{fontSize:"14px",fontWeight:"400",lineHeight:"170%"},children:[s," - ",l]})]})},u=r=>{let{bairro:e,index:a,figure:t}=r,{brr_slug:l,brr_url_foto_capa:i}=e;return(0,o.jsx)("li",{style:{gridArea:"brr".concat(a)},children:(0,o.jsxs)(s(),{target:"_blank",href:"/bairros/".concat(l),passHref:!0,children:[(0,o.jsx)(_,{textColor:i?"text-light":"text-dark",bairro:e}),i?(0,o.jsx)(x,{bairro:e}):(0,o.jsx)(c,{bairro:e,figure:t})]})})};var f=u},39882:function(r,e,a){"use strict";a.r(e),a.d(e,{default:function(){return x}});var o=a(85893),t=a(67294),s=a(8303),l=a(74042),i=[{brr_nome:"Perdizes",brr_cidade:"S\xe3o Paulo",brr_estado:"SP",brr_slug:"perdizes-sao-paulo-sp",brr_url_foto_capa:"/static/bairros/perdizes-sao-paulo-sp.png",id:4,brr_ativo:!0},{brr_nome:"\xc1gua Verde",brr_cidade:"Curitiba",brr_estado:"PR",brr_slug:"agua-verde-curitiba-pr",brr_url_foto_capa:"/static/bairros/agua-verde-curitiba-pr.png",id:14,brr_ativo:!0},{brr_nome:"Gleba Fazenda Palhano",brr_cidade:"Londrina",brr_estado:"PR",brr_slug:"gleba-fazenda-palhano-londrina-pr",brr_url_foto_capa:"/static/bairros/gleba-fazenda-palhano-londrina-pr.png",id:1,brr_ativo:!0}],n=a(41138),c=a(5826),d=a.n(c);let b=()=>{var r;let[e]=(0,s.Z)(),[a]=(0,t.useState)(),[c]=(0,t.useState)([]),b="".concat(i[0].brr_cidade," e outras cidades"),x="".concat(null===(r=c[0])||void 0===r?void 0:r.brr_cidade).concat((null==c?void 0:c.some((r,e,a)=>a.length-1!==e&&r.brr_cidade!==a[e+1].brr_cidade))?" e outras cidades":""),_=(0,l.Z)(3),u=(c.length?c:i).map((r,e)=>(0,o.jsxs)(t.Fragment,{children:[(0,o.jsx)("a",{href:"/bairros/".concat(r.brr_slug),className:"text-primary text-decoration-none",children:r.brr_nome}),0===e?", ":1===e&&" e "]},e.toString()));return(0,o.jsxs)("section",{className:"d-flex flex-column flex-lg-row justify-content-between align-items-start",children:[(0,o.jsxs)("div",{className:"col-lg-4 p-0 d-flex flex-column justify-content-start ",children:[e&&(0,o.jsxs)("h2",{className:"".concat(d().colorOfExploreTextMobile),children:["Explore bairros em ",(0,o.jsx)("br",{}),(0,o.jsxs)("span",{children:[" ",c.length?x:b]})]}),!e&&(0,o.jsxs)("h2",{className:"".concat(d().colorOfExploreText),children:["Explore bairros em ",(0,o.jsx)("br",{})," ",c.length?x:b]}),(0,o.jsxs)("p",{className:e?"".concat(d().colorOfExploreInfoMobile):"".concat(d().colorOfExploreInfo),children:["Explore o melhor dos bairros e saiba como \xe9 morar em ",u,". Descubra mercados, padarias, farm\xe1cias, bares e restaurantes pr\xf3ximos. Aproveite para conferir nossas dicas do que fazer nessas regi\xf5es."]}),!e&&(0,o.jsx)("div",{children:(0,o.jsx)("a",{className:"".concat(d().btnExplore," btn btn-tertiary"),href:a?"/regioes-atendidas/".concat(a):"/regioes-atendidas",children:"Explorar"})})]}),(0,o.jsx)("ul",{className:"col-lg-8 col-xl-7 col-xxl-6 list-unstyled p-0 ".concat(d().images),children:(c.length?c:i).map((r,e)=>(0,o.jsx)(n.Z,{index:e,bairro:r,figure:_[e]},e.toString()))}),e&&(0,o.jsx)("a",{className:"".concat(d().btnExplore," btn btn-tertiary mt-2"),href:a?"/regioes-atendidas/".concat(a):"/regioes-atendidas",children:"Explorar"})]})};var x=(0,t.memo)(b)},74042:function(r,e,a){"use strict";a.d(e,{Z:function(){return s}});let o=r=>{let e=[...r],a=e.length;for(;0!==a;){let r=Math.floor(Math.random()*a);a--,[e[a],e[r]]=[e[r],e[a]]}return e},t=r=>{let e=[...Array(Math.ceil(r/3)).keys()],a=Array.from({length:3},(r,e)=>"/static/figures/bairro".concat(++e,".svg"));return e.map(()=>o(a)).flat().slice(0,r)};var s=t}
1,26853:function(r){r.exports={figureStyles:"styles_figureStyles__23PjH"}},83869:function(r){r.exports={image:"styles_image__i60D_"}},5826:function(r){r.exports={images:"HomeBairros_images__VsfbV",cityTitle:"HomeBairros_cityTitle__5sPuc",colorOfExploreText:"HomeBairros_colorOfExploreText__B7lVS",colorOfExploreTextMobile:"HomeBairros_colorOfExploreTextMobile__cblPo",colorOfExploreInfo:"HomeBairros_colorOfExploreInfo__y8Wqt",colorOfExploreInfoMobile:"HomeBairros_colorOfExploreInfoMobile__wp8lq",btnExplore:"HomeBairros_btnExplore__Np12J"}}}]);
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.