PageSourceSearch

https://frtassets.fotocasa.es/_sui/1133.994b20f3.js

js fotocasa.es collected 2026-09-24 09:01:49 UTC 22,188 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[1133],{"4ewo":function(t,e,r){r.d(e,{zU:function(){return Z},Uo:function(){return J},K0:function(){return Q},E_:function(){return B},cm:function(){return W},T:function(){return Y}});var i=r("CAb6"),n=r("M7Z2"),a=r("M5j3"),o=r("oOex"),s=r("nG1z"),c=r("2PCm"),u=r("HnZW"),d=r("qjjM"),l=(0,n.$)("productTypesDictionary").OPPORTUNITY,p=(0,n.$)("contractTypesDictionary"),f=p.QUALITY_SEAL,h=p.MICROSITE,y=((0,u.A)([157421757,158090776]).concat((0,u.A)([158036559,157910114]),(0,u.A)([156851870,156815027,157212774,155879668,158047293,158132476,158083917,156921329])),function(t){function e(e){var r,i=void 0===e?{}:e,n=i.address,a=i.advertiser,o=i.alterDate,s=i.bookings,c=i.combinedLocationId,u=i.contracts,d=i.creationDate,l=i.date,p=i.descriptions,f=i.detail,h=i.energyCertificate,y=i.energyCertificateDownload,v=i.externalContactUrl,I=i.extras,g=i.features,m=i.featuresList,_=i.highlight,E=i.id,b=i.isNew,T=i.isExternalContact,C=i.keyDeliveryDate,A=i.multimedias,R=i.originId,w=i.otherFeatures,D=i.otherFeaturesIds,O=i.periodicityId,P=i.products,L=i.promotionId,x=i.propertyEnergyCertificate,F=i.realEstateAdId,V=i.relatedGeoInfo,j=i.rentalType,M=i.rentReferenceIndex,U=i.showPrice,k=i.subsidies,N=i.subtypeId,S=i.touristOfficeCode,$=i.transactions,H=i.typeId,z=i.underAveragePriceProductValue,G=i.wasId;return(r=t.call(this)||this).address=n,r.advertiser=a,r.alterDate=o,r.bookings=s,r.combinedLocationId=c,r.contracts=u,r.creationDate=d,r.date=l,r.keyDeliveryDate=C,r.descriptions=p,r.detail=f,r.energyCertificate=h,r.energyCertificateDownload=y,r.externalContactUrl=v,r.extras=I,r.features=g,r.featuresList=m,r.highlight=_,r.id=E,r.isNew=b,r.isExternalContact=T,r.multimedias=A,r.originId=R,r.otherFeatures=w,r.otherFeaturesIds=D,r.periodicityId=O,r.products=P,r.promotionId=L,r.propertyEnergyCertificate=x,r.relatedGeoInfo=V,r.rentalDuration=j,r.rentReferenceIndex=M,r.realEstateAdId=F,r.showPrice=U,r.subsidies=k,r.subtypeId=N,r.transactions=$,r.touristOfficeCode=S,r.typeId=H,r.wasId=G,r.underAveragePriceProductValue=z,r}(0,c.A)(e,t);var r=e.prototype;return r._splitMultimedias=function(){var t=[];if(this.multimedias)for(var e=null,r=0;r<this.multimedias.length;r+=1){var i=(e=this.multimedias[r]).type,a=e.url;if((e.isImage()||e.isVideo()||e.isYoutube()||e.isVimeo())&&t.push({src:a,type:i}),e.isTourVirtual()){var o=(this.multimedias.find((function(t){return t.isImage()}))||{}).url,s=void 0===o?(0,n.$)("defaultMultimedia"):o;t.unshift({src:a,type:i,url:s})}}return t},r.hasProduct=function(t){var e=this.products;return!!(e&&e.length&&e.some((function(e){return parseInt(e.id,10)===t})))},r.hasContract=function(t){var e=this.contracts;return!!(e&&e.length&&e.some((function(e){return e.id===t})))},r.hasVirtualTour3D=function(){var t=(0,n.$)("multimediaTypesDictionary").TOUR_VIRTUAL;return this.multimedias.some((function(e){return e.typeId===t}))},r.hasFloorfyVirtualTour=function(){var t=(0,n.$)("multimediaTypesDictionary").TOUR_VIRTUAL;return this.multimedias.some((function(e){return e.typeId===t&&e.url.includes("floorfy")}))},r.hasOpenHouse=function(){return false},r.getTransactionBy=function(t){return this.transactions.find((function(e){return e.transactionTypeId===+t}))||{}},r.getClientName=function(t){return"WAS Particular"===t?"":t},r.getAddress=function(){var t=this.address,e=t.customZone,r=t.location,i=t.zipCode,n=this.combinedLocationId,a=n.city,o=n.cityZone,s=n.country,c=n.county,u=n.district,d=n.neighbourhood,l=n.region1,p=n.region2,f=r.autonomousCommunity,h=r.country,y=r.district,v=r.locality,I=r.municipality,g=r.province,m=r.neighborhood,_=r.region,E=r.upperLevel;return{cityId:a,cityZoneId:o,country:h,countryId:s,countyId:c,customZone:e,district:y,districtId:u,neighborhood:m,neighbourhoodId:d,regionLevel1Id:l,regionLevel2Id:p,zipCode:i,municipality:I,province:g,city:I,cityZone:v,combinedLocationId:this.combinedLocationId.toString(),county:_,regionLevel1:f,regionLevel2:g,upperLevel:E}},r.toRealEstateJSON=function(t){var e,r=void 0===t?{}:t,i=r.culture,o=r.isBareOwnership,s=r.isFaved,c=r.isOccupied,u=r.isTemporaryRental,d=r.transactionTypeId,y=r.userId,v=(0,n.$)("productTypesDictionary"),I=v.PRIORITY_ADVANCE,g=v.PRIORITY_PREMIUM,m=+d,_=this.getTransactionBy(m),E=_.price,b=_.reducedPrice,T=_.periodicityId,C=this.advertiser.getPromotionUrlBy(i),A=this._splitMultimedias();return(0,a.A)({},this.energyCertificate.toJSON(),{accuracy:!!this.address.coordinates.accuracy,address:this.getAddress(),alterDate:this.alterDate,bookings:this.bookings,buildingSubtype:this.subtype,buildingType:this.t
1ype,clientAlias:this.advertiser.alias,clientContactEmail:this.advertiser.contactEmail&&this.advertiser.contactEmail.raw,clientEmail:this.advertiser.email&&this.advertiser.email.raw,clientId:this.advertiser.clientId,clientName:this.getClientName(this.advertiser.name),clientUrl:this.advertiser.url,clientTypeId:this.advertiser.typeId,companyIdWas:this.advertiser.companyIdWas,contactName:this.advertiser.contactName,coordinates:(0,a.A)({},this.address.coordinates),contracts:this.contracts,creationDate:this.creationDate,date:this.date&&this.date.toNaturalDate(),descriptions:this.descriptions,detail:this.detail.urls,energyCertificateDownload:this.energyCertificateDownload,externalContactUrl:this.externalContactUrl||"",extras:this.extras,features:this.features,featuresList:this.featuresList,hasMicrosite:this.hasContract(h),hasOpenHouse:this.hasOpenHouse(),hasQualitySeal:this.hasContract(f),highlight:this.highlight,id:this.id,isBareOwnership:o,isExternalContact:this.isExternalContact,isFaved:s,isNew:this.isNew,isNewConstruction:this.promotionId>0,isOccupied:c,isTemporaryRental:u,isOpportunity:this.hasProduct(l),isPackAdvancePriority:this.hasProduct(I),isPackPremiumPriority:this.hasProduct(g),isPremium:this.hasProduct(179)||this.hasProduct(182)||this.hasProduct(205),isTecnocasaFranchisee:this.hasContract(p.TECNOCASA_FRANCHISEE),isTop:this.isTop,isTrackedPhone:this.advertiser.phone&&this.advertiser.phone.isTracked,isVirtualTour:this.hasVirtualTour3D(),keyDeliveryDate:this.keyDeliveryDate,location:this.address.ubication,multimedia:A,originId:this.originId,otherFeatures:this.otherFeatures,otherFeaturesIds:this.otherFeaturesIds,periodicityId:T,phone:this.advertiser.phone&&this.advertiser.phone.formatted,price:E,promotionId:this.promotionId,promotionLogo:this.advertiser.logo&&this.advertiser.logo.multimedia.url,promotionUrl:C,propertyEnergyCertificate:this.propertyEnergyCertificate,propertyTypeId:this.typeId,realEstateAdId:this.realEstateAdId,reducedPrice:b,reference:this.advertiser.reference,relatedGeoInfo:this.relatedGeoInfo,rentalDuration:this.rentalDuration,rentReferenceIndex:null==(e=this.rentReferenceIndex)?void 0:e.toJSON(),showEnergyCertificate:this.showEnergyCertificate,showPrice:this.showPrice,subsidies:this.subsidies,subtypeId:this.subtypeId,touristOfficeCode:this.touristOfficeCode,transactionTypeId:m,underAveragePriceProductValue:this.underAveragePriceProductValue,userId:y,wasId:this.wasId})},(0,s.A)(e,[{key:"type",get:function(){return(0,n.$)("typeMap")[this.typeId]}},{key:"subtype",get:function(){return(0,n.$)("subtypeMap")[this.subtypeId]}},{key:"showEnergyCertificate",get:function(){var t=-1!==(0,n.$)("propertyTypeEnergyCertificateDictionary").indexOf(this.typeId),e=this.typeId===(0,n.$)("propertyTypesDictionary").PREMISES&&this.subtypeId===(0,n.$)("propertySubtypesDictionary").COMMERCIAL_STORE;return t||e}}]),e}(d.wC)),v=function(t){void 0===t&&(t={});var e=t.address,r=t.advertiser,i=t.combinedLocationId,n=t.contracts,s=t.date,c=t.detail,u=t.energyCertificate,d=t.features,l=t.featuresList,p=t.multimedias,f=t.otherFeatures,h=t.otherFeaturesIds,v=t.products,I=t.propertyEnergyCertificate,g=t.realEstateAdId,m=t.rentReferenceIndexDto,_=t.transactions;return new y((0,a.A)({},t,{advertiser:o.Ay.advertiserEntity(r),address:o.Ay.addressValueObject(e),combinedLocationId:(0,o.w0)(i),contracts:n&&n.map(o.Ay.contractEntity),date:s&&(0,o.zr)(new Date(s)),detail:(0,o.Qb)(c),energyCertificate:D({energyCertificate:u}),extras:O(f),features:P(d).formatted,featuresList:l,multimedias:p&&p.map(o.xQ),otherFeatures:f&&P(f).formatted,otherFeaturesIds:h,products:v&&v.map(o.Ay.productEntity),propertyEnergyCertificate:I,realEstateAdId:g,rentReferenceIndex:m&&F(m),transactions:_&&_.map(o.Ay.transactionValueObject)}))},I=function(t){function e(){return t.apply(this,arguments)}return(0,c.A)(e,t),e}(d.rR),g=function(t){function e(){return t.apply(this,arguments)}return(0,c.A)(e,t),e}(d.rR),m=function(t){function e(e){var r;return void 0===e&&(e=[]),(r=t.call(this)||this).features=e,r}return(0,c.A)(e,t),(0,s.A)(e,[{key:"formatted",get:function(){return this.features.reduce((function(t,e){var r=Object.keys(e)[0];return t[r]=e[r],t}),{})}}]),e}(d.rR),_=function(t){function e(){return t.apply(this,arguments)}return(0,c.A)(e,t),e}(d.rR),E=function(t){function e(){return t.apply(this,arguments)}return(0,c.A)(e,t),e}(d.rR),b=function(t){function e(){return t.apply(this,arguments)}return(0,c.A)(e,t),e}(d.rR),T=function(t){function e(){return t.apply(this,arguments)}return(0,c.A)(e,t),e}(d.rR),C=function(t){function e(e){var r,i=e.realEstates;return(r=t.call(this,{realEstates:i})||this).realEstates=i,r}return(0,c.A)(e,t),(0,s.A)(e,[{key:"locationLiteral",set:function(t){this.locationLiteral=t}}]),e}(d.rR),A=function(t){function e(){return t.apply(this,arguments)}return(0,c.A)(e,t),e}(d.rR),R=function(t){var e=t.realEstates;return new C({realEstates:e.map(v)})},w=function(t){return new b(t)},D=function(t){return new I(t)},O=function(t){return new g(t)},P=function(t){return new m(t)},L=function(t){return new _(t)},x=function(t){return new T(t)},F=function(t){return new A(t)},V=function(t){return new E(t)},j=function(t){var e=t.config,r=t.openHouseValueObjectFactory,i=this;this.map=function(t){var e=t.floorfyId,r=t.online,n=t.userId,a=void 0===n?null:n,o=a?"&userid="+a:"",s=r?i._config("floorfyHost")+"/tour/"+e+"?checklive=true"+o:"";return i._openHouseValueObjectFactory({isOnline:r,url:s})},this._config=e,this._openHouseValueObjectFactory=r},M=function(){function t(){}return t.prototype.map=function(t){var e=t.extras;return Object.values(e).filter((function(t){return 1!==t}))||[]},t}(),U=function(){function t(t){var e=t.config;this._featuresValuesLiteralsDictionary=e("featuresValuesLiteralsDictionary")}var e=t.prototype;return e._isBoolean=function(t){var e=t.value;return"boolean"==typeof e||0===e||1===e},e._getParsedValue=function(t){var e=t.label,r=t.value,i=e.toUpperCase(),n=this._featuresValuesLiteralsDictionary[i];return n?n[r]:this._isBoolean({value:r})?this._featuresValuesLiteralsDictionary.ANY[r]:r},e.map=function(t){void 0===t&&(t=[]);var e=this;return t?t.map((function(t){t.id;var r=t.label,i=t.value,n=r.toUpperCase();return{label:r,literal:"FEATURES."+n,value:e._getParsedValue({label:r,value:i})}})):[]},t}(),k=function(){function t(t){var e=t.config,r=t.mapperToRealEstateEntity,i=t.realEstateResponseToRealEstateValueObjectMapper;this._config=e,this._mapperToRealEstateEntity=r,this._realEstateResponseToRealEstateValueObjectMapper=i,this._clientType=this._config("clientTypes").PROFESSIONAL}var e=t.prototype;return e.setParams=function(t){var e=t.culture,r=t.projectId,i=t.transactionTypeId,n=t.unitId;return this._culture=e,this._projectId=r,this._transactionTypeId=i,this._unitId=n,this},e._getUnit=function(t){var e=t.properties,r=this;return e.find((function(t){var e=t.propertyId;return Number(e)===Number(r._unitId)}))},e._getDetailUrls=function(t){var e=t.location;return t.unit?{de:"/de/kaufen/wohnimmobilie/neubau/"+e+"/"+this._projectId+"/"+this._unitId,en:"/en/buy/home/new-home/"+e+"/"+this._projectId+"/"+this._unitId,es:"/es/comprar/vivienda/obra-nueva/"+e+"/"+this._projectId+"/"+this._unitId,c
1a:"/ca/comprar/habitatges/obra-nova/"+e+"/"+this._projectId+"/"+this._unitId}:{de:"/de/kaufen/neubau/"+e+"/"+this._projectId,en:"/en/buy/new-home/"+e+"/"+this._projectId,es:"/es/comprar/obra-nueva/"+e+"/"+this._projectId,ca:"/ca/comprar/obra-nova/"+e+"/"+this._projectId}},e._getDate=function(t){return(t.properties.find((function(t){return t.creationDate}))||{}).creationDate},e._getAdvertiserLogo=function(t){var e,r=t.multimedia,i=t.url;return{multimedia:r,url:(e={},e[this._culture]=i,e)}},e._getAdvertiser=function(t){var e=t.alias,r=t.agencyReference,i=t.clientId,n=t.phone,a=t.clientWasId,o=t.contactName,s=t.logo,c=t.promoterName;return{logo:this._getAdvertiserLogo(s),alias:e||c,clientId:i,companyIdWas:a,contactEmail:null,contactName:o||c,email:null,isTrackedPhone:!0,name:c,phone:n,reference:r,typeId:this._clientType,url:null,urlAlias:c}},e._getAddress=function(t){var e=t.ubication,r=t.location,i=t.coordinates,n=r.zipCode;return{ubication:e,location:r,coordinates:(0,a.A)({accuracy:0},i),zipCode:n,customZone:null}},e._getDefaultTransaction=function(t,e){void 0===t&&(t=[]);return t.map((function(t){return t.transactions})).flat().filter((function(t){return(null==t?void 0:t.transactionTypeId)===e})).sort((function(t,e){return(null==t?void 0:t.price)>(null==e?void 0:e.price)?1:-1}))[0]},e._getUnitTransaction=function(t,e){var r;return null==t||null==(r=t.transactions)?void 0:r.find((function(t){return(null==t?void 0:t.transactionTypeId)===e}))},e.map=function(t){var e,r,i,n=t.address,o=t.ads,s=t.advertiser,c=t.contracts,d=t.descriptions,l=t.energyCertificate,p=t.energyCertificateId,f=t.hrefLang,h=t.id,y=t.keyDeliveryDate,v=t.maxPrice,I=t.minPrice,g=t.multimedias,m=this._getUnit({properties:o}),_=this._getDate({properties:o}),E=f.location,b=this._config("conservationStatusDictionary").NEW_HOME,T=m?this._getUnitTransaction(m,this._transactionTypeId):this._getDefaultTransaction(o,this._transactionTypeId),C=null==m?void 0:m.agencyReference,A=m?null==T?void 0:T.price:(null==T?void 0:T.price)||I||v,R=(null==m?void 0:m.id.toString().includes("_"))?parseInt(null==m?void 0:m.id.toString().split("_")[1]):null==m?void 0:m.id,w=(0,u.A)(null!=(r=null==m?void 0:m.multimedia)?r:[]).concat((0,u.A)(null!=g?g:[])),D=Array.from(new Map(w.map((function(t){return[null==t?void 0:t.url,t]}))).values()),O={contracts:c,creationDate:null==m?void 0:m.creationDate,externalContactUrl:null,id:R||0,isExternalContact:!1,isInvalid:!1,isNew:!1,promotionId:Number(h),keyDeliveryDate:y,subtypeId:null==m?void 0:m.subtypeId,typeId:(null==m?void 0:m.typeId)||(null==(e=o[0])?void 0:e.typeId)||2,advertiser:this._getAdvertiser((0,a.A)({},s,{agencyReference:C})),detail:this._getDetailUrls({location:E,unit:m}),multimedias:D,descriptions:(i={},i[this._culture]=(null==m?void 0:m.description)||d[this._culture],i),features:[{antiquity:null},{bathrooms:null==m?void 0:m.bathrooms},{conservationState:b},{energyCertificate:p},{floor:null==m?void 0:m.floorId},{heating:null==m?void 0:m.heatingId},{hotWater:null},{orientation:null==m?void 0:m.orientationId},{rooms:null==m?void 0:m.rooms},{surface:null==m?void 0:m.surface},{surfaceLand:null==m?void 0:m.groundSurface}],featuresList:[],otherFeatures:[],transactions:[{periodicityId:null==T?void 0:T.paymentPeriodicityId,reduced:null==T?void 0:T.reduced,showPrice:!0,transactionTypeId:null==T?void 0:T.transactionTypeId,value:[A]}],address:this._getAddress(n),highlight:!1,products:null,date:_,propertyEnergyCertificate:(0,a.A)({alterdate:_,creationDate:_,propertyId:0,statusId:0},l),alterDate:null,bookings:[],energyCertificate:null==p?void 0:p.toString(),energyCertificateDownload:"",hrefLang:f,originId:0,realEstateAdId:null,rentReferenceIndexDto:null,touristOfficeCode:null,underAveragePriceProductValue:"",wasId:this._clientType},P=this._realEstateResponseToRealEstateValueObjectMapper.setCulture({culture:this._culture}).setTransactionTypeId({transactionTypeId:this._transactionTypeId}).map(O);return this._mapperToRealEstateEntity.setParams({pathName:"/",transactionTypeId:this._transactionTypeId}).map(P).realEstate[0]},t}(),N=function(){function t(t){var e=t.paginationUrlsValueObjectFactory;this._paginationUrlsValueObjectFactory=e}var e=t.prototype;return e.setVisitingRealEstateId=function(t){var e=t.visitingRealEstateId;return this._visitingRealEstateId=e,this},e.map=function(t){var e=t.searchedRealEstates,r=void 0===e?[]:e,i=this;if(!r)return[];var n=r.findIndex((function(t){return"string"==typeof t&&t.includes(i._visitingRealEstateId)})),a=r[n-1],o=r[n+1];return this._paginationUrlsValueObjectFactory({prev:a,next:o})},t}(),S=function(t){function e(){return t.apply(this,arguments)}(0,c.A)(e,t);var r=e.prototype;return r.setPeriodicity=function(t){var e=(void 0===t?{}
1:t).periodicityId;return this._periodicityId=e,this},r.map=function(t){var e=t.realEstates,r=this._periodicityId;return this.modifyDetailUrl({realEstates:e,key:"Periodicity",value:r})},e}(function(){function t(){}return t.prototype.modifyDetailUrl=function(t){var e=t.realEstates,r=t.key,i=t.value;return i?e.map((function(t){var e=(0,a.A)({},t.detail.rawUrls);return Object.keys(e).map((function(t){var n=e[t],a=n.includes("?")?"&":"?",o=r+"="+i;n.includes(o)||(e[t]=""+n+a+o)})),t.detail.rawUrls=e,t})):e},t}()),$=function(t){var e=t.config,r=t.realEstatePositionValueObjectFactory,i=this;this.map=function(t){return i._realEstatePositionValueObjectFactory({position:t})},this._config=e,this._realEstatePositionValueObjectFactory=r},H=/\/pro\//,z=function(){function t(t){var e=t.config,r=t.fromAdvertiserToAdvertiserUrlMapper,i=t.fromFeatureListResponseToFeaureListExtended,n=t.propertyEnergyCertificateValueObjectFactory,a=t.realEstatesValueObjectFactory;this._config=e,this._fromAdvertiserToAdvertiserUrlMapper=r,this._propertyEnergyCertificateValueObjectFactory=n,this._realEstatesValueObjectFactory=a,this._fromFeatureListResponseToFeaureListExtended=i}var e=t.prototype;return e.setCulture=function(t){var e=t.culture;return this._culture=e,this},e.setTransactionTypeId=function(t){var e=t.transactionTypeId;return this._transactionTypeId=+e,this},e._extractCombinedLocationId=function(t){var e=t.location;return Object.keys(e).map((function(t){return!!t.includes("Id")&&e[t]})).filter((function(t){return"number"==typeof t})).join(",")},e._extractEnergyCertificateValue=function(t){var e=t.features.find((function(t){return void 0!==t.energyCertificate})),r=void 0!==e?e.energyCertificate:0;return this._config("energyCertificate")[r]},e._extractPropertyEnergyCertificate=function(t){var e=t.realEstateResponse.propertyEnergyCertificate;if(void 0===e)return null;var r=e.energyEfficiencyRatingTypeId,i=e.environmentImpactRatingTypeId,n=this._config("energyCertificate");return(0,a.A)({},e,{energyEfficiencyRatingType:n[r],environmentImpactRatingType:n[i]})},e._extractShowPrice=function(t){var e=t.transactions,r=this,i=(e.f
1ind((function(t){return t.transactionTypeId===r._transactionTypeId}))||{}).showPrice;return void 0!==i&&i},e._showEnergyCertificate=function(t){var e=t.typeId,r=t.subtypeId,i=-1!==this._config("propertyTypeEnergyCertificateDictionary").indexOf(e),n=e===this._config("propertyTypesDictionary").PREMISES&&r===this._config("propertySubtypesDictionary").COMMERCIAL_STORE;return i||n},e._extractRelatedGeoInfo=function(t){return{locationSlug:t.location,zoneSlug:t.zone}},e.map=function(t){var e,r,i=t.address,n=t.advertiser,o=t.features,s=t.featuresList,c=t.hrefLang,d=t.otherFeatures,l=void 0===d?[]:d,p=t.subsidies,f=void 0===p?[]:p,h=t.subtypeId,y=t.typeId,v=t.transactions,I=void 0===v?[]:v,g=i.location,m=this._extractCombinedLocationId({location:g}),_=this._extractEnergyCertificateValue({features:o}),E=this._extractPropertyEnergyCertificate({realEstateResponse:t}),b=this._extractShowPrice({transactions:I}),T=(null==l?void 0:l.length)>0&&l.map((function(t){return Number(Object.keys(t)[0])})),C=n.urlAlias,A=n.clientId,R=n.urls,w=null==(e=this._culture)?void 0:e.replace("-","_"),D=null==(r=null==R?void 0:R.find((function(t){return t.language===w})))?void 0:r.value,O=H.test(D),P=O?D:this._fromAdvertiserToAdvertiserUrlMapper.map({advertiserId:A,advertiserName:C,country:g.country,culture:this._culture,transactionTypeId:this._transactionTypeId,propertyTypeId:y}),L=h&&this._config("subtypeMap")[h],x=y&&this._config("typeMap")[y],F=this._showEnergyCertificate({typeId:y,subtypeId:h})?[{id:"energy",label:"energy",value:E},{id:"emissions",label:"emissions",value:E}]:[],V="typology",j=L&&[{id:120,label:V,value:L.toLowerCase()}],M=x&&[{id:120,label:V,value:x.toLowerCase()}],U=(0,u.A)(j||[]).concat((0,u.A)(!j&&M||[]),(0,u.A)(s||[]),(0,u.A)(F)),k=(0,a.A)({},t,{advertiser:(0,a.A)({},n,{url:O||C?P:null}),combinedLocationId:m,energyCertificate:_,featuresList:this._fromFeatureListResponseToFeaureListExtended.map(U),otherFeaturesIds:T,propertyEnergyCertificate:E},void 0!==c&&{relatedGeoInfo:this._extractRelatedGeoInfo(c)},{showPrice:b,subsidies:f});return this._realEstatesValueObjectFactory({realEstates:[k]})},t}(),G=function(){function t(t){var e=t.config,r=t.periodicityMapper,i=t.extrasMapper;this._config=e,this._periodicityMapper=r,this._extrasMapper=i}var e=t.prototype;return e.setParams=function(t){var e=t.pathName,r=t.transactionTypeId;return this._pathName=e,this._transactionTypeId=r,this},e.map=function(t){var e,r=t.realEstates;if(0===r.length)return{};var i=r[0],n=i.transactions,a=i.otherFeatures,o=this._transactionTypeId===this._config("transactionTypesDictionary").VACATIONAL,s=this._periodicityMapper.setPeriodicity({periodicityId:o&&(null==(e=n[0])?void 0:e.periodicityId)}).map({realEstates:r});return void 0!==a&&(s[0].extras=this._extrasMapper.map({extras:a})),{realEstate:s}},t}(),W=function(){return new z({config:n.$,fromAdvertiserToAdvertiserUrlMapper:i.A.fromAdvertiserToAdvertiserUrlMapper(),fromFeatureListResponseToFeaureListExtended:new U({config:n.$}),propertyEnergyCertificateValueObjectFactory:w,realEstatesValueObjectFactory:R})},Z=function(){return new j({config:n.$,openHouseValueObjectFactory:L})},B=function(){return new $({config:n.$,realEstatePositionValueObjectFactory:x})},Y=function(){return new G({config:n.$,extrasMapper:new M,periodicityMapper:new S})},Q=function(){return new N({paginationUrlsValueObjectFactory:V})},J=function(t){var e=t.config;return new k({config:e,mapperToRealEstateEntity:Y(),realEstateResponseToRealEstateValueObjectMapper:W()})}}}]);

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.