PageSourceSearch

https://canopus.com.br/_next/static/chunks/app/page-726080b57cb55204.js?dpl=dpl_DpCaapkw7FFiJoSRMDiXdFupHtS8

js canopus.com.br collected 2026-10-06 08:46:50 UTC 8,151 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8974],{783:(e,l,o)=>{"use strict";o.d(l,{default:()=>k});var i=o(3403),t=o(9371),d=o(1043),n=o(1206);function a(e){let{imageUrl:l,imageUrlMobile:o,text:t,btnLabel:d,btnLink:a}=e;return(0,i.jsxs)("section",{className:"w-full flex flex-col md:flex-row",children:[(0,i.jsx)("div",{className:"hidden md:block w-full md:w-1/2 h-[400px] md:h-auto relative",children:l&&(0,i.jsx)(n.default,{src:l,alt:t,fill:!0,className:"object-cover",priority:!0})}),(0,i.jsx)("div",{className:"md:hidden w-full h-[400px] relative",children:o&&(0,i.jsx)(n.default,{src:o,alt:t,fill:!0,className:"object-cover",priority:!0})}),(0,i.jsxs)("div",{className:"w-full md:w-1/2 bg-gradient-to-br from-teal-500 to-teal-400 text-white p-5 md:p-10 lg:pe-50 flex flex-col justify-center relative overflow-hidden items-start",children:[(0,i.jsx)("h2",{className:"text-3xl md:text-5xl font-bold leading-tight text-[#00293d]",children:t}),(0,i.jsxs)("a",{href:null!=a?a:"#",className:"mt-8 inline-block bg-[#00293d] text-white text-sm px-6 py-3 rounded-full hover:bg-opacity-90 border-[#00293d] hover:bg-white hover:text-[#00293d] transition",children:[d," →"]})]})]})}var r=o(5452),s=o(6274),m=o.n(s),u=o(3191),v=o(3183),c=o(8783),x=o(6900);function p(e){var l,o,t,d,a,r,s,p,h,g,b,f,j;let{data:w,labelBotao:N,priority:y=!1}=e;return(0,i.jsxs)("div",{className:"relative w-full h-full max-w-sm rounded-xl overflow-hidden shadow-lg flex flex-col",children:[(0,i.jsx)("div",{className:"relative h-80 w-full rounded-t-xl overflow-hidden flex flex-col justify-end",children:(0,i.jsxs)(m(),{href:w.slug,children:[((null===(l=w.thumbnail)||void 0===l?void 0:l.url)||(null===(t=w.banner)||void 0===t?void 0:null===(o=t.ImagemDesktop[0])||void 0===o?void 0:o.url))&&(0,i.jsx)(n.default,{src:(null===(d=w.thumbnail)||void 0===d?void 0:d.url)||(null===(r=w.banner)||void 0===r?void 0:null===(a=r.ImagemDesktop[0])||void 0===a?void 0:a.url)||"",alt:w.nome,fill:!0,sizes:"(max-width: 640px) 100vw, (max-width: 1024px) 50vw, 33vw",priority:y,objectFit:"cover"}),(0,i.jsx)("div",{className:"w-full text-center mt-6",children:(0,i.jsx)("div",{className:"w-full h-[50px] relative",children:(null===(s=w.Card)||void 0===s?void 0:s.LogoEmpreendimento)&&(0,i.jsx)(n.default,{src:null===(p=w.Card)||void 0===p?void 0:p.LogoEmpreendimento.url,alt:(null===(h=w.Card)||void 0===h?void 0:h.LogoEmpreendimento.alternativeText)||"Logo ".concat(w.nome),fill:!0,style:{objectFit:"contain"},className:"mx-auto"})})}),(0,i.jsx)("div",{className:"absolute top-2 left-0 right-4",children:(0,i.jsx)("div",{className:"w-[200px] h-[40px] relative ms-auto flex justify-end",children:(null===(g=w.Card)||void 0===g?void 0:g.LogoNaImagem)&&(0,i.jsx)(n.default,{src:null===(b=w.Card)||void 0===b?void 0:b.LogoNaImagem.url,alt:(null===(f=w.Card)||void 0===f?void 0:f.LogoNaImagem.alternativeText)||"Logo ".concat(w.nome),fill:!0,objectFit:"contain",objectPosition:"right"})})})]})}),(0,i.jsxs)("div",{className:"flex flex-col justify-between flex-1 gap-5 p-6 z-10 text-gray-700 bg-white",children:[(0,i.jsxs)("div",{className:"text-center",children:[(0,i.jsx)("h3",{className:"text-base mb-4 font-semibold text-canopus-blue",children:(0,i.jsx)(m(),{href:w.slug,children:w.nome})}),w.Mapa&&(0,i.jsx)("p",{className:"text-center mb-3 font-medium",children:w.Mapa.Localizacao.cidade.toUpperCase()+" - "+w.Mapa.Localizacao.bairro.toUpperCase()}),(0,i.jsx)("div",{className:"flex justify-center flex-wrap gap-x-4 gap-y-2 mb-2",children:(null===(j=w.Sobre)||void 0===j?void 0:j.Metricas)&&w.Sobre.Metricas.map((e,l)=>(0,i.jsxs)("div",{className:"flex items-center gap-2",children:[function(e){if(!e)return null;let l=e.toLowerCase();return/m²|m2/.test(l)?(0,i.jsx)(u.A,{}):/suíte|suite|suites|suítes/.test(l)?(0,i.jsx)(c.A,{}):/quarto|quartos|qts\.?|dorm\.?|dorms\.?|dormitório|dormitórios/.test(l)?(0,i.jsx)(v.A,{}):/vaga|vagas|garagem|garage/.test(l)?(0,i.jsx)(x.A,{}):null}(e.Item),e.Item]},l))})]}),(0,i.jsx)("div",{className:"text-center text-sm ",children:(0,i.jsxs)(m(),{href:w.slug,className:"block mt-4 px-14 w-full rounded-full border border-canopus-blue-light-secondary text-white hover:text-canopus-blue-light-secondary py-2 text-center font-semibold text-sm bg-canopus-blue-light-secondary hover:bg-white transition-all duration-300 relative overflow-hidden z-10",children:[null!=N?N:"Visite o stand"," →"]})})]})]})}var h=o(364);let g=e=>{var l,o;let{primeiraListagem:t}=e;
1return null===(l=t.empreendimentos)||void 0===l||l.forEach(e=>{var l,o,i,t,d,n,a,r,s,m,u,v,c,x,p,g,b,f,j;(null===(i=e.empreendimento)||void 0===i?void 0:null===(o=i.Sobre)||void 0===o?void 0:null===(l=o.Logo)||void 0===l?void 0:l.url)&&(e.empreendimento.Sobre.Logo.url=(0,h.A)(null===(p=e.empreendimento.Sobre)||void 0===p?void 0:null===(x=p.Logo)||void 0===x?void 0:x.url)),(null===(d=e.empreendimento)||void 0===d?void 0:null===(t=d.banner)||void 0===t?void 0:t.ImagemDesktop)&&(null===(r=e.empreendimento)||void 0===r?void 0:null===(a=r.banner)||void 0===a?void 0:null===(n=a.ImagemDesktop[0])||void 0===n?void 0:n.url)&&(e.empreendimento.banner.ImagemDesktop[0].url=(0,h.A)(null===(b=e.empreendimento.banner)||void 0===b?void 0:null===(g=b.ImagemDesktop[0])||void 0===g?void 0:g.url)),(null===(m=e.empreendimento)||void 0===m?void 0:null===(s=m.banner)||void 0===s?void 0:s.ImagemMobile)&&(null===(c=e.empreendimento)||void 0===c?void 0:null===(v=c.banner)||void 0===v?void 0:null===(u=v.ImagemMobile[0])||void 0===u?void 0:u.url)&&(e.empreendimento.banner.ImagemMobile[0].url=(0,h.A)(null===(j=e.empreendimento.banner)||void 0===j?void 0:null===(f=j.ImagemMobile[0])||void 0===f?void 0:f.url))}),(0,i.jsxs)("div",{id:"releases",className:"container mx-auto px-5 lg:px-10 pb-20",children:[(0,i.jsxs)("div",{className:"flex items-center justify-center flex-col pt-8",children:[(0,i.jsx)("span",{className:"text-4xl font-semibold text-canopus-blue",children:t.NomeSecao}),(0,i.jsx)("div",{className:"mt-3 mb-2 w-[8%] h-0.25 bg-canopus-blue rounded-full"})]}),(0,i.jsx)("div",{className:"grid grid-cols-1 items-center sm:grid-cols-2 lg:grid-cols-3 gap-6 md:p-6",children:null===(o=t.empreendimentos)||void 0===o?void 0:o.map((e,l)=>{var o,t;return(0,i.jsx)(p,{data:e.empreendimento,labelBotao:null===(t=e.empreendimento)||void 0===t?void 0:null===(o=t.Card)||void 0===o?void 0:o.LabelBotao},l)})})]})};var b=o(7500),f=o(8951),j=o(8414),w=o(3006),N=o(6365),y=o(8239),L=o(1927),A=o(507);let k=e=>{var l,o,n;let{homeData:s,metragemBoundsData:m,instagramPostsData:u}=e,{isPortfolioPage:v}=(0,y.c)(),[c,x]=(0,t.useState)(!1),p=async()=>{x(await (0,L.x)("geral"))};return(0,t.useEffect)(()=>{p()},[]),(0,i.jsxs)("div",{children:[(null==s?void 0:s.slides.length)&&(0,i.jsx)(d.A,{slides:null==s?void 0:s.slides}),(null==s?void 0:s.primeiraListagem)&&(0,i.jsx)(g,{primeiraListagem:null==s?void 0:s.primeiraListagem}),(null==s?void 0:s.segundaListagem)&&(0,i.jsx)(b.A,{segundaListagem:null==s?void 0:s.segundaListagem,minArea:m.min}),(0,i.jsx)("div",{className:"container mx-auto mb-4 px-5 lg:px-10 py-20",id:"hero",children:(0,i.jsx)(a,{imageUrl:null==s?void 0:null===(l=s.hero.imagem)||void 0===l?void 0:l.url,imageUrlMobile:null==s?void 0:null===(o=s.hero.imagemMobile)||void 0===o?void 0:o.url,text:null==s?void 0:s.hero.texto,btnLabel:null==s?void 0:s.hero.textoBotao,btnLink:null==s?void 0:s.hero.linkBotao,backgroundColor:null==s?void 0:s.hero.corFundo})}),!!(null==s?void 0:null===(n=s.Depoimentos)||void 0===n?void 0:n.length)&&(0,i.jsx)(A.A,{depoimentos:null==s?void 0:s.Depoimentos}),(null==s?void 0:s.sobre)&&(0,i.jsx)(r.A,{whoAreWe:null==s?void 0:s.sobre}),(null==s?void 0:s.postsDestaque)&&(0,i.jsx)(f.A,{postsDestaque:null==s?void 0:s.postsDestaque}),(0,i.jsx)(j.A,{postsData:u}),!v&&(0,i.jsx)(w.A,{colorPrimary:"#00A392",colorSecundary:N.A.colors.brandSecondaryMedium,extraColor:N.A.colors.brandPrimary,idProdutoHypnobox:null==s?void 0:s.idProdutoHypnobox,isHome:!0,isInOpeningHours:c})]})}},3774:(e,l,o)=>{Promise.resolve().then(o.bind(o,783))}},e=>{var l=l=>e(e.s=l);e.O(0,[1119,6274,543,1203,7935,3790,3188,6682,8476,5660,6704,6946,6548,7358],()=>l(3774)),_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.