PageSourceSearch

https://frtassets.fotocasa.es/_sui/SearchModalDrawMap.8c18ba7b.js

js fotocasa.es collected 2026-09-24 09:00:46 UTC 1,736 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[56942],{yBRj:function(e,n,r){r.r(n),r.d(n,{default:function(){return C}});var s=r("sViW"),o=r("5ene"),a=r("jg1C"),t=r("ERkP"),c=r("aWzz"),i=r.n(c),l=r("+hKN"),u=r("yaX/"),d=r("+8Zr"),p="re-SearchModalDrawMap",h=function(){},f=(0,t.lazy)((function(){return Promise.all([r.e(83511),r.e(78353)]).then(r.bind(r,"+O7W"))}));function C(e){var n=e.isNewConstruction,r=e.onCloseModal,c=void 0===r?h:r,i=e.onDrawConfirmButtonClick,C=void 0===i?h:i,x=e.openModal,j=e.propertyTypeId,y=e.transactionTypeId,b=(0,l.sn)(),m=(0,l.s9)(),w=m.culture,k=(0,u.fT)(),M=(0,s.A)((function(e){var r,s,a,t;return(0,o.YH)(this,(function(o){switch(o.label){case 0:return r=e.searchArea,[4,b.get("real_estates_search_use_case").execute({isNewConstruction:n,searchArea:r,transactionTypeId:y,propertyTypeId:j,culture:w})];case 1:return s=o.sent(),a=s.count,t=s.containerCombinedLocation,[2,{count:a,containerCombinedLocation:t}]}}))}));return(0,a.jsx)("div",{className:p,children:(0,a.jsx)(d.lG,{open:x,onOpenChange:c,children:(0,a.jsxs)(d.ZJ,{children:[(0,a.jsx)(d.LC,{}),(0,a.jsxs)(d.Cf,{className:"!pb-none",size:k?"fullscreen":"2xl",children:[(0,a.jsx)(d.c7,{children:(0,a.jsx)(d.L3,{className:"text-center",children:m.t("MAP_DRAW")})}),(0,a.jsx)(d.R4,{inset:!0,className:"flex flex-col rounded-b-lg",children:(0,a.jsx)(t.Suspense,{fallback:(0,a.jsx)("div",{}),children:x&&(0,a.jsx)(f,{getSearchResult:M,onDrawConfirmButtonClick:C})})}),(0,a.jsx)(d.De,{"aria-label":m.t("close")})]})]})})})}C.displayName="SearchModalDrawMap",C.propTypes={isNewConstruction:i().bool,onCloseModal:i().func,onDrawConfirmButtonClick:i().func,openModal:i().bool,propertyTypeId:i().string,transactionTypeId:i().string}}}]);

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.