(function() { const selector = '#map-container > div > div:nth-child(1)'; let targetDiv = null; function hideDiv() { targetDiv = document.querySelector(selector); if (targetDiv) { targetDiv.style.display = 'none'; } } function showDiv() { if (targetDiv) { targetDiv.style.display = ''; } } hideDiv(); window['abrete-sesamo'] = showDiv; window['cierrate-sesamo'] = hideDiv; })();