
<!DOCTYPE html>
<html>

<head>
    <!-- <script src="https://polyfill.io/v3/polyfill.min.js?features=default"></script> -->
    <script src="https://ajax.googleapis.com/ajax/libs/handlebars/4.7.7/handlebars.min.js"></script>
    <link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
    <style>
        #map-container {
            width: 100%;
            height: 600px;
            position: relative;
            font-family: 'Montserrat', sans-serif !important;
            box-sizing: border-box;
        }

        @media only screen and (max-width: 999px) {
            #map-container {
                height: 1000px;
            }
        }

        #map-container a {
            text-decoration: none;
            color: #1967d2;
        }

        #map-container button {
            background: none;
            color: inherit;
            border: none;
            padding: 0;
            font: inherit;
            font-size: inherit;
            cursor: pointer;
        }

        #gmp-map {
            position: absolute;
            left: 30em;
            top: 0;
            right: 0;
            bottom: 0;
        }

        #locations-panel {
            position: absolute;
            left: 0;
            width: 30em;
            top: 0;
            bottom: 0;
            overflow-y: auto;
            /* background: white; */
            padding: 0.5em;
            box-sizing: border-box;
        }

        #locations-panel::-webkit-scrollbar-thumb {
            background: white;
        }

        #locations-panel::-webkit-scrollbar-track {
            background-color: unset;
        }

        #locations-panel::-webkit-scrollbar {
            width: 8px;
        }

        @media only screen and (max-width: 999px) {
            #gmp-map {
                left: 0;
                bottom: 50%;
            }

            #locations-panel {
                top: 50%;
                right: 0;
                width: unset;
            }
        }

        #locations-panel-list>header {
            padding: 1.4em 1.4em 0 1.4em;
        }

        #locations-panel-list p.search-title {
            font-size: 1em;
            font-weight: 500;
            margin: 0;
        }

        #locations-panel-list p.search-title>img {
            vertical-align: bottom;
            margin-top: -1em;
        }

        #locations-panel-list .search-input {
            width: 100%;
            margin-top: 0.8em;
            position: relative;
        }

        #locations-panel-list .search-input input {
            width: 100%;
            border: 1px solid rgba(0, 0, 0, 0.2);
            border-radius: 0.3em;
            height: 2.2em;
            box-sizing: border-box;
            padding: 0 2.5em 0 1em;
            font-size: 1em;
        }

        #locations-panel-list .search-input-overlay {
            position: absolute;
        }

        #locations-panel-list .search-input-overlay.search {
            right: 20px;
            top: 2px;
            bottom: 2px;
            width: 2.4em;
        }

        #locations-panel-list .search-input-overlay.search button {
            width: 100%;
            height: 100%;
            border-radius: 0.2em;
            color: black;
            background: transparent;
        }

        #locations-panel-list .search-input-overlay.search .icon {
            margin-top: 0.05em;
            vertical-align: top;
        }

        #locations-panel-list .section-name {
            font-weight: 500;
            font-size: 0.9em;
            margin: 1.8em 0 1em 1.5em;
        }

        #locations-panel-list .location-result {
            position: relative;
            padding: 0.8em 3.5em 0.8em 1.4em;
            border-bottom: 1px dotted white;
            cursor: grab;
        }

        #locations-panel-list .location-result:first-of-type {
            border-top: 1px dotted white;
        }

        #locations-panel-list .location-result:last-of-type {
            border-bottom: none;
        }

        #locations-panel-list .location-result.selected {
            outline: 2px solid white;
        }

        #locations-panel-list button.select-location {
            margin-bottom: 0.6em;
            text-align: left;
        }

        #locations-panel-list .location-result h2.name,
        #locations-panel-list .location-result h3.name {
            font-size: 1em;
            font-weight: 500;
            margin: 0;
            color: white;
        }

        #locations-panel-list .location-result .address {
            font-size: 0.9em;
            margin-bottom: 0.5em;
        }

        #locations-panel-list .location-result .address p {
            color: white;
            padding-bottom: 0;
        }

        #locations-panel-list .directions-button {
            position: absolute;
            right: 1.2em;
            top: 2.3em;
            display: flex;
            flex-direction: column;
            align-items: center;
            color: white;
            text-decoration: underline;
        }

        #locations-panel-list .directions-button-background:hover {
            fill: rgba(116, 120, 127, 0.1);
        }

        #locations-panel-list .directions-button-background {
            fill: rgba(255, 255, 255, 0.01);
        }

        #locations-panel-list .location-result .distance {
            position: absolute;
            top: 0.9em;
            right: 1em;
            text-align: center;
            font-size: 0.9em;
            width: 5em;
        }

        #locations-panel-list .option-container {
            display: inline-block;
            margin: 0.2em 0;
            position: relative;
        }

        #locations-panel-list .option-container button:hover,
        #locations-panel-list .option-container a:hover {
            /* background-color: #f1f3f4; */
        }

        #locations-panel-list .option {
            border: 1px solid #bdc1c6;
            border-radius: 0.9em;
            color: white;
            font-size: 0.9em;
            font-weight: 500;
            padding: 0.3em 0;
        }

        #locations-panel-list .option>span {
            margin: 0 0.9em;
            text-decoration: underline;
        }

        #location-results-list {
            list-style-type: none;
            margin: 0;
            padding: 0;
        }

        /* ------------- DETAILS PANEL ------------------------------- */
        #locations-panel-details {
            padding: 1.4em;
            box-sizing: border-box;
            display: none;
        }

        #locations-panel-details .back-button {
            font-size: 1em;
            font-weight: 500;
            color: #1967d2;
            display: block;
            text-decoration: none;
            background: none;
            border: none;
            cursor: pointer;
            padding: 0;
            font-family: 'Montserrat', sans-serif !important;
        }

        #locations-panel-details .back-button .icon {
            width: 20px;
            height: 20px;
            vertical-align: bottom;

            /* Match link color #1967d2 */
            filter: invert(30%) sepia(67%) saturate(7379%) hue-rotate(209deg) brightness(95%) contrast(80%);
        }

        #locations-panel-details>header {
            text-align: center;
        }

        #locations-panel-details .banner {
            margin-top: 1em;
        }

        #locations-panel-details h2 {
            font-size: 1.1em;
            font-weight: 500;
            margin-bottom: 0.3em;
        }

        #locations-panel-details .distance {
            font-size: 0.9em;
            text-align: center;
        }

        #locations-panel-details .address {
            text-align: center;
            font-size: 0.9em;
            margin-top: 1.3em;
        }

        #locations-panel-details .atmosphere {
            text-align: center;
            font-size: 0.9em;
            margin: 0.8em 0;
        }

        #locations-panel-details .star-rating-numeric {
            color: #555;
        }

        #locations-panel-details .star-icon {
            width: 1.2em;
            height: 1.2em;
            margin-right: -0.3em;
            margin-top: -0.08em;
            vertical-align: top;
            filter: invert(88%) sepia(60%) saturate(2073%) hue-rotate(318deg) brightness(93%) contrast(104%);
        }

        #locations-panel-details .star-icon:last-of-type {
            margin-right: 0.2em;
        }

        #locations-panel-details .price-dollars {
            color: #555;
        }

        #locations-panel-details hr {
            height: 1px;
            color: rgba(0, 0, 0, 0.12);
            background-color: rgba(0, 0, 0, 0.12);
            border: none;
            margin-bottom: 1em;
        }

        #locations-panel-details .contact {
            font-size: 0.9em;
            margin: 0.8em 0;
            display: flex;
            align-items: center;
        }

        #locations-panel-details .contact .icon {
            flex: 0 0 auto;
            width: 1.5em;
            height: 1.5em;
        }

        #locations-panel-details .contact .right {
            padding: 0.1em 0 0 1em;
        }

        #locations-panel-details .hours .weekday {
            display: inline-block;
            width: 5em;
        }

        #locations-panel-details .website a {
            white-space: nowrap;
            display: inline-block;
            overflow: hidden;
            max-width: 16em;
            text-overflow: ellipsis;
        }

        #locations-panel-details p.attribution {
            color: #777;
            margin: 0;
            font-size: 0.8em;
            font-style: italic;
        }

        .gm-style-iw {
            border-radius: unset !important;
            box-shadow: unset !important;
        }

        div[role="dialog"] {
            background-color: #ED6A64 !important;
            width: 400px;
            height: 236px;
        }

        div[role="dialog"] .gm-style-iw-chr {
            position: absolute;
            right: 0;
        }

        div[role="dialog"] .gm-style-iw-chr .gm-ui-hover-effect>span {
            background-color: white !important;
        }

        div[role="dialog"] .gm-style-iw-d {
            overflow: hidden !important;
        }

        .window-marker {
            padding: 30px;
        }

        .window-marker * {
            color: white;
            font-family: 'Roboto Condensed', sans-serif !important;
        }

        .window-marker img {
            max-width: 400px !important;
            height: auto !important;
            display: block;
        }

        .window-marker strong {
            display: block;
            font-size: 20px;
            font-weight: bold;
            line-height: 1;
            padding-bottom: 15px;
            border-bottom: 1px dotted white;
        }

        .window-marker p {
            font-size: 15px;
            line-height: 1;
            padding-bottom: 0;
            margin-bottom: 15px;
        }

        .window-marker p:nth-of-type(1) {
            margin-top: 15px;
        }

        .window-marker p:last-of-type {
            font-weight: 500;
        }

        .gm-style .gm-style-iw-tc::after {
            background: #ED6A64;
        }
    </style>
    <script>
        'use strict';

        const image_url = "https://staticnode.batchgeo.com/marker/svg?type=pushpinPlain&size=20&fill=orange&stroke=black&text=&opacity=1&quot";

        /** Hide a DOM element. */
        function hideElement(el) {
            el.style.display = 'none';
        }

        /** Show a DOM element that has been hidden. */
        function showElement(el) {
            el.style.display = 'block';
        }

        /** Helper function to generate a Google Maps directions URL */
        function generateDirectionsURL(origin, destination) {
            const googleMapsUrlBase = 'https://www.google.com/maps/dir/?';
            const searchParams = new URLSearchParams('api=1');
            searchParams.append('origin', origin);
            const destinationParam = [];
            // Add title to destinationParam except in cases where Quick Builder set
            // the title to the first line of the address
            if (destination.title !== destination.address1) {
                destinationParam.push(destination.title);
            }
            destinationParam.push(destination.address1, destination.address2);
            searchParams.append('destination', destinationParam.join(','));
            return googleMapsUrlBase + searchParams.toString();
        }

        /**
         * Defines an instance of the Locator+ solution, to be instantiated
         * when the Maps library is loaded.
         */
        function LocatorPlus(configuration) {
            const locator = this;

            locator.locations = configuration.locations || [];
            locator.capabilities = configuration.capabilities || {};

            const mapEl = document.getElementById('gmp-map');
            const panelEl = document.getElementById('locations-panel');
            locator.panelListEl = document.getElementById('locations-panel-list');
            const sectionNameEl =
                document.getElementById('location-results-section-name');
            const resultsContainerEl = document.getElementById('location-results-list');

            const itemsTemplate = Handlebars.compile(
                document.getElementById('locator-result-items-tmpl').innerHTML);

            locator.searchLocation = null;
            locator.searchLocationMarker = null;
            locator.selectedLocationIdx = null;
            locator.userCountry = null;

            // Initialize the map -------------------------------------------------------
            locator.map = new google.maps.Map(mapEl, configuration.mapOptions);

            // Store selection.
            const selectResultItem = function(locationIdx, panToMarker, scrollToResult) {
                locator.selectedLocationIdx = locationIdx;
                for (let locationElem of resultsContainerEl.children) {
                    locationElem.classList.remove('selected');
                    if (getResultIndex(locationElem) === locator.selectedLocationIdx) {
                        locationElem.classList.add('selected');
                        if (scrollToResult) {
                            panelEl.scrollTop = locationElem.offsetTop;
                        }
                    }
                }
                if (panToMarker && (locationIdx != null)) {
                    locator.map.panTo(locator.locations[locationIdx].coords);
                }
            };

            const infowindow = new google.maps.InfoWindow();

            // Create a marker for each location.
            var markers = '';

            function createMarkers(locations) {

                if (markers != '') {
                    markers.forEach((e) => e.setMap(null));
                }

                markers = '';
                markers = locations.map(function(location, index) {
                    const marker = new google.maps.Marker({
                        position: location.coords,
                        map: locator.map,
                        title: location.title,
                    });

                    /*  if (issetIcon) { */
                    marker.setIcon({
                        url: "/blog/wp-content/uploads/2024/09/pin-store.png",
                        scaledSize: new google.maps.Size(40, 40),
                    });
                    /*  } */

                    marker.addListener('click', function() {
                        selectResultItem(index, false, true);
                    });

                    // BRANDCODE Create a infowindow for each marker
                    google.maps.event.addListener(marker, "click", function() {
                        infowindow.setContent(
                            "<div class='window-marker'> " +
                            // "<img src='" + location.img + "'>" +
                            "<strong>" + location.title + "</strong>" +
                            "<p>" + location.address1 + "</p>" +
                            "<p>" + location.address2 + "</p>" +
                            "<p> CP: " + location.codigo_postal + "</p>" +
                            "<p>" + location.telefono + "</p>" +
                            "</div>"
                        );
                        infowindow.open(locator.map, this);
                    });

                    return marker;
                });
            }
            createMarkers(locator.locations);

            // const markerClusterer = new markerClusterer.MarkerClusterer(this.map, markers);

            // Fit map to marker bounds.
            locator.updateBounds = function() {
                const bounds = new google.maps.LatLngBounds();
                if (locator.searchLocationMarker) {
                    bounds.extend(locator.searchLocationMarker.getPosition());
                }
                for (let i = 0; i < markers.length; i++) {
                    bounds.extend(markers[i].getPosition());
                }
                locator.map.fitBounds(bounds);
            };
            if (locator.locations.length) {
                locator.updateBounds();
            }

            // Get the distance of a store location to the user's location,
            // used in sorting the list.
            const getLocationDistance = function(location) {
                if (!locator.searchLocation) return null;

                // Use travel distance if available (from Distance Matrix).
                if (location.travelDistanceValue != null) {
                    return location.travelDistanceValue;
                }

                // Fall back to straight-line distance.
                return google.maps.geometry.spherical.computeDistanceBetween(
                    new google.maps.LatLng(location.coords),
                    locator.searchLocation.location);
            };

            // Render the results list --------------------------------------------------

            // When the results list re-renders, always update directions on the
            // first selection event.
            let updateDirectionsOnSelect;

            const getResultIndex = function(elem) {
                return parseInt(elem.getAttribute('data-location-index'));
            };

            locator.renderResultsList = function(refresh = null) {
                let locations = locator.locations.slice();
                for (let i = 0; i < locations.length; i++) {
                    locations[i].index = i;
                }
                if (locator.searchLocation) {
                    sectionNameEl.textContent =
                        'Nearest locations (' + locations.length + ')';
                    locations.sort(function(a, b) {
                        a.distance = getLocationDistance(a);
                        return getLocationDistance(a) - getLocationDistance(b);
                    });
                    const newLocations = locations.filter(function(location) {
                        return location.distance <= 50000;
                    });
                    locations = newLocations;
                    //Actualizamos marcadores
                    createMarkers(locations);
                } else {
                    sectionNameEl.textContent = `All locations (${locations.length})`;
                }
                const resultItemContext = {
                    locations: locations
                };
                resultsContainerEl.innerHTML = itemsTemplate(resultItemContext);
                updateDirectionsOnSelect = true;
                for (let item of resultsContainerEl.children) {
                    const resultIndex = getResultIndex(item);
                    if (resultIndex === locator.selectedLocationIdx) {
                        item.classList.add('selected');
                    }

                    const resultSelectionHandler = function() {
                        if (resultIndex !== locator.selectedLocationIdx ||
                            updateDirectionsOnSelect) {
                            selectResultItem(resultIndex, true, false);
                            locator.updateDirections();
                            updateDirectionsOnSelect = false;
                        }
                    };

                    // Clicking anywhere on the item selects this location.
                    // Additionally, create a button element to make this behavior
                    // accessible under tab navigation.
                    item.addEventListener('click', resultSelectionHandler);
                    item.querySelector('.select-location')
                        .addEventListener('click', function(e) {
                            resultSelectionHandler();
                            e.stopPropagation();
                        });

                    item.querySelector('.details-button')
                        .addEventListener('click', function() {
                            locator.showDetails(resultIndex);
                        });

                    // Clicking the directions button will open Google Maps directions in a
                    // new tab
                    const origin = (locator.searchLocation != null) ?
                        locator.searchLocation.location :
                        '';
                    const destination = locator.locations[resultIndex];
                    const googleMapsUrl = generateDirectionsURL(origin, destination);
                    item.querySelector('.directions-button')
                        .setAttribute('href', googleMapsUrl);
                }
            };

            // Optional capability initialization --------------------------------------
            initializeSearchInput(locator);
            initializeDistanceMatrix(locator);
            initializeDirections(locator);
            initializeDetails(locator);

            // Initial render of results -----------------------------------------------
            locator.renderResultsList();

            locator.map.setZoom(10);
            locator.map.setCenter(new google.maps.LatLng(40.4150037, -3.6957342));
        }

        /** When the search input capability is enabled, initialize it. */
        function initializeSearchInput(locator) {
            const geocodeCache = new Map();
            const geocoder = new google.maps.Geocoder();

            const searchInputEl = document.getElementById('location-search-input');
            const searchButtonEl = document.getElementById('location-search-button');

            const updateSearchLocation = function(address, location) {
                if (locator.searchLocationMarker) {
                    locator.searchLocationMarker.setMap(null);
                }
                if (!location) {
                    locator.searchLocation = null;
                    return;
                }
                locator.searchLocation = {
                    'address': address,
                    'location': location
                };
                locator.searchLocationMarker = new google.maps.Marker({
                    position: location,
                    map: locator.map,
                    title: 'My location',
                    icon: {
                        path: google.maps.SymbolPath.CIRCLE,
                        scale: 12,
                        fillColor: '#3367D6',
                        fillOpacity: 0.5,
                        strokeOpacity: 0,
                    }
                });

                // Update the locator's idea of the user's country, used for units. Use
                // `formatted_address` instead of the more structured `address_components`
                // to avoid an additional billed call.
                const addressParts = address.split(' ');
                locator.userCountry = addressParts[addressParts.length - 1];

                // Update map bounds to include the new location marker.
                locator.updateBounds();

                // Update the result list so we can sort it by proximity.
                locator.renderResultsList(true);

                locator.updateTravelTimes();

                locator.clearDirections();

                locator.map.setCenter(locator.searchLocationMarker.position);
                locator.map.setZoom(14);
            };

            const geocodeSearch = function(query) {
                if (!query) {
                    return;
                }

                const handleResult = function(geocodeResult) {
                    searchInputEl.value = geocodeResult.formatted_address;
                    updateSearchLocation(
                        geocodeResult.formatted_address, geocodeResult.geometry.location);
                };

                if (geocodeCache.has(query)) {
                    handleResult(geocodeCache.get(query));
                    return;
                }
                const request = {
                    address: query,
                    bounds: locator.map.getBounds()
                };
                geocoder.geocode(request, function(results, status) {
                    if (status === 'OK') {
                        if (results.length > 0) {
                            const result = results[0];
                            geocodeCache.set(query, result);
                            handleResult(result);
                        }
                    }
                });
            };

            // Set up geocoding on the search input.
            searchButtonEl.addEventListener('click', function() {
                geocodeSearch(searchInputEl.value.trim());
            });

            // Initialize Autocomplete.
            initializeSearchInputAutocomplete(
                locator, searchInputEl, geocodeSearch, updateSearchLocation);
        }

        /** Add Autocomplete to the search input. */
        function initializeSearchInputAutocomplete(
            locator, searchInputEl, fallbackSearch, searchLocationUpdater) {
            // Set up Autocomplete on the search input. Bias results to map viewport.
            const autocomplete = new google.maps.places.Autocomplete(searchInputEl, {
                componentRestrictions: {
                    country: ['es', 'and']
                },
                fields: ['place_id', 'formatted_address', 'geometry.location'],
                strictBounds: false,
            });
            autocomplete.addListener('place_changed', function() {
                const placeResult = autocomplete.getPlace();
                if (!placeResult.geometry) {
                    // Hitting 'Enter' without selecting a suggestion will result in a
                    // placeResult with only the text input value as the 'name' field.
                    fallbackSearch(placeResult.name);
                    return;
                }
                searchLocationUpdater(
                    placeResult.formatted_address, placeResult.geometry.location);
            });
        }

        /** Initialize Distance Matrix for the locator. */
        function initializeDistanceMatrix(locator) {
            const distanceMatrixService = new google.maps.DistanceMatrixService();

            // Annotate travel times to the selected location using Distance Matrix.
            locator.updateTravelTimes = function() {
                if (!locator.searchLocation) return;

                const units = (locator.userCountry === 'USA') ?
                    google.maps.UnitSystem.IMPERIAL :
                    google.maps.UnitSystem.METRIC;
                const request = {
                    origins: [locator.searchLocation.location],
                    destinations: locator.locations.map(function(x) {
                        return x.coords;
                    }),
                    travelMode: google.maps.TravelMode.DRIVING,
                    unitSystem: units,
                };
                const callback = function(response, status) {
                    if (status === 'OK') {
                        const distances = response.rows[0].elements;
                        for (let i = 0; i < distances.length; i++) {
                            const distResult = distances[i];
                            let travelDistanceText, travelDistanceValue;
                            if (distResult.status === 'OK') {
                                travelDistanceText = distResult.distance.text;
                                travelDistanceValue = distResult.distance.value;
                            }
                            const location = locator.locations[i];
                            location.travelDistanceText = travelDistanceText;
                            location.travelDistanceValue = travelDistanceValue;
                        }

                        // Re-render the results list, in case the ordering has changed.
                        locator.renderResultsList();
                    }
                };

                request.destinations = request.destinations.slice(0, 23);

                distanceMatrixService.getDistanceMatrix(request, callback);
            };
        }

        /** Initialize Directions service for the locator. */
        function initializeDirections(locator) {
            const directionsCache = new Map();
            const directionsService = new google.maps.DirectionsService();
            const directionsRenderer = new google.maps.DirectionsRenderer({
                suppressMarkers: true,
            });

            // Update directions displayed from the search location to
            // the selected location on the map.
            locator.updateDirections = function() {
                if (!locator.searchLocation || (locator.selectedLocationIdx == null)) {
                    return;
                }
                const cacheKey = JSON.stringify(
                    [locator.searchLocation.location, locator.selectedLocationIdx]);
                if (directionsCache.has(cacheKey)) {
                    const directions = directionsCache.get(cacheKey);
                    directionsRenderer.setMap(locator.map);
                    directionsRenderer.setDirections(directions);
                    return;
                }
                const request = {
                    origin: locator.searchLocation.location,
                    destination: locator.locations[locator.selectedLocationIdx].coords,
                    travelMode: google.maps.TravelMode.DRIVING
                };
                directionsService.route(request, function(response, status) {
                    if (status === 'OK') {
                        directionsRenderer.setMap(locator.map);
                        directionsRenderer.setDirections(response);
                        directionsCache.set(cacheKey, response);
                    }
                });
            };

            locator.clearDirections = function() {
                directionsRenderer.setMap(null);
            };
        }

        /** Initialize Place Details service and UI for the locator. */
        function initializeDetails(locator) {
            const panelDetailsEl = document.getElementById('locations-panel-details');
            const detailsService = new google.maps.places.PlacesService(locator.map);

            const detailsTemplate = Handlebars.compile(
                document.getElementById('locator-details-tmpl').innerHTML);

            const renderDetails = function(context) {
                panelDetailsEl.innerHTML = detailsTemplate(context);
                panelDetailsEl.querySelector('.back-button')
                    .addEventListener('click', hideDetails);
            };

            const hideDetails = function() {
                showElement(locator.panelListEl);
                hideElement(panelDetailsEl);
            };

            locator.showDetails = function(locationIndex) {
                const location = locator.locations[locationIndex];
                const context = {
                    location
                };

                // Helper function to create a fixed-size array.
                const initArray = function(arraySize) {
                    const array = [];
                    while (array.length < arraySize) {
                        array.push(0);
                    }
                    return array;
                };

                if (location.placeId) {
                    const request = {
                        placeId: location.placeId,
                        fields: [
                            'formatted_phone_number', 'website', 'opening_hours', 'url',
                            'utc_offset_minutes', 'price_level', 'rating', 'user_ratings_total'
                        ]
                    };
                    detailsService.getDetails(request, function(place, status) {
                        if (status == google.maps.places.PlacesServiceStatus.OK) {
                            if (place.opening_hours) {
                                const daysHours =
                                    place.opening_hours.weekday_text.map(e => e.split(/\:\s+/))
                                    .map(e => ({
                                        'days': e[0].substr(0, 3),
                                        'hours': e[1]
                                    }));

                                for (let i = 1; i < daysHours.length; i++) {
                                    if (daysHours[i - 1].hours === daysHours[i].hours) {
                                        if (daysHours[i - 1].days.indexOf('-') !== -1) {
                                            daysHours[i - 1].days =
                                                daysHours[i - 1].days.replace(/\w+$/, daysHours[i].days);
                                        } else {
                                            daysHours[i - 1].days += ' - ' + daysHours[i].days;
                                        }
                                        daysHours.splice(i--, 1);
                                    }
                                }
                                place.openingHoursSummary = daysHours;
                            }
                            if (place.rating) {
                                const starsOutOfTen = Math.round(2 * place.rating);
                                const fullStars = Math.floor(starsOutOfTen / 2);
                                const halfStars = fullStars !== starsOutOfTen / 2 ? 1 : 0;
                                const emptyStars = 5 - fullStars - halfStars;

                                // Express stars as arrays to make iterating in Handlebars easy.
                                place.fullStarIcons = initArray(fullStars);
                                place.halfStarIcons = initArray(halfStars);
                                place.emptyStarIcons = initArray(emptyStars);
                            }
                            if (place.price_level) {
                                place.dollarSigns = initArray(place.price_level);
                            }
                            if (place.website) {
                                const url = new URL(place.website);
                                place.websiteDomain = url.hostname;
                            }

                            context.place = place;
                            renderDetails(context);
                        }
                    });
                }
                renderDetails(context);
                hideElement(locator.panelListEl);
                showElement(panelDetailsEl);
            };
        }
    </script>
    <script>
        const CONFIGURATION = {
            "locations":[{"title":"Samano","address1":"Pol. Ind. Valleg\u00f3n Parc. 46-47","address2":"","coords":{"lat":43.34389323,"lng":-3.23935927},"codigo_postal":"39709","telefono":"942864333","img":"https:\/\/www.mardequel.com\/blog\/wp-content\/uploads\/2020\/03\/tienda_castro.jpg","placeId":""},{"title":"Pamplona \u0096 Barbat\u00e1in","address1":"Pol. Ind. Comarca-2, C\/B, 2-4","address2":"","coords":{"lat":42.7717123,"lng":-1.66207129},"codigo_postal":"31191","telefono":"948181252","img":"https:\/\/www.mardequel.com\/blog\/wp-content\/uploads\/2020\/03\/TIENDA-COMARCA-768x373.jpg","placeId":""},{"title":"Logro\u00f1o","address1":"Camino de Valdegastea 14-18, 26007, Logro\u00f1o, La Rioja","address2":"","coords":{"lat":42.46319476,"lng":-2.48261025},"codigo_postal":"26007","telefono":"941287000","img":"https:\/\/www.mardequel.com\/blog\/wp-content\/uploads\/2020\/03\/tienda_logrono1.jpg","placeId":""},{"title":"Vitoria","address1":"Centro Comercial Gorbeia \u0096 Ctra. Mi\u00f1ano Mayor s\/n","address2":"","coords":{"lat":42.911391,"lng":-2.7169114},"codigo_postal":"01196","telefono":"945460431","img":"https:\/\/www.mardequel.com\/blog\/wp-content\/uploads\/2015\/11\/Tienda-Vitoria.bmp","placeId":""},{"title":"Utebo","address1":"C\/ La Habana, 9, 50180 Utebo","address2":"","coords":{"lat":41.7010477,"lng":-0.9994264},"codigo_postal":"50180","telefono":"976770506","img":"https:\/\/www.mardequel.com\/blog\/wp-content\/uploads\/2020\/03\/Mart\u00c3\u00adnez-de-Quel-768x512.jpg","placeId":""},{"title":"Valladolid","address1":"Av. Palencia 35","address2":"","coords":{"lat":41.68866175,"lng":-4.72145258},"codigo_postal":"47100","telefono":"983347133","img":"https:\/\/www.mardequel.com\/blog\/wp-content\/uploads\/2015\/03\/Fachada-Tienda-Valladolid.jpg","placeId":""},{"title":"Pamplona \u0096 Burlada","address1":"C\/ Merindad de Sang\u00fcesa 3 bajo","address2":"","coords":{"lat":42.8287552,"lng":-1.6193383},"codigo_postal":"31600","telefono":"948132822","img":"https:\/\/www.mardequel.com\/blog\/wp-content\/uploads\/2018\/12\/Tienda-Burlada-Fachada.jpg","placeId":""},{"title":"Pamplona","address1":"C\/ Marcelo Celayeta 128","address2":"","coords":{"lat":42.8339431,"lng":-1.64045439},"codigo_postal":"31014","telefono":"676995351","img":"https:\/\/www.mardequel.com\/blog\/wp-content\/uploads\/2021\/12\/IMG_1396_r1_c1-768x512.jpg","placeId":""},{"title":"Castro Urdiales","address1":"C\/ La ronda 15","address2":"","coords":{"lat":43.3814633,"lng":-3.2221815},"codigo_postal":"39709","telefono":"942243214","img":"https:\/\/www.mardequel.com\/blog\/wp-content\/uploads\/2022\/01\/castro_urdiales.png","placeId":""},{"title":"Pamplona \u0096 Avd. Bayona","address1":"Avd. Bayona 32 bajo","address2":"","coords":{"lat":42.8288167,"lng":-1.6521691},"codigo_postal":"31011","telefono":"948680711","img":"https:\/\/www.mardequel.com\/blog\/wp-content\/uploads\/2015\/11\/Fachada-e1448444842245.jpg","placeId":""}],
            "mapOptions": {
                "center": {
                    "lat": 38.0,
                    "lng": -100.0
                },
                "fullscreenControl": true,
                "mapTypeControl": false,
                "streetViewControl": false,
                "zoom": 4,
                "zoomControl": true,
                "maxZoom": 17,
                //"mapId": "87863268fe729a22"
            },
            "mapsApiKey": "AIzaSyCKSjRcvSF4BisvBuMYzOdfoP_dFUo4SdU",
            "capabilities": {
                "input": true,
                "autocomplete": true,
                "directions": true,
                "distanceMatrix": true,
                "details": true,
                "actions": false
            }
        };

        function initMap() {
            new LocatorPlus(CONFIGURATION);
        }
    </script>
    <script id="locator-result-items-tmpl" type="text/x-handlebars-template">
        {{#each locations}}
            <li class="location-result" data-location-index="{{index}}">
                <!-- <img src="/wp-content/uploads/2023/06/ubicacion.png" alt="Icono localización"> -->
                <button class="select-location">
                    <h2 class="name">{{title}}</h2>
                </button>
                <div class="address">
                    <p>{{address1}}</p>
                    <p>{{address2}}</p>
                    <p>CP: {{codigo_postal}} · Teléfono: {{telefono}}</p>
                </div>
                <div class="options">
                    <div class="option-container">
                        <button class="details-button option">
                            <span>View details</span>
                        </button>
                    </div>
                </div>
                {{#if travelDistanceText}}
                    <div class="distance">{{travelDistanceText}}</div>
                {{/if}}
                <a class="directions-button" href="" target="_blank" title="Get directions to this location on Google Maps">
                    <img src="https://www.bystillo.com/wp-content/uploads/2023/10/directions-icon-sin.png" alt="Icono abrir maps"> Cómo llegar
                </a>
            </li>
        {{/each}}
    </script>
    <script id="locator-details-tmpl" type="text/x-handlebars-template">
        <button class="back-button">
        <img class="icon" src="https://fonts.gstatic.com/s/i/googlematerialicons/arrow_back/v11/24px.svg" alt=""/>
        Back
      </button>
      <header>
        <div class="banner">
          <svg width="23" height="32" viewBox="0 0 23 32" fill="none" xmlns="http://www.w3.org/2000/svg">
            <path fill-rule="evenodd" clip-rule="evenodd" d="M22.9976 11.5003C22.9976 13.2137 22.7083 14.9123 21.8025 16.7056C18.6321 22.9832 12.7449 24.3314 12.2758 30.7085C12.2448 31.1294 11.9286 31.4744 11.4973 31.4744C11.0689 31.4744 10.7527 31.1294 10.7218 30.7085C10.2527 24.3314 4.3655 22.9832 1.19504 16.7056C0.289306 14.9123 0 13.2137 0 11.5003C0 5.13275 5.14557 0 11.5003 0C17.852 0 22.9976 5.13275 22.9976 11.5003Z" fill="#4285F4"/>
            <path fill-rule="evenodd" clip-rule="evenodd" transform="translate(5.5,5.5)" d="M6 8.84091L9.708 11L8.724 6.92961L12 4.19158L7.6856 3.83881L6 0L4.3144 3.83881L0 4.19158L3.276 6.92961L2.292 11L6 8.84091Z" fill="#FBE15C"/>
          </svg>
        </div>
        <h2>{{location.title}}</h2>
      </header>
      {{#if location.travelDistanceText}}
        <div class="distance">{{location.travelDistanceText}} away</div>
      {{/if}}
      <div class="address">
        {{location.address1}}<br>
        {{location.address2}}
      </div>
      <div class="atmosphere">
        {{#if place.rating}}
          <span class="star-rating-numeric">{{place.rating}}</span>
          <span>
            {{#each place.fullStarIcons}}
              <img src="https://fonts.gstatic.com/s/i/googlematerialicons/star/v15/24px.svg"
                   alt="" class="star-icon"/>
            {{/each}}
            {{#each place.halfStarIcons}}
              <img src="https://fonts.gstatic.com/s/i/googlematerialicons/star_half/v17/24px.svg"
                   alt="" class="star-icon"/>
            {{/each}}
            {{#each place.emptyStarIcons}}
              <img src="https://fonts.gstatic.com/s/i/googlematerialicons/star_outline/v9/24px.svg"
                   alt="" class="star-icon"/>
            {{/each}}
          </span>
        {{/if}}
        {{#if place.user_ratings_total}}
          <a href="{{place.url}}" target="_blank">{{place.user_ratings_total}} reviews</a>
        {{else}}
          <a href="{{place.url}}" target="_blank">See on Google Maps</a>
        {{/if}}
        {{#if place.price_level}}
          &bull;
          <span class="price-dollars">
            {{#each place.dollarSigns}}${{/each}}
          </span>
        {{/if}}
      </div>
      <hr/>
      {{#if place.opening_hours}}
        <div class="hours contact">
          <img src="https://fonts.gstatic.com/s/i/googlematerialicons/schedule/v12/24px.svg"
               alt="Opening hours" class="icon"/>
          <div class="right">
            {{#each place.openingHoursSummary}}
              <div>
                <span class="weekday">{{days}}</span>
                <span class="hours">{{hours}}</span>
              </div>
            {{/each}}
          </div>
        </div>
      {{/if}}
      {{#if place.website}}
        <div class="website contact">
          <img src="https://fonts.gstatic.com/s/i/googlematerialicons/public/v10/24px.svg"
               alt="Website" class="icon"/>
          <div class="right">
            <a href="{{place.website}}" target="_blank">{{place.websiteDomain}}</a>
          </div>
        </div>
      {{/if}}
      {{#if place.formatted_phone_number}}
        <div class="phone contact">
          <img src="https://fonts.gstatic.com/s/i/googlematerialicons/phone/v10/24px.svg"
               alt="Phone number" class="icon"/>
          <div class="right">
            {{place.formatted_phone_number}}
          </div>
        </div>
      {{/if}}
      {{#if place.html_attributions}}
        {{#each place.html_attributions}}
          <p class="attribution">{{{this}}}</p>
        {{/each}}
      {{/if}}
    </script>
</head>

<body>
    <div id="map-container">
        <div id="locations-panel">
            <div id="locations-panel-list">
                <header>
                    <p class="search-title">
                        <img src="https://fonts.gstatic.com/s/i/googlematerialicons/place/v15/24px.svg" alt="location-point" />
                        Find a location near you
                    </p>
                    <div class="search-input">
                        <input id="location-search-input" placeholder="Introduce tu código postal aquí">
                        <div id="search-overlay-search" class="search-input-overlay search">
                            <button id="location-search-button">
                                <img class="icon" src="https://fonts.gstatic.com/s/i/googlematerialicons/search/v11/24px.svg" alt="Search" />
                            </button>
                        </div>
                    </div>
                </header>
                <div class="section-name" id="location-results-section-name">
                    All locations
                </div>
                <div class="results">
                    <ul id="location-results-list"></ul>
                </div>
            </div>
            <div id="locations-panel-details"></div>
        </div>
        <div id="gmp-map"></div>
    </div>
    <script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyCKSjRcvSF4BisvBuMYzOdfoP_dFUo4SdU&callback=initMap&libraries=places,geometry&solution_channel=GMP_QB_locatorplus_v6_cABCDE" async defer></script>
    <script src="https://unpkg.com/@googlemaps/markerclusterer/dist/index.min.js" async defer></script>
</body>

</html>{"id":330,"date":"2012-07-10T11:51:34","date_gmt":"2012-07-10T11:51:34","guid":{"rendered":"https:\/\/www.mardequel.com\/blog\/\/?page_id=330"},"modified":"2024-11-04T13:04:02","modified_gmt":"2024-11-04T11:04:02","slug":"tiendas","status":"publish","type":"page","link":"https:\/\/www.mardequel.com\/blog\/tiendas\/","title":{"rendered":"Tiendas"},"content":{"rendered":"[vc_row type=&#8221;full_width_content&#8221; full_screen_row_position=&#8221;middle&#8221; column_margin=&#8221;default&#8221; column_direction=&#8221;default&#8221; column_direction_tablet=&#8221;default&#8221; column_direction_phone=&#8221;default&#8221; bg_image=&#8221;3155&#8243; bg_position=&#8221;center center&#8221; background_image_loading=&#8221;default&#8221; bg_repeat=&#8221;no-repeat&#8221; scene_position=&#8221;center&#8221; top_padding=&#8221;12%&#8221; constrain_group_1=&#8221;yes&#8221; bottom_padding=&#8221;12%&#8221; left_padding_desktop=&#8221;10%&#8221; constrain_group_2=&#8221;yes&#8221; right_padding_desktop=&#8221;10%&#8221; top_padding_tablet=&#8221;25%&#8221; text_color=&#8221;light&#8221; text_align=&#8221;left&#8221; row_border_radius=&#8221;none&#8221; row_border_radius_applies=&#8221;bg&#8221; overflow=&#8221;visible&#8221; id=&#8221;custom-header&#8221; enable_gradient=&#8221;true&#8221; color_overlay=&#8221;rgba(10,10,10,0.4)&#8221; color_overlay_2=&#8221;#0a0a0a&#8221; advanced_gradient_angle=&#8221;0&#8243; overlay_strength=&#8221;0.5&#8243; gradient_direction=&#8221;top_to_bottom&#8221; shape_divider_position=&#8221;bottom&#8221; bg_image_animation=&#8221;zoom-out-slow&#8221; parallax_bg=&#8221;true&#8221; parallax_bg_speed=&#8221;fast&#8221; gradient_type=&#8221;default&#8221; shape_type=&#8221;&#8221;][vc_column column_padding=&#8221;no-extra-padding&#8221; column_padding_tablet=&#8221;inherit&#8221; column_padding_phone=&#8221;inherit&#8221; column_padding_position=&#8221;all&#8221; column_element_direction_desktop=&#8221;default&#8221; column_element_spacing=&#8221;0px&#8221; centered_text=&#8221;true&#8221; desktop_text_alignment=&#8221;default&#8221; tablet_text_alignment=&#8221;default&#8221; phone_text_alignment=&#8221;default&#8221; background_color_opacity=&#8221;1&#8243; background_hover_color_opacity=&#8221;1&#8243; column_backdrop_filter=&#8221;none&#8221; column_shadow=&#8221;none&#8221; column_border_radius=&#8221;none&#8221; column_link_target=&#8221;_self&#8221; column_position=&#8221;default&#8221; advanced_gradient_angle=&#8221;0&#8243; gradient_direction=&#8221;left_to_right&#8221; overlay_strength=&#8221;0.3&#8243; width=&#8221;1\/1&#8243; tablet_width_inherit=&#8221;default&#8221; animation_type=&#8221;default&#8221; bg_image_animation=&#8221;none&#8221; border_type=&#8221;simple&#8221; column_border_width=&#8221;none&#8221; column_border_style=&#8221;solid&#8221; gradient_type=&#8221;default&#8221;][vc_row_inner column_margin=&#8221;none&#8221; column_direction=&#8221;default&#8221; column_direction_tablet=&#8221;default&#8221; column_direction_phone=&#8221;default&#8221; text_align=&#8221;left&#8221; row_position=&#8221;default&#8221; row_position_tablet=&#8221;inherit&#8221; row_position_phone=&#8221;inherit&#8221; zindex=&#8221;100&#8243; overflow=&#8221;visible&#8221; pointer_events=&#8221;all&#8221;][vc_column_inner column_padding=&#8221;no-extra-padding&#8221; column_padding_tablet=&#8221;inherit&#8221; column_padding_phone=&#8221;inherit&#8221; column_padding_position=&#8221;all&#8221; column_element_direction_desktop=&#8221;default&#8221; column_element_spacing=&#8221;default&#8221; desktop_text_alignment=&#8221;default&#8221; tablet_text_alignment=&#8221;default&#8221; phone_text_alignment=&#8221;default&#8221; background_color_opacity=&#8221;1&#8243; background_hover_color_opacity=&#8221;1&#8243; column_backdrop_filter=&#8221;none&#8221; column_shadow=&#8221;none&#8221; column_border_radius=&#8221;none&#8221; column_link_target=&#8221;_self&#8221; overflow=&#8221;visible&#8221; gradient_direction=&#8221;left_to_right&#8221; overlay_strength=&#8221;0.3&#8243; width=&#8221;1\/1&#8243; tablet_width_inherit=&#8221;default&#8221; animation_type=&#8221;default&#8221; bg_image_animation=&#8221;none&#8221; border_type=&#8221;simple&#8221; column_border_width=&#8221;none&#8221; column_border_style=&#8221;solid&#8221;][split_line_heading animation_type=&#8221;line-reveal-by-space&#8221; font_style=&#8221;p&#8221; line_reveal_by_space_text_effect=&#8221;letter-reveal-bottom&#8221; stagger_animation=&#8221;true&#8221; content_alignment=&#8221;default&#8221; mobile_content_alignment=&#8221;inherit&#8221; link_target=&#8221;_self&#8221; text_content=&#8221;Tiendas&#8221; text_direction=&#8221;default&#8221;][\/split_line_heading][\/vc_column_inner][\/vc_row_inner][vc_row_inner column_margin=&#8221;default&#8221; column_direction=&#8221;default&#8221; column_direction_tablet=&#8221;default&#8221; column_direction_phone=&#8221;default&#8221; left_padding_desktop=&#8221;30%&#8221; constrain_group_2=&#8221;yes&#8221; right_padding_desktop=&#8221;30%&#8221; left_padding_tablet=&#8221;15%&#8221; constrain_group_4=&#8221;yes&#8221; right_padding_tablet=&#8221;15%&#8221; left_padding_phone=&#8221;8%&#8221; constrain_group_6=&#8221;yes&#8221; right_padding_phone=&#8221;8%&#8221; text_align=&#8221;left&#8221; row_position=&#8221;default&#8221; row_position_tablet=&#8221;inherit&#8221; row_position_phone=&#8221;inherit&#8221; overflow=&#8221;visible&#8221; pointer_events=&#8221;all&#8221;][vc_column_inner column_padding=&#8221;no-extra-padding&#8221; column_padding_tablet=&#8221;inherit&#8221; column_padding_phone=&#8221;inherit&#8221; column_padding_position=&#8221;all&#8221; column_element_direction_desktop=&#8221;default&#8221; column_element_spacing=&#8221;default&#8221; desktop_text_alignment=&#8221;default&#8221; tablet_text_alignment=&#8221;default&#8221; phone_text_alignment=&#8221;default&#8221; background_color_opacity=&#8221;1&#8243; background_hover_color_opacity=&#8221;1&#8243; column_backdrop_filter=&#8221;none&#8221; column_shadow=&#8221;none&#8221; column_border_radius=&#8221;none&#8221; column_link_target=&#8221;_self&#8221; overflow=&#8221;visible&#8221; gradient_direction=&#8221;left_to_right&#8221; overlay_strength=&#8221;0.3&#8243; width=&#8221;1\/1&#8243; tablet_width_inherit=&#8221;default&#8221; animation_type=&#8221;default&#8221; bg_image_animation=&#8221;none&#8221; border_type=&#8221;simple&#8221; column_border_width=&#8221;none&#8221; column_border_style=&#8221;solid&#8221;][split_line_heading animation_type=&#8221;line-reveal-by-space&#8221; font_style=&#8221;h1&#8243; line_reveal_by_space_text_effect=&#8221;default&#8221; stagger_animation=&#8221;true&#8221; content_alignment=&#8221;default&#8221; mobile_content_alignment=&#8221;inherit&#8221; link_target=&#8221;_self&#8221; text_content=&#8221;Encuentranos&#8221; animation_delay=&#8221;500&#8243; animation_offset=&#8221;100%&#8221; font_size_tablet=&#8221;18&#8243; font_size_phone=&#8221;16&#8243; text_direction=&#8221;default&#8221;][\/split_line_heading][\/vc_column_inner][\/vc_row_inner][\/vc_column][\/vc_row][vc_row type=&#8221;in_container&#8221; full_screen_row_position=&#8221;middle&#8221; column_margin=&#8221;default&#8221; column_direction=&#8221;default&#8221; column_direction_tablet=&#8221;default&#8221; column_direction_phone=&#8221;default&#8221; scene_position=&#8221;center&#8221; text_color=&#8221;dark&#8221; text_align=&#8221;left&#8221; row_border_radius=&#8221;none&#8221; row_border_radius_applies=&#8221;bg&#8221; overflow=&#8221;visible&#8221; class=&#8221;row-margin&#8221; id=&#8221;row-text&#8221; overlay_strength=&#8221;0.3&#8243; gradient_direction=&#8221;left_to_right&#8221; shape_divider_position=&#8221;bottom&#8221; bg_image_animation=&#8221;none&#8221; gradient_type=&#8221;default&#8221; shape_type=&#8221;&#8221;][vc_column column_padding=&#8221;no-extra-padding&#8221; column_padding_tablet=&#8221;inherit&#8221; column_padding_phone=&#8221;inherit&#8221; column_padding_position=&#8221;all&#8221; column_element_direction_desktop=&#8221;default&#8221; column_element_spacing=&#8221;default&#8221; desktop_text_alignment=&#8221;default&#8221; tablet_text_alignment=&#8221;default&#8221; phone_text_alignment=&#8221;default&#8221; background_color_opacity=&#8221;1&#8243; background_hover_color_opacity=&#8221;1&#8243; column_backdrop_filter=&#8221;none&#8221; column_shadow=&#8221;none&#8221; column_border_radius=&#8221;none&#8221; column_link_target=&#8221;_self&#8221; column_position=&#8221;default&#8221; gradient_direction=&#8221;left_to_right&#8221; overlay_strength=&#8221;0.3&#8243; width=&#8221;1\/1&#8243; tablet_width_inherit=&#8221;default&#8221; animation_type=&#8221;default&#8221; bg_image_animation=&#8221;none&#8221; border_type=&#8221;simple&#8221; column_border_width=&#8221;none&#8221; column_border_style=&#8221;solid&#8221;][vc_column_text css=&#8221;&#8221; text_direction=&#8221;default&#8221;]Contamos con <strong>12 tiendas de grandes dimensiones<\/strong>, totalmente diferentes al concepto tienda de congelado convencionales donde todo se vende a granel.[\/vc_column_text][vc_column_text css=&#8221;&#8221; text_direction=&#8221;default&#8221;]\n<div class=\"sp\">\n<div class=\"inspectLayerContent block inspectRow\">\n<div class=\"content\">En nuestras tiendas todo se ofrece embolsado o empaquetado para evitar problemas de higiene.<\/div>\n<div><\/div>\n<div class=\"content\">Tambi\u00e9n podr\u00e1 encontrar m\u00e1s de 650 referencias distintas, divididas en diferentes familias: pescados, mariscos, carnes, verduras, precocinados, reposter\u00eda y helados.<\/div>\n<div><\/div>\n<div class=\"content\">Una de las ventajas que ofrecemos en nuestras tiendas es que podemos ofrecer productos a precio de almac\u00e9n gracias a que trabajamos con grandes cantidades de mercanc\u00eda lo cual nos permite trabajar con precios m\u00e1s bajos.<\/div>\n<\/div>\n<\/div>\n[\/vc_column_text][\/vc_column][\/vc_row][vc_row type=&#8221;full_width_background&#8221; full_screen_row_position=&#8221;middle&#8221; column_margin=&#8221;default&#8221; column_direction=&#8221;default&#8221; column_direction_tablet=&#8221;default&#8221; column_direction_phone=&#8221;default&#8221; scene_position=&#8221;center&#8221; text_color=&#8221;dark&#8221; text_align=&#8221;left&#8221; row_border_radius=&#8221;none&#8221; row_border_radius_applies=&#8221;bg&#8221; overflow=&#8221;visible&#8221; class=&#8221;row-margin&#8221; id=&#8221;row-map&#8221; overlay_strength=&#8221;0.3&#8243; gradient_direction=&#8221;left_to_right&#8221; shape_divider_position=&#8221;bottom&#8221; bg_image_animation=&#8221;none&#8221; gradient_type=&#8221;default&#8221; shape_type=&#8221;&#8221;][vc_column column_padding=&#8221;no-extra-padding&#8221; column_padding_tablet=&#8221;inherit&#8221; column_padding_phone=&#8221;inherit&#8221; column_padding_position=&#8221;all&#8221; column_element_direction_desktop=&#8221;default&#8221; column_element_spacing=&#8221;default&#8221; desktop_text_alignment=&#8221;default&#8221; tablet_text_alignment=&#8221;default&#8221; phone_text_alignment=&#8221;default&#8221; background_color_opacity=&#8221;1&#8243; background_hover_color_opacity=&#8221;1&#8243; column_backdrop_filter=&#8221;none&#8221; column_shadow=&#8221;none&#8221; column_border_radius=&#8221;none&#8221; column_link_target=&#8221;_self&#8221; column_position=&#8221;default&#8221; gradient_direction=&#8221;left_to_right&#8221; overlay_strength=&#8221;0.3&#8243; width=&#8221;1\/1&#8243; tablet_width_inherit=&#8221;default&#8221; animation_type=&#8221;default&#8221; bg_image_animation=&#8221;none&#8221; border_type=&#8221;simple&#8221; column_border_width=&#8221;none&#8221; column_border_style=&#8221;solid&#8221;][split_line_heading animation_type=&#8221;line-reveal-by-space&#8221; font_style=&#8221;h2&#8243; line_reveal_by_space_text_effect=&#8221;default&#8221; content_alignment=&#8221;default&#8221; mobile_content_alignment=&#8221;inherit&#8221; link_target=&#8221;_self&#8221; text_content=&#8221;Encuentranos&#8221; text_direction=&#8221;default&#8221;][\/split_line_heading][vc_column_text css=&#8221;&#8221; text_direction=&#8221;default&#8221;]\n<div>\n<div><\/div>\n<\/div>\n[\/vc_column_text][\/vc_column][\/vc_row]\n","protected":false},"excerpt":{"rendered":"<p>[vc_row type=&#8221;full_width_content&#8221; full_screen_row_position=&#8221;middle&#8221; column_margin=&#8221;default&#8221; column_direction=&#8221;default&#8221; column_direction_tablet=&#8221;default&#8221; column_direction_phone=&#8221;default&#8221; bg_image=&#8221;3155&#8243; bg_position=&#8221;center center&#8221; background_image_loading=&#8221;default&#8221; bg_repeat=&#8221;no-repeat&#8221; scene_position=&#8221;center&#8221; top_padding=&#8221;12%&#8221; constrain_group_1=&#8221;yes&#8221; bottom_padding=&#8221;12%&#8221; left_padding_desktop=&#8221;10%&#8221; constrain_group_2=&#8221;yes&#8221; right_padding_desktop=&#8221;10%&#8221; top_padding_tablet=&#8221;25%&#8221; text_color=&#8221;light&#8221; text_align=&#8221;left&#8221; row_border_radius=&#8221;none&#8221; row_border_radius_applies=&#8221;bg&#8221; overflow=&#8221;visible&#8221; id=&#8221;custom-header&#8221; enable_gradient=&#8221;true&#8221; color_overlay=&#8221;rgba(10,10,10,0.4)&#8221; color_overlay_2=&#8221;#0a0a0a&#8221; advanced_gradient_angle=&#8221;0&#8243;&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","meta":{"_acf_changed":false,"footnotes":""},"class_list":["post-330","page","type-page","status-publish"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.mardequel.com\/blog\/wp-json\/wp\/v2\/pages\/330","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mardequel.com\/blog\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.mardequel.com\/blog\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.mardequel.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mardequel.com\/blog\/wp-json\/wp\/v2\/comments?post=330"}],"version-history":[{"count":49,"href":"https:\/\/www.mardequel.com\/blog\/wp-json\/wp\/v2\/pages\/330\/revisions"}],"predecessor-version":[{"id":3198,"href":"https:\/\/www.mardequel.com\/blog\/wp-json\/wp\/v2\/pages\/330\/revisions\/3198"}],"wp:attachment":[{"href":"https:\/\/www.mardequel.com\/blog\/wp-json\/wp\/v2\/media?parent=330"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}