{"id":489,"date":"2023-12-19T11:26:50","date_gmt":"2023-12-19T11:26:50","guid":{"rendered":"https:\/\/grupolacosta.com\/?page_id=489"},"modified":"2024-01-02T14:39:09","modified_gmt":"2024-01-02T14:39:09","slug":"favoritos","status":"publish","type":"page","link":"https:\/\/grupolacosta.com\/en\/favoritos","title":{"rendered":"Favourites"},"content":{"rendered":"<div data-elementor-type=\"wp-page\" data-elementor-id=\"489\" class=\"elementor elementor-489\" data-elementor-post-type=\"page\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-ccdc175 elementor-section-content-middle elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"ccdc175\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-aa1ae37\" data-id=\"aa1ae37\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-100d3aa elementor-widget elementor-widget-heading\" data-id=\"100d3aa\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<style>\/*! elementor - v3.23.0 - 25-07-2024 *\/\n.elementor-heading-title{padding:0;margin:0;line-height:1}.elementor-widget-heading .elementor-heading-title[class*=elementor-size-]>a{color:inherit;font-size:inherit;line-height:inherit}.elementor-widget-heading .elementor-heading-title.elementor-size-small{font-size:15px}.elementor-widget-heading .elementor-heading-title.elementor-size-medium{font-size:19px}.elementor-widget-heading .elementor-heading-title.elementor-size-large{font-size:29px}.elementor-widget-heading .elementor-heading-title.elementor-size-xl{font-size:39px}.elementor-widget-heading .elementor-heading-title.elementor-size-xxl{font-size:59px}<\/style><h2 class=\"elementor-heading-title elementor-size-default\">Favourites<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-c49b183 elementor-section-height-full elementor-section-content-middle elementor-section-boxed elementor-section-height-default elementor-section-items-middle elementor-invisible\" data-id=\"c49b183\" data-element_type=\"section\" id=\"no_hay\" data-settings=\"{&quot;animation&quot;:&quot;bounceInUp&quot;}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-053ca3d\" data-id=\"053ca3d\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-e72bfdf elementor-widget elementor-widget-text-editor\" data-id=\"e72bfdf\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<style>\/*! elementor - v3.23.0 - 25-07-2024 *\/\n.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:#69727d;color:#fff}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap{color:#69727d;border:3px solid;background-color:transparent}.elementor-widget-text-editor:not(.elementor-drop-cap-view-default) .elementor-drop-cap{margin-top:8px}.elementor-widget-text-editor:not(.elementor-drop-cap-view-default) .elementor-drop-cap-letter{width:1em;height:1em}.elementor-widget-text-editor .elementor-drop-cap{float:left;text-align:center;line-height:1;font-size:50px}.elementor-widget-text-editor .elementor-drop-cap-letter{display:inline-block}<\/style>\t\t\t\t<p>At the moment, we are unable to display any favourite properties. <strong><a id=\"recargarEnlace\" href=\"#\">Reload the page<\/a><\/strong> if you have already added any favourites or <strong>browse our website<\/strong> and mark the ones you want to save on this page.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-036da34 receptorventa elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"036da34\" data-element_type=\"section\" id=\"venta\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-1d18295\" data-id=\"1d18295\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-0573d27 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"0573d27\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-inner-column elementor-element elementor-element-48d4ddd\" data-id=\"48d4ddd\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-16a5b1c elementor-widget elementor-widget-heading\" data-id=\"16a5b1c\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h4 class=\"elementor-heading-title elementor-size-default\">Properties for sale<\/h4>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-b1e57e6 elementor-widget elementor-widget-shortcode\" data-id=\"b1e57e6\" data-element_type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"elementor-shortcode\">\n<script>\n    jQuery(document).ready(function() {\n\t\n\tjQuery(\".receptorventa\").each(function() {\n                    if (!jQuery(this).find(\".img_container\").length) {\n                        jQuery(this).hide();\n                    }\n     });\n\tjQuery(\".receptorcorta\").each(function() {\n                    if (!jQuery(this).find(\".img_container\").length) {\n                        jQuery(this).hide();\n                    }\n     });\n\tjQuery(\".receptorlarga\").each(function() {\n                    if (!jQuery(this).find(\".img_container\").length) {\n                        jQuery(this).hide();\n                    }\n     });\t \n\t\t\n        var datosLocalStorage = localStorage.getItem(\"referenciasFavoritas\");\n        var datosObjeto = JSON.parse(datosLocalStorage);\n\n        if (datosObjeto === null || datosObjeto === undefined || datosObjeto.length === 0){\n            \/\/console.log(\"La variable datosObjeto no contiene valores en localStorage.\");\n\t\t} else {\n            var valoresArray = Object.values(datosObjeto);\n            var cadenaValores = valoresArray.join(\",\");\n\n            var url_venta = \"\/wp-content\/themes\/hello-theme-child-master\/pages_parser.php?\" +\n                \"p_agency_filterid=5&filter=5\" +\n                \"&p1=\" +\n                \"&p2=\" +\n                \"&P_PageSize=20\" +\n                \"&P_PageNo=1\" +\n                \"&columnas=3\" +\n                \"&Pages=1\" +\n                \"&P_Lang=1\" +\n                \"&P_RefId=\" + encodeURIComponent(cadenaValores);\n            jQuery(\"#resultados_venta\").load(url_venta, function() {\n                jQuery( \".featured .wpb_column\" ).matchHeight();\n                jQuery( \".featured .wpb_column .iconos\" ).matchHeight();\n                jQuery( \".featured .wpb_column .datos\" ).matchHeight();\n\n                jQuery(\".wpb_column\").each(function() {\n                    if (!jQuery(this).find(\".img_container\").length) {\n                        jQuery(this).hide();\n                    }\n                });\n\t\t\t\tjQuery(\".receptorventa\").each(function() {\n                    if (!jQuery(this).find(\".img_container\").length) {\n                        jQuery(this).hide();\n                    }else{\n\t\t\t\t\t    jQuery(this).show();\n\t\t\t\t\t\tjQuery(\"#no_hay\").hide();\n\t\t\t\t\t}\n                });\n            });\n        }\n    });\n<\/script><\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-90b8918 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"90b8918\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-inner-column elementor-element elementor-element-0183ffb\" data-id=\"0183ffb\" data-element_type=\"column\" id=\"resultados_venta\">\n\t\t\t<div class=\"elementor-widget-wrap\">\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-7fae4db receptorlarga elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"7fae4db\" data-element_type=\"section\" id=\"larga\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-325c879\" data-id=\"325c879\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-701a6e9 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"701a6e9\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-inner-column elementor-element elementor-element-8f6bf58\" data-id=\"8f6bf58\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-cdb4993 elementor-widget elementor-widget-heading\" data-id=\"cdb4993\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h4 class=\"elementor-heading-title elementor-size-default\">Long term rentals<\/h4>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-02873ef elementor-widget elementor-widget-shortcode\" data-id=\"02873ef\" data-element_type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"elementor-shortcode\">\n<script>\n    jQuery(document).ready(function() {\n\t\n\tjQuery(\".receptorventa\").each(function() {\n                    if (!jQuery(this).find(\".img_container\").length) {\n                        jQuery(this).hide();\n                    }\n     });\n\tjQuery(\".receptorcorta\").each(function() {\n                    if (!jQuery(this).find(\".img_container\").length) {\n                        jQuery(this).hide();\n                    }\n     });\n\tjQuery(\".receptorlarga\").each(function() {\n                    if (!jQuery(this).find(\".img_container\").length) {\n                        jQuery(this).hide();\n                    }\n     });\t \n\t\t\n        var datosLocalStorage = localStorage.getItem(\"referenciasFavoritas\");\n        var datosObjeto = JSON.parse(datosLocalStorage);\n\n        if (datosObjeto === null || datosObjeto === undefined || datosObjeto.length === 0){\n            \/\/console.log(\"La variable datosObjeto no contiene valores en localStorage.\");\n\t\t} else {\n            var valoresArray = Object.values(datosObjeto);\n            var cadenaValores = valoresArray.join(\",\");\n\n            var url_venta = \"\/wp-content\/themes\/hello-theme-child-master\/pages_parser.php?\" +\n                \"p_agency_filterid=8&filter=8\" +\n                \"&p1=\" +\n                \"&p2=\" +\n                \"&P_PageSize=20\" +\n                \"&P_PageNo=1\" +\n                \"&columnas=3\" +\n                \"&Pages=1\" +\n                \"&P_Lang=1\" +\n                \"&P_RefId=\" + encodeURIComponent(cadenaValores);\n            jQuery(\"#resultados_larga\").load(url_venta, function() {\n                jQuery( \".featured .wpb_column\" ).matchHeight();\n                jQuery( \".featured .wpb_column .iconos\" ).matchHeight();\n                jQuery( \".featured .wpb_column .datos\" ).matchHeight();\n\n                jQuery(\".wpb_column\").each(function() {\n                    if (!jQuery(this).find(\".img_container\").length) {\n                        jQuery(this).hide();\n                    }\n                });\n\t\t\t\tjQuery(\".receptorlarga\").each(function() {\n                    if (!jQuery(this).find(\".img_container\").length) {\n                        jQuery(this).hide();\n                    }else{\n\t\t\t\t\t    jQuery(this).show();\n\t\t\t\t\t\tjQuery(\"#no_hay\").hide();\n\t\t\t\t\t}\n                });\n            });\n        }\n    });\n<\/script><\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-42d03d1 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"42d03d1\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-inner-column elementor-element elementor-element-c23e6cd\" data-id=\"c23e6cd\" data-element_type=\"column\" id=\"resultados_larga\">\n\t\t\t<div class=\"elementor-widget-wrap\">\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-ac33c69 receptorcorta elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"ac33c69\" data-element_type=\"section\" id=\"corta\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-e221dfe\" data-id=\"e221dfe\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-a4101a3 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"a4101a3\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-inner-column elementor-element elementor-element-bd10a9b\" data-id=\"bd10a9b\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-7790f45 elementor-widget elementor-widget-heading\" data-id=\"7790f45\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h4 class=\"elementor-heading-title elementor-size-default\">Short term rentals<\/h4>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-d3b6507 elementor-widget elementor-widget-shortcode\" data-id=\"d3b6507\" data-element_type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"elementor-shortcode\">\n<script>\n    jQuery(document).ready(function() {\n\t\n\tjQuery(\".receptorventa\").each(function() {\n                    if (!jQuery(this).find(\".img_container\").length) {\n                        jQuery(this).hide();\n                    }\n     });\n\tjQuery(\".receptorcorta\").each(function() {\n                    if (!jQuery(this).find(\".img_container\").length) {\n                        jQuery(this).hide();\n                    }\n     });\n\tjQuery(\".receptorlarga\").each(function() {\n                    if (!jQuery(this).find(\".img_container\").length) {\n                        jQuery(this).hide();\n                    }\n     });\t \n\t\t\n        var datosLocalStorage = localStorage.getItem(\"referenciasFavoritas\");\n        var datosObjeto = JSON.parse(datosLocalStorage);\n\n        if (datosObjeto === null || datosObjeto === undefined || datosObjeto.length === 0){\n            \/\/console.log(\"La variable datosObjeto no contiene valores en localStorage.\");\n\t\t} else {\n            var valoresArray = Object.values(datosObjeto);\n            var cadenaValores = valoresArray.join(\",\");\n\n            var url_venta = \"\/wp-content\/themes\/hello-theme-child-master\/pages_parser.php?\" +\n                \"p_agency_filterid=7&filter=7\" +\n                \"&p1=\" +\n                \"&p2=\" +\n                \"&P_PageSize=20\" +\n                \"&P_PageNo=1\" +\n                \"&columnas=3\" +\n                \"&Pages=1\" +\n                \"&P_Lang=1\" +\n                \"&P_RefId=\" + encodeURIComponent(cadenaValores);\n            jQuery(\"#resultados_corta\").load(url_venta, function() {\n                jQuery( \".featured .wpb_column\" ).matchHeight();\n                jQuery( \".featured .wpb_column .iconos\" ).matchHeight();\n                jQuery( \".featured .wpb_column .datos\" ).matchHeight();\n\n                jQuery(\".wpb_column\").each(function() {\n                    if (!jQuery(this).find(\".img_container\").length) {\n                        jQuery(this).hide();\n                    }\n                });\n\t\t\t\tjQuery(\".receptorcorta\").each(function() {\n                    if (!jQuery(this).find(\".img_container\").length) {\n                        jQuery(this).hide();\n                    }else{\n\t\t\t\t\t    jQuery(this).show();\n\t\t\t\t\t\tjQuery(\"#no_hay\").hide();\n\t\t\t\t\t}\n                });\n            });\n        }\n    });\n<\/script><\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-e84cab3 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"e84cab3\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-inner-column elementor-element elementor-element-1db1e64\" data-id=\"1db1e64\" data-element_type=\"column\" id=\"resultados_corta\">\n\t\t\t<div class=\"elementor-widget-wrap\">\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-20631b2 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"20631b2\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-2f4e1a8\" data-id=\"2f4e1a8\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-df0a88e elementor-widget elementor-widget-shortcode\" data-id=\"df0a88e\" data-element_type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"elementor-shortcode\"><script>\n        jQuery(document).ready(function() {\n            \/\/ Cargar las referencias favoritas desde localStorage\n            var referenciasFavoritas = obtenerReferenciasFavoritas();\n\n            \/\/ Marcar como favoritas las propiedades que ya est\u00e1n en localStorage\n            marcarFavoritas();\n\n            \/\/ Manejar el clic en el \u00edcono de favorito con delegaci\u00f3n de eventos\n            jQuery(document).on(\"click\", \".favorito\", function() {\n                var referencia = jQuery(this).closest(\".img_container\").attr(\"id\");\n\n                \/\/ Toggle (agregar o quitar) la referencia de localStorage\n                toggleReferenciaFavorita(referencia);\n\n                \/\/ Marcar o desmarcar el \u00edcono de favorito\n                jQuery(this).toggleClass(\"favorito-activo\");\n\n                \/\/ Puedes agregar aqu\u00ed l\u00f3gica adicional seg\u00fan tus necesidades\n\t\t\t\tif (document.body.classList.contains(\"favorites-page\")) {\n\t\t\t\tlocation.reload(true);\n\t\t\t\t}\n            });\n\n            function obtenerReferenciasFavoritas() {\n                var referenciasFavoritasJSON = localStorage.getItem(\"referenciasFavoritas\");\n                return referenciasFavoritasJSON ? JSON.parse(referenciasFavoritasJSON) : [];\n            }\n\n            function toggleReferenciaFavorita(referencia) {\n                var referenciasFavoritas = obtenerReferenciasFavoritas();\n                var index = referenciasFavoritas.indexOf(referencia);\n\n                if (index === -1) {\n                    referenciasFavoritas.push(referencia);\n                } else {\n                    referenciasFavoritas.splice(index, 1);\n                }\n\n                localStorage.setItem(\"referenciasFavoritas\", JSON.stringify(referenciasFavoritas));\n            }\n\n            function marcarFavoritas() {\n                var referenciasFavoritas = obtenerReferenciasFavoritas();\n\n                jQuery(\".img_container\").each(function() {\n                    var referencia = jQuery(this).attr(\"id\");\n                    if (referenciasFavoritas.indexOf(referencia) !== -1) {\n                        jQuery(this).find(\".favorito\").addClass(\"favorito-activo\");\n                    }\n                });\n            }\n        });\n    <\/script><\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-7f728ee elementor-widget elementor-widget-html\" data-id=\"7f728ee\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<script>\n\n        var recargarEnlace = document.getElementById(\"recargarEnlace\");\n\n        recargarEnlace.addEventListener(\"click\", function(event) {\n            event.preventDefault();\n            location.reload();\n        });\n    <\/script>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>","protected":false},"excerpt":{"rendered":"<p>Favoritos Ahora mismo no podemos mostrar ninguna propiedad favorita. Recargue la p\u00e1gina si ya ha a\u00f1adido alg\u00fan favorito o navegue por nuestra web y marque las que desee guardar en esta p\u00e1gina. Propiedades en venta Alquileres de larga duraci\u00f3n Alquileres de corta duraci\u00f3n<\/p>","protected":false},"author":3,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-489","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/grupolacosta.com\/en\/wp-json\/wp\/v2\/pages\/489","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/grupolacosta.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/grupolacosta.com\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/grupolacosta.com\/en\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/grupolacosta.com\/en\/wp-json\/wp\/v2\/comments?post=489"}],"version-history":[{"count":118,"href":"https:\/\/grupolacosta.com\/en\/wp-json\/wp\/v2\/pages\/489\/revisions"}],"predecessor-version":[{"id":1948,"href":"https:\/\/grupolacosta.com\/en\/wp-json\/wp\/v2\/pages\/489\/revisions\/1948"}],"wp:attachment":[{"href":"https:\/\/grupolacosta.com\/en\/wp-json\/wp\/v2\/media?parent=489"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}