<script nowprocket>
(function () {

    function getMenu() {
        return document.getElementById('apus-mobile-menu');
    }

    function abrirMenu(menu) {

        menu.classList.add('zews-menu-abierto');

        menu.style.setProperty(
            'transform',
            'translateX(0)',
            'important'
        );

        menu.style.setProperty(
            '-webkit-transform',
            'translateX(0)',
            'important'
        );

        menu.style.setProperty(
            'visibility',
            'visible',
            'important'
        );

        menu.style.setProperty(
            'opacity',
            '1',
            'important'
        );

        document.body.classList.add('zews-menu-mobile-open');
    }


    function cerrarMenu(menu) {

        menu.classList.remove('zews-menu-abierto');

        menu.style.setProperty(
            'transform',
            'translateX(-100%)',
            'important'
        );

        menu.style.setProperty(
            '-webkit-transform',
            'translateX(-100%)',
            'important'
        );

        menu.style.setProperty(
            'visibility',
            'hidden',
            'important'
        );

        menu.style.setProperty(
            'opacity',
            '0',
            'important'
        );

        document.body.classList.remove('zews-menu-mobile-open');
    }


    /*
     * Capturamos TODOS los botones del offcanvas:
     *
     * - Hamburguesa exterior
     * - Botón X interior
     *
     * En fase capture para adelantarnos al JS original del tema.
     */
    document.addEventListener('click', function (e) {

        const boton = e.target.closest(
            'button[data-toggle="offcanvas"].btn-toggle-canvas'
        );

        if (!boton) {
            return;
        }

        const menu = getMenu();

        if (!menu) {
            return;
        }

        e.preventDefault();
        e.stopPropagation();
        e.stopImmediatePropagation();

        /*
         * Si el botón está DENTRO del menú,
         * necesariamente es el botón de cerrar.
         */
        if (menu.contains(boton)) {

            cerrarMenu(menu);
            return;
        }

        /*
         * Si está fuera, es el botón hamburguesa.
         */
        if (menu.classList.contains('zews-menu-abierto')) {

            cerrarMenu(menu);

        } else {

            abrirMenu(menu);

        }

    }, true);


    /*
     * Cerrar con ESC.
     */
    document.addEventListener('keydown', function (e) {

        if (e.key !== 'Escape') {
            return;
        }

        const menu = getMenu();

        if (
            menu &&
            menu.classList.contains('zews-menu-abierto')
        ) {
            cerrarMenu(menu);
        }

    });

})();
</script><?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="//www.tresjotas.com/wp-content/plugins/wordpress-seo/css/main-sitemap.xsl"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
	<sitemap>
		<loc>https://www.tresjotas.com/post-sitemap.xml</loc>
		<lastmod>2026-07-16T14:17:04+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://www.tresjotas.com/page-sitemap.xml</loc>
		<lastmod>2026-08-13T22:34:59+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://www.tresjotas.com/category-sitemap.xml</loc>
		<lastmod>2026-07-16T14:17:04+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://www.tresjotas.com/post_tag-sitemap.xml</loc>
		<lastmod>2026-07-16T14:17:04+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://www.tresjotas.com/corte_premium-sitemap.xml</loc>
		<lastmod>2022-06-13T21:03:24+00:00</lastmod>
	</sitemap>
<sitemap>
<loc>https://www.tresjotas.com/video-sitemap.xml</loc>
<lastmod>2026-08-13T22:34:59+00:00</lastmod>
</sitemap>
<sitemap>
<loc>https://www.tresjotas.com/geo-sitemap.xml</loc>
<lastmod>2022-07-26T16:00:34+00:00</lastmod>
</sitemap>
</sitemapindex>
<!-- XML Sitemap generated by Yoast SEO -->