1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="39a9ad45-9c7e-4d98-a087-47350fd0bcae",e._sentryDebugIdIdentifier="sentry-dbid-39a9ad45-9c7e-4d98-a087-47350fd0bcae")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3818,7212],{13644:e=>{e.exports={container:"styles_container__ZSqCY utils_centralize__b12HG",loading:"styles_loading__8OL2S",text:"styles_text__Axtih"}},13818:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>e_});var a=l(19962),s=l(65394),n=l(3530),o=l(23670),i=l(63631),r=l(35990),c=l(7719),d=l(56240),_=l(54409),u=l.n(_),h=l(21893),m=l.n(h);let y=(0,s.memo)(function(e){return(0,a.jsx)("div",{...e,children:(0,a.jsx)(m(),{alt:"Icon",width:17.5,height:17.5,quality:100,objectFit:"cover",src:"/public-web/assets/icons/searchIcon.svg"})})});var M=l(43215),A=l(21052),p=l.n(A);let b=(0,s.memo)(function(e){let{setTerm:t,placeholder:l,className:n,clearInput:o,searchInputRef:i,...r}=e,{isDesktop:c}=(0,M.A)(),[d,_]=(0,s.useState)("");(0,s.useEffect)(()=>{(!o||d)&&t(d)},[d,t,o]),(0,s.useEffect)(()=>{i.current&&c&&i.current.focus()},[i,c]),(0,s.useEffect)(()=>{o&&_("")},[o]);let h=(0,s.useCallback)(()=>{var e;null==(e=i.current)||e.blur()},[i]);return(0,s.useEffect)(()=>{let e=i.current;if(e)return e.addEventListener("search",h),()=>{e.removeEventListener("search",h)}},[i,h]),(0,a.jsxs)("div",{className:p().wrapper,"aria-label":"Campo de busca de empreendimentos",children:[(0,a.jsx)(y,{className:p().icon,"aria-hidden":!0}),(0,a.jsx)("input",{ref:i,type:"search",value:d,placeholder:l,className:u()(p().input,n),onChange:e=>_(e.target.value),id:"search-input",name:"search-input","data-lpignore":"true","data-testid":"search-input",...r})]})});var L=l(79973);let C=(0,s.memo)(function(){return(0,a.jsx)(L.default,{src:"/public-web/assets/icons/Road.svg",alt:"Rua",width:20,height:20})});var x=l(57212),S=l(34245),D=l(36189),v=l(93353),E=l(56204),O=l(45965),N=l(42814),I=l(32196),f=l(79052),g=l(17161),T=l(47735),j=l(93752),w=l(68428),P=l(59862),R=l.n(P);let G=(0,s.memo)(function(e){let{text:t,description:l,icon:s,term:n,isRegion:o=!1}=e,i=(0,w.Hb)(t,n,o),{width:r}=(0,M.A)(),c=(0,w.$e)(i,r),{primaryLabel:d,secondaryLabel:_,thirdLabel:h}=(0,w.ts)(i,r);return(0,a.jsxs)("article",{className:u()(R().container,{[R().containerDescription]:!!l}),children:[(0,a.jsx)("i",{className:R().containerIcon,"aria-hidden":"true",children:s}),(0,a.jsx)("header",{className:R().containerInfos,children:(0,a.jsx)("h2",{className:R().name,children:c?(0,a.jsxs)("div",{className:R().wrapperEllipsis,"data-testid":"wrapper-ellipsis",children:[(0,a.jsx)("span",{children:(0,j.Ay)(d)}),(0,a.jsxs)("div",{className:R().ellipsis,children:[(0,a.jsx)("span",{children:(0,j.Ay)(_)}),(0,a.jsx)("span",{children:(0,j.Ay)(h)})]})]}):(0,a.jsxs)("span",{"data-testid":"text-without-ellipsis",children:[(0,j.Ay)(i),(0,a.jsx)("p",{className:R().description,children:l})]})})})]})});var k=l(17588),F=l.n(k);let z=(0,s.memo)(function(e){let{developmentText:t,onClick:l,icon:s,index:n,title:o,description:i,term:r,isRegion:c=!1}=e;return(0,a.jsxs)("section",{className:F().container,"data-testid":"address-list",children:[0===n&&(0,a.jsx)("h2",{className:F().title,children:o}),(0,a.jsx)("button",{type:"button",className:F().button,onClick:l,"aria-label":t,children:(0,a.jsx)(G,{text:t,description:i,icon:s,term:r,isRegion:c})})]})});var H=l(43685),Y=l.n(H),Z=l(26635),B=l.n(Z);let U=(0,s.memo)(function(e){let{siteUrl:t,icon:l,name:s,index:n,title:o,term:i,setClearInput:r}=e;return(0,a.jsxs)("div",{className:B().container,"data-testid":"development-list",children:[0===n&&(0,a.jsx)("h2",{className:B().title,children:o}),t&&s&&(0,a.jsx)(Y(),{href:t,className:B().link,title:s,target:"_blank","aria-label":"Link para ".concat(s),onClick:()=>r(!0),children:(0,a.jsx)(G,{text:s,icon:l,term:i})})]})});var W=l(56329),q=l(52457),J=l(21523),K=l.n(J);let V=(0,s.memo)(function(e){let{filteredLabels:t,handleDeleteFilter:l,setFilteredLabels:n,hasResearch:o,setHasResearch:i,regions:r,regi
1onIdsByLabel:c}=e,[d,_]=(0,s.useState)(!1),[h,m]=(0,s.useState)(!1),[y,M]=(0,s.useState)(!1),A=(null==t||t.length,2);(0,s.useEffect)(()=>{t.length<=2&&(_(!1),M(!1))},[t]);let p=d&&!o?t:null==t?void 0:t.slice(0,A),b=(0,s.useMemo)(()=>d&&!o?"Ver menos":"Ver mais (+".concat(t.length-2,")"),[t.length,d,o]),L=t.length>2&&(0,a.jsx)("button",{type:"button",className:K().button,onClick:e=>{var t;"Ver menos"===(null==e||null==(t=e.currentTarget)?void 0:t.textContent)?(i(!0),_(!1),M(!0),m(!1)):(i(!1),_(!0),m(!0),M(!1))},"aria-expanded":d,"aria-label":b,children:b});return(0,a.jsxs)("section",{className:K().container,"data-testid":"search-address-and-developments",children:[(0,a.jsxs)("header",{className:K().selectionHeader,children:[(0,a.jsx)("span",{className:K().selectionTitle,children:"Selecionados"}),(0,a.jsx)("button",{type:"button",className:K().clearSelectionButton,onClick:()=>n([]),"aria-label":"Limpar tudo",children:"Limpar tudo"})]}),(0,a.jsxs)("ul",{className:u()(K().selectionContainer,{[K().selectionContainerExpanded]:h,[K().selectionContainerCollapsed]:y}),"data-testid":"selection-container",children:[null==t?void 0:t.map((e,t)=>{let s=(0,q.yP)(e,r,c),n=(0,w.f1)(e,s);return(0,a.jsx)("li",{children:(0,a.jsxs)("button",{type:"button",className:u()(K().button,{[K().visible]:null==p?void 0:p.includes(e),[K().hidden]:!(null==p?void 0:p.includes(e))}),onClick:e=>l(e,t),"aria-label":"Remover filtro ".concat(e),children:[(0,a.jsx)("div",{children:(0,a.jsx)(W.lKK,{size:24})}),n&&(0,a.jsxs)("div",{className:K().containerStreet,"data-region":s,children:[(0,a.jsx)("span",{children:n.primaryLabel}),(null==n?void 0:n.secondaryLabel)&&(0,a.jsx)("span",{className:K().secondaryLabel,"data-testid":"secondary-label",children:n.secondaryLabel})]})]},e)},e)}),L]})]})}),Q={src:"/_next/static/media/map-icon-with-pin.3a42c47c.svg",height:32,width:32,blurWidth:0,blurHeight:0};var X=l(33293),$=l.n(X);let ee=(0,s.memo)(function(e){let{filteredLabels:t}=e;return(0,a.jsxs)("section",{className:u()($().container,{[$().containerWithLabel]:0!==t.length}),"aria-label":"Se\xe7\xe3o de dica de busca","data-testid":"search-hint",children:[(0,a.jsx)("figure",{className:$().containerImage,children:(0,a.jsx)(L.default,{src:Q,alt:"\xcdcone de localiza\xe7\xe3o",className:$().image,width:32,height:32})}),(0,a.jsxs)("h3",{className:$().title,children:["Voc\xea pode buscar por ",(0,a.jsx)("strong",{children:"regi\xe3o"}),", ",(0,a.jsx)("strong",{children:"cidade"}),",",(0,a.jsx)("strong",{children:" bairro"}),", ",(0,a.jsx)("strong",{children:"rua"})," ou"," ",(0,a.jsx)("strong",{children:"condom\xednio"}),"."]})]})});var et=l(1916),el=l(13644),ea=l.n(el);let es=(0,s.memo)(function(){return(0,a.jsxs)("div",{className:ea().container,"data-testid":"search-loading",children:[(0,a.jsx)(et.A,{className:ea().loading}),(0,a.jsx)("p",{className:ea().text,children:"Procurando..."})]})});var en=l(42342),eo=l(79739),ei=l.n(eo);let er=function(e){let{term:t}=e;return(0,a.jsx)("main",{className:ei().container,children:(0,a.jsxs)("div",{className:ei().wrapper,children:[(0,a.jsx)("div",{className:ei().containerImage,children:(0,a.jsx)(en.Jru,{size:36})}),(0,a.jsx)("h3",{className:ei().title,children:"Nenhum resultado encontrado"}),(0,a.jsxs)("p",{className:ei().subtitle,children:["N\xe3o encontramos nenhuma regi\xe3o, cidade, bairro, rua ou condom\xednio com o termo"," ",(0,a.jsx)("span",{className:ei().term,children:'"'.concat(t,'"')}),". Verifique sua busca e tente novamente."]})]})})};var ec=l(72753),ed=l.n(ec);let e_=(0,s.memo)(function(e){let{modal:t}=e,l=(0,i.d4)(g.L),_=(0,i.d4)(T.w),u=(0,i.wA)(),h=(0,r.usePathname)(),{localization:m}=(0,s.useContext)(D.xt),[y,M]=(0,s.useState)(!0),[A,p]=(0,s.useState)("go"),[L,j]=(0,s.useState)(!1),{filters:P}=(0,s.useContext)(S.th),R=(0,s.useMemo)(()=>(0,c.LV)(P,"locations"),[P]),G=(0,s.useCallback)(()=>
1(0,w.yF)(m,R),[m,R]),[k,F]=(0,s.useState)([]);(0,s.useEffect)(()=>{(null==m?void 0:m.city)&&F(G())},[G,m]);let[H,Y]=(0,s.useState)(""),[Z,B]=(0,s.useState)([]),[W,J]=(0,s.useState)([]),[K,Q]=(0,s.useState)(!1),[X,$]=(0,s.useState)(m),et=(0,v.A)(H,1e3),el=(0,w.cW)(k,l),ea=(0,w.fB)(el),en=(0,q.IS)({regions:_,labels:k}),eo=(0,q.BA)(en),{city:ei,state:ec}=(0,w.BX)(ea,X),e_=(0,s.useMemo)(()=>{var e;return{...P,locations:(null==P?void 0:P.locations)===void 0?[]:null==P||null==(e=P.locations)?void 0:e.filter(e=>!(null==e?void 0:e.address_city))}},[P]),eu=(0,s.useCallback)(()=>{let e=(0,q.Xh)({filteredLabels:k,developments:Z,filters:P,citiesList:l,localization:X,pathname:h,streetArray:W,regions:_});return e.shouldClearSearch?(B([]),Y(""),Q(!0),""):e.url},[k,Z,P,l,X,h,W,_]),eh=()=>k&&(null==k?void 0:k.length)>0?eu():(0,q.aQ)({filteredLabels:k,filtersWithoutCity:e_,city:ei,state:ec,citiesList:l}),[em,ey]=(0,s.useState)(eh()),[eM,eA]=(0,s.useState)(!1),[ep,eb]=(0,s.useState)(""),[eL,eC]=(0,s.useState)(!1),[ex,eS]=(0,s.useState)(!0),[eD,ev]=(0,s.useState)(!1),eE=(0,w.KO)(H),eO=(0,w.U)(Z,eE),eN=(0,w.Sb)(ea),eI=(0,q.HL)({cityIds:eN,cityIdsByRegion:eo});(0,s.useEffect)(()=>{eA(!1);let e=JSON.stringify({term:eE,locations:eI,get_cities:!0,get_regions:!0}),t=async()=>{try{let t=await fetch("/api/imobles-web/rocket/location-search-modal",{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:e,cache:"force-cache",next:{revalidate:900}}),l=await t.json();eS(!0),eC(!1),B(l)}catch(t){(0,O.A)({level:"error",tags:["modal","LocationSearchModal"],params:{message:"An error occurred in the request to obtain city locations",error:t instanceof Error?t:Error(String(t))},context:{payload:e}})}};(null==H?void 0:H.length)>=3&&eC(!0),(null==H?void 0:H.length)>=3&&et&&(eA(!0),ev(!0),eS(!0),M(!1),t()),(null==H?void 0:H.length)<=2&&(eC(!1),B([])),Q(!1)},[et]),(0,s.useEffect)(()=>{ey(eh()),(null==k?void 0:k.length)===0&&ev(!1)},[k,W]),(0,s.useEffect)(()=>{var e,l,a;if(!(null==t?void 0:t.visible)){$(m),eb("");return}(null==m?void 0:m.city)&&(F(G()),ey("/apartamentos-venda-".concat(null==m||null==(e=m.city)?void 0:e.cityAlias,"-").concat(null==m||null==(a=m.state)||null==(l=a.stateAbbreviation)?void 0:l.toLowerCase())))},[null==t?void 0:t.visible,m,G]),(0,s.useEffect)(()=>{var e;p(null==m||null==(e=m.state)?void 0:e.stateAbbreviation),""!==ep&&($(null==l?void 0:l.find(e=>{var t;return(null==e||null==(t=e.city)?void 0:t.cityAlias)===ep})),ey("/apartamentos-venda-".concat(ep,"-").concat(A)),(null==ei?void 0:ei.toLowerCase())!==(null==ep?void 0:ep.toLowerCase())&&F([]))},[ep]);let ef=(0,s.useCallback)(e=>{(null==k?void 0:k.includes(e))||F([...k,e]),Q(!0)},[k]),eg=(0,s.useCallback)((e,t)=>{M(!1);let l=null==k?void 0:k.filter((e,l)=>l!==t);J(null==W?void 0:W.filter(e=>e!==k[t])),F(l)},[k,W]),eT=(0,w.xU)(eO,k),ej=(0,w.tr)(eT,eE),ew=(0,w.Ok)(ej,"city"),eP=(0,w.Ok)(ej,"region"),eR=(0,w.Ok)(ej,"development"),eG=(0,w.Ok)(ej,"street"),ek=(0,w.Ok)(ej,"neighborhood"),eF=(0,w.uy)(ew,l),ez=(0,w.Uz)(ew,eP,eG,eR,ek)&&(null==eO?void 0:eO.length)===0,eH=(0,s.useMemo)(()=>(0,I.U4)(h,em),[h,em]),eY=(0,s.useCallback)(()=>{j(!0),requestAnimationFrame(()=>{if(eH)return t.hide();u((0,f.wE)()),t.hide(),j(!1)})},[u,t,eH]),eZ=eH?"":em,eB=eM&&ez&&(null==H?void 0:H.length)!==0&&!eL,eU=y||0===k.length,eW=!eD||H.length<3,eq=eP&&eP.length>0,eJ=eF&&eF.length>0,eK=ek&&ek.length>0,eV=eG&&eG.length>0,eQ=eR&&eR.length>0;(0,E.A)(t);let eX=(0,s.useRef)(null),e$=(0,s.useRef)(null),e0=(0,s.useRef)(null),[e1,e3]=(0,s.useState)(null),e2=(0,s.useCallback)(e=>{let t=e.touches[0];e3({x:t.clientX,y:t.clientY})},[e3]),e9=(0,s.useCallback)(e=>{if(!e1)return;let t=e.touches[0],l=t.clientX-e1.x,a=t.clientY-e1.y;if(Math.abs(l)>10||Math.abs(a)>10){let e=e0.current;e&&e===document.activeElement&&e.blur(),e3(null)}},[e3,e1]);return(null==t?void 0:t.visible)?(0,a.jsx)(x.default,{modal:t,windowTitle:"Adicionar localiza\xe7\xf5es",theme:"modalLocation",onTouchStart:e2,onTouchMove:e9,ref:eX,children:(0,a.jsxs)("main",{className:ed().container,children:[(0,a.jsxs)("div",{className:ed().contentArea,children:[(0,a.jsx)(b,{placeholder:"Digite um local",setTerm:Y,clearInput:K,searchInputRef:e0}),(0,a.jsx)("div",{className:ed().wrapperScroll,children:(0,a.jsxs)("section",{className:ed().section,children:[(null==k?void 0:k.length)!==0&&(0,a.jsx)(V,{filteredLabels:k,handleDeleteFilter:eg,setFilteredLabels:F,hasResearch:ex,setHasResearch:eS,regions:_}),eU&&eW&&(0,a.jsx)(ee,{filteredLabels:k}),eL?(0,a.jsx)(es,{}):!ez&&(0,a.jsx)("div",{className:ed().content,children:(0,a.jsx)("div",{children:(0,a.jsxs)("section",{className:ed().developmentsAndneighborhoodContainer,children:[eq&&(0,a.jsx)("ul",{children:null==eP?void 0:eP.map((e,t)=>{var l,s,n;let i=null!=(n=null==e||null==(l=e.region_details)?void 0:l.description)?n:null==e||null==(s=e.region_details)?void 0:s.region_name;return(0,a.jsx)("li",{children:(0,a.jsx)(z,{developmentText:(0,w.tJ)(e),onClick:()=>{ef((0,w.tJ)(e))},icon:(0,a.jsx)(o.Cud,{size:"20",className:ed().colorIcon}),title:"Regi\xf5es",description:i,term:eE,index:t,isRegion:!0})},"".concat(null==e?void 0:e.text,"_").concat(t+1))})}),eJ&&(0,a.jsx)("ul",{children:null==eF?void 0:eF.map((e,t)=>(0,a.jsx)("li",{children:(0,a.jsx)(z,{developmentText:(0,w.tJ)(e),onClick:()=>{ef((0,w.tJ)(e))},icon:(0,a.jsx)(o.Cud,{size:"20",className:ed().colorIcon}),index:t,title:"Cidades",term:eE})},"".concat(null==e?void 0:e.text,"_").concat(t+1)))}),eK&&(0,a.jsx)("ul",{children:null==ek?void 0:ek.map((e,t)=>(0,a.jsx)("li",{children:(0,a.jsx)(z,{developmentText:(0,N.W_)((0,w.tJ)(e)),onClick:()=>{ef((0,w.tJ)(e))},icon:(0,a.jsx)(o.Cud,{size:"20",className:ed().colorIcon}),index:t,title:"Bairros",term:eE})},"".concat(null==e?void 0:e.text,"_").concat(t+1)))}),eV&&(0,a.jsx)("ul",{children:null==eG?void 0:eG.map((e,t)=>(0,a.jsx)("li",{children:(0,a.jsx)(z,{developmentText:(0,N.W_)((0,w.tJ)(e)),onClick:()=>{var t;J([...W,t=(0,w.tJ)(e)]),ef(t)},icon:(0,a.jsx)(C,{}),index:t,title:"Rua",term:eE})},"".concat(null==e?void 0:e.text,"_").concat(t+1)))}),eQ&&(0,a.jsx)("ul",{children:null==eR?void 0:eR.map((e,t)=>{var l,s;return(0,a.jsx)("li",{children:(0,a.jsx)(U,{siteUrl:null==e||null==(l=e.development_details)?void 0:l.site_url,
1icon:(0,a.jsx)(n.HaR,{size:"20",className:ed().colorIcon}),name:null==e||null==(s=e.development_details)?void 0:s.name,index:t,title:"Empreendimentos",term:eE,setClearInput:Q})},"".concat(null==e?void 0:e.text,"_").concat(t+1))})})]})})}),eB&&(0,a.jsx)(er,{term:H})]})})]}),(0,a.jsx)("div",{className:ed().buttonArea,children:(0,a.jsx)("footer",{className:ed().footer,ref:e$,children:0===k.length?(0,a.jsx)(d.A,{className:ed().buttonDisabled,classNameParagraph:ed().classNameParagraphDisabled,text:"Escolha uma localiza\xe7\xe3o"}):(0,a.jsx)(d.A,{className:ed().button,classNameParagraph:ed().classNameParagraph,text:L?"":"Ver empreendimentos",to:eZ,prefetch:!0,handleSubmit:eY,hasIconLoading:L,spinnerClassname:ed().spinner})})})]})}):null})},17588:e=>{e.exports={container:"styles_container__TiGC1 utils_container__tJmzB",button:"styles_button__9lmL0",title:"styles_title__H_Gqc"}},21052:e=>{e.exports={wrapper:"styles_wrapper__pnLxk",input:"styles_input__8WWrV",icon:"styles_icon__ycece"}},21523:e=>{e.exports={selectionContainer:"styles_selectionContainer__AC_Hu",selectionContainerExpanded:"styles_selectionContainerExpanded__lbtuP",expanded:"styles_expanded__cGlKE",selectionContainerCollapsed:"styles_selectionContainerCollapsed__XXqxm",collapsed:"styles_collapsed__gG2ZC",containerStreet:"styles_containerStreet__6Txqb",button:"styles_button__iC2Sj",hidden:"styles_hidden__XCQOG",visible:"styles_visible__10HZ7",text:"styles_text__xA4GL",selectionHeader:"styles_selectionHeader__LOY39",selectionTitle:"styles_selectionTitle__zGhMP",clearSelectionButton:"styles_clearSelectionButton__Hiz1U"}},26635:e=>{e.exports={container:"styles_container___ULzd",link:"styles_link___fNQC",title:"styles_title__TpZ69"}},33293:e=>{e.exports={container:"styles_container__NuFEh utils_centralize__b12HG",containerImage:"styles_containerImage__aQlTQ",containerWithLabel:"styles_containerWithLabel__NBdwi",image:"styles_image__8swSq",title:"styles_title__YNd9f"}},39766:e=>{e.exports={buttonHide:"styles_buttonHide__fFMQ5",iconCloseDesktopGalleryModal:"styles_iconCloseDesktopGalleryModal__jk9Fb",iconClosePersonalizedAnalysis:"styles_iconClosePersonalizedAnalysis__LY1Is",spinner:"styles_spinner__ecVnb"}},57212:(e,t,l)=>{"use strict";l.r(t),l.d(t,{THEME:()=>L,default:()=>C});var a=l(19962),s=l(65394),n=l(15975),o=l(54409),i=l.n(o),r=l(16979),c=l(36189),d=l(1361),_=l(99446),u=l(63634),h=l(44699),m=l(39766),y=l.n(m);let M=(0,s.memo)(function(e){let{modal:t,theme:l,noPlanSelectionMode:n,handleSubmitted:o,onClose:r,setIsModalOpen:c,setStep:d}
1=e,[m,M]=(0,s.useState)(!1),A=(0,s.useCallback)(()=>{d&&n&&d(1),d&&d(0)},[n,d]),p=(0,s.useCallback)(()=>{m||(M(!0),requestAnimationFrame(()=>{c(!1),t.hide(),A(),r&&r(),M(!1)}))},[A,t,r,c,m]),b=(0,s.useCallback)(()=>{c(!1),t.hide(),A(),o&&o(),r&&r()},[c,t,A,o,r]);return o?(0,a.jsx)(u.$,{"data-testid":"button-with-handle",onClick:b,"aria-label":"Fechar modal",className:y().buttonHide,children:(0,a.jsx)(_.dCQ,{size:24,className:i()(y().iconClose,{[y().iconCloseDesktopGalleryModal]:l===L.MODAL_GALLERY_DESKTOP})})}):m?(0,a.jsx)(h.A,{size:20,color:"#6c7179",className:y().spinner}):(0,a.jsx)(u.$,{"data-testid":"button-without-handle",onClick:p,className:y().buttonHide,"aria-label":"Fechar modal",children:(0,a.jsx)(_.dCQ,{size:24,"data-testid":"iconClose",className:i()(y().iconClose,{[y().iconCloseDesktopGalleryModal]:l===L.MODAL_GALLERY_DESKTOP,[y().iconClosePersonalizedAnalysis]:l===L.MODAL_PERSONALIZED_ANALYSIS||l===L.MODAL_PERSONALIZED_ANALYSIS_SUCCESS})})})});var A=l(60779),p=l.n(A);let b=(0,n.default)(()=>Promise.all([l.e(7611),l.e(5673),l.e(4406),l.e(5071),l.e(7487),l.e(3423),l.e(8836),l.e(3965),l.e(7760),l.e(7486),l.e(6988),l.e(3955),l.e(9186),l.e(3153),l.e(7071),l.e(2174),l.e(4465),l.e(7270),l.e(4023)]).then(l.bind(l,37281)),{loadableGenerated:{webpack:()=>[37281]},ssr:!1}),L={MODAL_FILTER:"modalFilter",MODAL_LOCATION:"modalLocation",MODAL_PLANT_ZOOM_IMAGE:"modalPlantZoomImage",MODAL_DETAILS:"modalDetails",MODAL_GALLERY_MOBILE:"modalGalleryMobile",MODAL_GALLERY_DESKTOP:"modalGalleryDesktop",MODAL_CHARACTERISTICS:"modalCharacteristics",MODAL_CHARACTERISTICS_MOBILE:"modalCharacteristicsMobile",MODAL_MOBILE_GALLERY:"modalMobileGallery",MODAL_DEVELOPMENT_MAP:"modalDevelopmentMap",MODAL_FIND_APARTMENT_FOR_ME:"modalFindApartamentForMe",MODAL_PRE_LAUNCH_STAGE:"modalPreLaunchStage",MODAL_PERSONALIZED_ANALYSIS:"modalPersonalizedAnalysis",MODAL_PERSONALIZED_ANALYSIS_SUCCESS:"modalPersonalizedAnalysisSuccess",MODAL_CUSTOM_PRE_ANALYSIS:"modalCustomPreAnalysis"},C=(0,s.memo)(function(e){var t;let{icon:l,title:n,setStep:o,windowTitle:_,modal:u,children:h,className:m,handleSubmitted:y,noPlanSelectionMode:A,theme:C,setFilteredGallery:x,desktopGalleryModal:S,medias:D,JSXElementAsHeadline:v,ariaLabel:E,windowTitleClassName:O,finalFocusRef:N,headLineClassName:I,bodyClassName:f,titleClassName:g,onClose:T,dataTestId:j,onTouchStart:w,onTouchMove:P,ref:R,modalRef:G,classNameContent:k,modalAttribute:F,bodyAttribute:z,contentAttribute:H}=e,[Y,Z]=(0,s.useState)(!1),{setIsModalOpen:B}=(0,s.useContext)(c.Vs);return(0,s.useEffect)(()=>((null==u?void 0:u.visible)&&(document.body.style.overflow="hidden"),()=>{document.body.style.overflow="unset"}),[null==u?void 0:u.visible]),(0,d.g)(()=>{B(!1)}),(0,a.jsx)(r.l,{...u,tabIndex:0,"aria-label":null!=(t=null!=E?E:_)?t:"Default Modal",className:i()(p().defaultModalWrapper,m),"data-testid":j||"default-modal",preventBodyScroll:!1,onClick:e=>{var t,l;"object"!=typeof(null==e||null==(t=e.target)?void 0:t.className)&&(null==e||null==(l=e.target)?void 0:l.className.includes(p().defaultModalWrapper))&&(B(!1),null==u||u.hide())},unstable_finalFocusRef:N,hideOnClickOutside:!1,onTouchStart:e=>{w&&w(e)},onTouchMove:e=>{P&&P(e)},ref:R,"data-modal-attribute":F,children:(0,a.jsxs)("div",{"data-testid":"content",ref:G,"data-content-attribute":H,className:i()(p().content,k,{[p().contentFilterModal]:C===L.MODAL_FILTER,[p().contentZoomPlantImage]:C===L.MODAL_PLANT_ZOOM_IMAGE,[p().contentMoreDetailsModal]:C===L.MODAL_DETAILS,[p().contentMobileGalleryModal]:C===L.MODAL_GALLERY_MOBILE,[p().contentDesktopGalleryModal]:C===L.MODAL_GALLERY_DESKTOP,[p().contentModalCharacteristicMobile]:C===L.MODAL_CHARACTERISTICS_MOBILE,[p().contentModalCharacteristic]:C===L.MODAL_CHARACTERISTICS,[p().contentDevelopmentMapModal]:C===L.MODAL_DEVELOPMENT_MAP,[p().contentLocationSearchModal]:C===L.MODAL_LOCATION,[p().contentPersonalizedAnalysis]:C===L.MODAL_PERSONALIZED_ANALYSIS||L.MODAL_PERSONALIZED_ANALYSIS_SUCCESS,[p().customPreAnalysisModalContent]:C===L.MODAL_CUSTOM_PRE_ANALYSIS}),children:[(0,a.jsxs)("div",{"data-testid":"headline",className:i()(p().headline,I,{[p().headlineMoreDetailsModal]:C===L.MODAL_DETAILS,[p().headlineMobileGalleryModal]:C===L.MODAL_GALLERY_MOBILE,[p().headlineDesktopGalleryModal]:C===L.MODAL_GALLERY_DESKTOP&&Y,[p().characteristicsHeadLine]:C===L.MODAL_CHARACTERISTICS_MOBILE,[p().headlineDesktopGalleryModalNoTag]:C===L.MODAL_GALLERY_DESKTOP&&!1===Y,[p().headlineDevelopmentMapModal]:C===L.MODAL_DEVELOPMENT_MAP,[p().headlinePreLaunchStageModal]:C===L.MODAL_PRE_LAUNCH_STAGE,[p().headlinePersonalizedAnalysis]:C===L.MODAL_PERSONALIZED_ANALYSIS||L.MODAL_PERSONALIZED_ANALYSIS_SUCCESS}),children:[S&&D&&x&&(0,a.jsx)(b,{medias:D,setFilteredGallery:x,setHasAtLeastOneTag:Z}),l&&(0,a.jsx)(l,{className:i()(p().icon,{[p().iconMoreDetails]:C===L.MODAL_DETAILS,[p().characteristicsHeadLine]:C===L.MODAL_CHARACTERISTICS,[p().iconFindApartamentForMe]:C===L.MODAL_FIND_APARTMENT_FOR_ME}),"data-testid":"icon"}),v&&v,(0,a.jsx)("h4",{"data-testid":"title",className:i()(p().windowTitle,l&&p().windowTitleWithIcon,O&&O,{[p().windowTitleLocation]:C===L.MODAL_LOCATION,[p().windowTitleZoomPlant]:C===L.MODAL_PLANT_ZOOM_IMAGE,[p().windowTitleMobileGalleryModal]:C===L.MODAL_GALLERY_MOBILE,[p().windowTitleCharacteristics]:C===L.MODAL_CHARACTERISTICS,[p().windowTitleCharacteristicsMobile]:C===L.MODAL_CHARACTERISTICS_MOBILE,[p().windowTitleDetails]:C===L.MODAL_DETAILS,[p().windowTitleFindApartamentForMe]:C===L.MODAL_FIND_APARTMENT_FOR_ME,[p().windowTitlePersonalizedAnalysis]:C===L.MODAL_PERSONALIZED_ANALYSIS||L.MODAL_PERSONALIZED_ANALYSIS_SUCCESS}),children:(0,a.jsx)("span",{"data-testid":"windowTitle",children:"Popup da p\xe1gina de busca"===_?"":_})}),(0,a.jsx)(M,{modal:u,theme:C,noPlanSelectionMode:A,handleSubmitted:y,onClose:T,setIsModalOpen:B,setStep:o})]}),(0,a.jsxs)("div",{"data-testid":"bodyContainer","data-body-attribute":z,className:i()(p().body,f,{[p().bodyFilterModal]:C===L.MODAL_FILTER,[p().bodyLocationSearchModal]:C===L.MODAL_LOCATION,[p().bodyZoomPlantImage]:C===L.MODAL_PLANT_ZOOM_IMAGE,[p().bodyMoreDetailsModal]:C===L.MODAL_DETAILS,[p().bodyMobileGalleryModal]:C===L.MODAL_GALLERY_MOBILE,[p().bodyDesktopGalleryModal]:C===L.MODAL_GALLERY_DESKTOP,[p().bodyCharacteristicsModalMobile]:C===L.MODAL_CHARACTERISTICS_MOBILE,[p().bodyCharacteristicsModal]:C===L.MODAL_CHARACTERISTICS,[p().bodyDevelopmentMapModal]:C===L.MODAL_DEVELOPMENT_MAP,[p().bodyFindApartamentForMe]:C===L.MODAL_FIND_APARTMENT_FOR_ME,[p().bodyPreLaunchStageModal]:C===L.MODAL_PRE_LAUNCH_STAGE,[p().bodyPersonalizedAnalysis]:C===L.MODAL_PERSONALIZED_ANALYSIS||C===L.MODAL_PERSONALIZED_ANALYSIS_SUCCESS}),children:[n&&(0,a.jsx)("h5",{"data-testid":"h5-title",className:i()(p().title,g),children:n}
1),(0,a.jsx)("div",{className:i()(p().form,{[p().imagePlantCentered]:C===L.MODAL_PLANT_ZOOM_IMAGE,[p().formModalCharacteristics]:C===L.MODAL_CHARACTERISTICS_MOBILE}),children:h})]})]})})})},59862:e=>{e.exports={container:"styles_container__yumHm",containerDescription:"styles_containerDescription__G94av",containerIcon:"styles_containerIcon__7_QTM utils_centralize__b12HG",containerInfos:"styles_containerInfos__ZUuAc",name:"styles_name__Xr_VW",wrapperEllipsis:"styles_wrapperEllipsis__YE9ta",ellipsis:"styles_ellipsis__4O9pb",description:"styles_description__flRJg"}},60779:e=>{e.exports={defaultModalWrapper:"styles_defaultModalWrapper__wx49l",content:"styles_content__Wx_5j",contentMobileGalleryModal:"styles_contentMobileGalleryModal__4v4CX",contentDesktopGalleryModal:"styles_contentDesktopGalleryModal__am5HP",contentDevelopmentMapModal:"styles_contentDevelopmentMapModal__3hcfz",headline:"styles_headline__EzVDf",headlinePersonalizedAnalysis:"styles_headlinePersonalizedAnalysis__8heCS",contentPersonalizedAnalysis:"styles_contentPersonalizedAnalysis__vOKcs",customPreAnalysisModalContent:"styles_customPreAnalysisModalContent__gvl5g",contentLocationSearchModal:"styles_contentLocationSearchModal__NL7cf",headlineMoreDetailsModal:"styles_headlineMoreDetailsModal__yesq_",headlineMobileGalleryModal:"styles_headlineMobileGalleryModal__0yek0",headlineDesktopGalleryModal:"styles_headlineDesktopGalleryModal__wj_Bh",headlineDesktopGalleryModalNoTag:"styles_headlineDesktopGalleryModalNoTag__5_AqW",headlineDevelopmentMapModal:"styles_headlineDevelopmentMapModal__K3WcD",headlinePreLaunchStageModal:"styles_headlinePreLaunchStageModal__j716v",characteristicsHeadLine:"styles_characteristicsHeadLine___2db9",icon:"styles_icon__Hao1r",iconMoreDetails:"styles_iconMoreDetails__7rIqg",iconFindApartamentForMe:"styles_iconFindApartamentForMe__oJtqZ",windowTitle:"styles_windowTitle___DUti",windowTitleDetails:"styles_windowTitleDetails__ymSqW",windowTitleWithIcon:"styles_windowTitleWithIcon__S_mMa",windowTitleFindApartamentForMe:"styles_windowTitleFindApartamentForMe__F2Dhn",iconClose:"styles_iconClose___Zl6x",iconCloseGallerySliderModal:"styles_iconCloseGallerySliderModal__cGjGY",body:"styles_body__YH2w_",bodyPersonalizedAnalysis:"styles_bodyPersonalizedAnalysis__KQ4yp",bodyZoomPlantImage:"styles_bodyZoomPlantImage__vUhfC",bodyLocationSearchModal:"styles_bodyLocationSearchModal__euGpG",bodyMoreDetailsModal:"styles_bodyMoreDetailsModal__jchWZ",bodyFilterModal:"styles_bodyFilterModal__3fxVm",bodyDevelopmentMapModal:"styles_bodyDevelopmentMapModal__RufFJ",bodyMobileGalleryModal:"styles_bodyMobileGalleryModal__1Fxzq",bodyDesktopGalleryModal:"styles_bodyDesktopGalleryModal__pylYD",bodyFindApartamentForMe:"styles_bodyFindApartamentForMe__ztcNP",bodyPreLaunchStageModal:"styles_bodyPreLaunchStageModal__I91ti",title:"styles_title__Bm8d_",windowTitleLocation:"styles_windowTitleLocation__w6_LK",windowTitleZoomPlant:"styles_windowTitleZoomPlant__Jdged",windowTitleMobileGalleryModal:"styles_windowTitleMobileGalleryModal__YihQM",form:"styles_form__hXm6D",imagePlantCentered:"styles_imagePlantCentered__IuL8Y",formModalCharacteristics:"styles_formModalCharacteristics__lFd8U",windowTitleCharacteristicsMobile:"styles_windowTitleCharacteristicsMobile__PbQIi",windowTitleCharacteristics:"styles_windowTitleCharacteristics__sv1VW",windowTitlePersonalizedAnalysis:"styles_windowTitlePersonalizedAnalysis__ezRue",bodyCharacteristicsModalMobile:"styles_bodyCharacteristicsModalMobile__N5VhE",bodyCharacteristicsModal:"styles_bodyCharacteristicsModal__3FUX0",contentZoomPlantImage:"styles_contentZoomPlantImage__rfglJ",contentMoreDetailsModal:"styles_contentMoreDetailsModal__DM8Xu",contentModalCharacteristicMobile:"styles_contentModalCharacteristicMobile__esiQt",contentFilterModal:"styles_contentFilterModal__08MrZ",contentModalCharacteristic:"styles_contentModalCharacteristic__ghcir"}},72753:e=>{e.exports={container:"styles_container__jq_2N",containerLabelsLocation:"styles_containerLabelsLocation__PBNx5",containerCity:"styles_containerCity__yWSpb",buttonCity:"styles_buttonCity__2wiKi",contentArea:"styles_contentArea__MMamm",buttonArea:"styles_buttonArea__1R4Q2",content:"styles_content__UBgkx",section:"styles_section___nq1e",wrapper:"styles_wrapper__3yfya",wrapperScroll:"styles_wrapperScroll__iPaOp utils_scrollbar__PJlYT utils_scrollbarTrack__AEAM8 utils_scrollbarThumb__fqpZ4",containerIcon:"styles_containerIcon__czevk",colorIcon:"styles_colorIcon__zUo5b",developmentsAndneighborhoodContainer:"styles_developmentsAndneighborhoodContainer__LEAuz",developmentChosenButton:"styles_developmentChosenButton__GUpbj",containerInfos:"styles_containerInfos__3QEe4",name:"styles_name__2pBDJ",text:"styles_text__K83cv",line:"styles_line__7P_B4",footer:"styles_footer__qWHEq utils_container__tJmzB",button:"styles_button__bYO_F",buttonDisabled:"styles_buttonDisabled__Yj2bv",classNameParagraphDisabled:"styles_classNameParagraphDisabled__cEnOI",classNameParagraph:"styles_classNameParagraph__TCi9f",title:"styles_title__7_GU0",spinner:"styles_spinner__6_nJj",hr:"styles_hr__GCTy4",footerKeyboardOpen:"styles_footerKeyboardOpen__UcuaX"}},79739:e=>{e.exports={container:"styles_container__MlnIT",wrapper:"styles_wrapper__oNoP_",containerImage:"styles_containerImage__pgQG4",title:"styles_title__xq0vG",subtitle:"styles_subt
1itle__iO2Cg",term:"styles_term__zPf3Z"}},93353:(e,t,l)=>{"use strict";l.d(t,{A:()=>s});var a=l(65394);let s=function(e,t){let[l,s]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{let e=setTimeout(()=>{s(!0)},t);return()=>{clearTimeout(e),s(!1)}},[e,t]),l}}}]);
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.