{
  "title": "Wara",
  "audio_url": "https://podtrac.com/pts/redirect.mp3/traffic.omny.fm/d/clips/e73c998e-6e60-432f-8610-ae210140c5b1/b3c9b6e7-72ba-45c4-aff9-b1e7012d213b/1b4d32cc-dc50-450d-a45a-b1e701305ffe/audio.mp3?utm_source=Podcast&in_playlist=092b66a8-4329-4183-bb12-b1e7012d216f",
  "segments": [
    {
      "speaker": "Unknown",
      "text": "Page not found - Radio Ambulante var QodeAjaxUrl = \"https://radioambulante.org/wp-admin/admin-ajax.php\" {\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://radioambulante.org/#organization\",\"name\":\"Radio Ambulante Studios\",\"url\":\"https://radioambulante.org/\",\"sameAs\":[\"https://www.facebook.com/radioambulante/\",\"https://www.instagram.com/radioambulante/\",\"https://es.wikipedia.org/wiki/Radio_Ambulante\",\"https://twitter.com/radioambulante\"],\"logo\":{\"@type\":\"ImageObject\",\"@id\":\"https://radioambulante.org/#logo\",\"url\":\"https://radioambulante.org/wp-content/uploads/2020/01/RA_Podcast_Tile-scaled.jpg\",\"width\":2560,\"height\":2560,\"caption\":\"Radio Ambulante Studios\"},\"image\":{\"@id\":\"https://radioambulante.org/#logo\"}},{\"@type\":\"WebSite\",\"@id\":\"https://radioambulante.org/#website\",\"url\":\"https://radioambulante.org/\",\"name\":\"Radio Ambulante\",\"description\":\"Historias latinoamericanas en audio\",\"publisher\":{\"@id\":\"https://radioambulante.org/#organization\"},\"potentialAction\":{\"@type\":\"SearchAction\",\"target\":\"https://radioambulante.org/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}}]} window._wpemojiSettings = {\"baseUrl\":\"https:\\/\\/s.w.org\\/images\\/core\\/emoji\\/12.0.0-1\\/72x72\\/\",\"ext\":\".png\",\"svgUrl\":\"https:\\/\\/s.w.org\\/images\\/core\\/emoji\\/12.0.0-1\\/svg\\/\",\"svgExt\":\".svg\",\"source\":{\"concatemoji\":\"https:\\/\\/radioambulante.org\\/wp-includes\\/js\\/wp-emoji-release.min.js?ver=b05503cf4425af7892c6126acee229f5\"}}; !function(e,a,t){var n,r,o,i=a.createElement(\"canvas\"),p=i.getContext&&i.getContext(\"2d\");function s(e,t){var a=String.fromCharCode;p.clearRect(0,0,i.width,i.height),p.fillText(a.apply(this,e),0,0);e=i.toDataURL();return p.clearRect(0,0,i.width,i.height),p.fillText(a.apply(this,t),0,0),e===i.toDataURL()}function c(e){var t=a.createElement(\"script\");t.src=e,t.defer=t.type=\"text/javascript\",a.getElementsByTagName(\"head\")[0].appendChild(t)}for(o=Array(\"flag\",\"emoji\"),t.supports={everything:!0,everythingExceptFlag:!0},r=0;r img.wp-smiley, img.emoji { display: inline !important; border: none !important; box-shadow: none !important; height: 1em !important; width: 1em !important; margin: 0 .07em !important; vertical-align: -0.1em !important; background: none !important; padding: 0 !important; } .wpml-ls-statics-shortcode_actions, .wpml-ls-statics-shortcode_actions .wpml-ls-sub-menu, .wpml-ls-statics-shortcode_actions a {border-color:#cdcdcd;}.wpml-ls-statics-shortcode_actions a {color:#444444;background-color:#ffffff;}.wpml-ls-statics-shortcode_actions a:hover,.wpml-ls-statics-shortcode_actions a:focus {color:#000000;background-color:#eeeeee;}.wpml-ls-statics-shortcode_actions .wpml-ls-current-language>a {color:#444444;background-color:#ffffff;}.wpml-ls-statics-shortcode_actions .wpml-ls-current-language:hover>a, .wpml-ls-statics-shortcode_actions .wpml-ls-current-language>a:focus {color:#000000;background-color:#eeeeee;} .wpml-ls-sidebars-header_fixed_right a {color:#222222;} .error404.disabled_footer_top .footer_top_holder, .error404.disabled_footer_bottom .footer_bottom_holder { display: none;} /* */ window.a2a_config=window.a2a_config||{};a2a_config.callbacks=[];a2a_config.overlays=[];a2a_config.templates={};a2a_localize = { Share: \"Compartir\", Save: \"Guardar\", Subscribe: \"Suscribirse\", Email: \"Correo electrónico\", Bookmark: \"Marcador\", ShowAll: \"Mostrar todo\", ShowLess: \"Mostrar menos\", FindServices: \"Encontrar servicio(s)\", FindAnyServiceToAddTo: \"Encuentra al instante cualquier servicio para añadir a\", PoweredBy: \"Funciona con\", ShareViaEmail: \"Compartir por correo electrónico\", SubscribeViaEmail: \"Suscribirse a través de correo electrónico\", BookmarkInYourBrowser: \"Añadir a marcadores de tu navegador\", BookmarkInstructions: \"Presiona «Ctrl+D» o «\\u2318+D» para añadir esta página a marcadores\", AddToYourFavorites: \"Añadir a tus favoritos\", SendFromWebOrProgram: \"Enviar desde cualquier dirección o programa de correo electrónico \", EmailProgram: \"Programa de correo electrónico\", More: \"Más…\", ThanksForSharing: \"¡Gracias por compartir!\", ThanksForFollowing: \"¡Gracias por seguirmos!\" }; a2a_config.icon_color=\"transparent\"; (function(d,s,a,b){a=d.createElement(s);b=d.getElementsByTagName(s)[0];a.async=1;a.src=\"https://static.addtoany.com/menu/page.js\";b.parentNode.insertBefore(a,b);})(document,\"script\"); .ras-title h1 { font-size: 35px !important; margin-bottom: 20px !important; line-height: 1.3; } .ras-body p { font-size: 23px !important; } /* Form newsletter RA */ .ras-newsletter-form { max-width: 760px !important; margin: 40px auto 0 auto !important; } .ras-newsletter-form form { max-width: 620px !important; margin: 0 auto !important; } .ras-newsletter-form label, .ras-newsletter-form p, .ras-newsletter-form strong { font-size: 23px !important; line-height: 1.45 !important; } /* Hace que cada label/input vaya en línea nueva */ .ras-newsletter-form label { display: block !important; margin-top: 22px !important; margin-bottom: 8px !important; } /* Inputs de correo y nombre */ .ras-newsletter-form input[type=\"email\"], .ras-newsletter-form input[type=\"text\"] { display: block !important; width: 100% !important; max-width: 100% !important; box-sizing: border-box !important; padding: 12px 14px !important; margin: 0 0 24px 0 !important; border: 2px solid #cfcfcf !important; border-radius: 0 !important; font-size: 23px !important; background: #fff !important; } /* Pregunta de boletines */ .ras-newsletter-form p { margin-top: 28px !important; margin-bottom: 16px !important; } /* Checkboxes */ .ras-newsletter-form input[type=\"checkbox\"] { margin-right: 12px !important; transform: scale(1.4) !important; } .ras-newsletter-form label input[type=\"checkbox\"] { display: inline-block !important; } /* Botón */ .ras-newsletter-form input[type=\"submit\"] { display: block !important; margin: 36px auto 0 auto !important; padding: 16px 46px !important; border: none !important; border-radius: 999px !important; background: #ff0050 !important; color: #fff !important; font-size: 23px !important; font-weight: 700 !important; cursor: pointer !important; text-transform: none !important; } .ras-newsletter-form input[type=\"submit\"]:hover { opacity: 0.85 !important; } .wpb_animate_when_almost_visible { opacity: 1; } // Allá, en Lurigancho play pause stop --> mute max volume --> repeat --> Update Required To play the media you will need to either update your browser to a recent version or update your Flash plugin. var _gaq = _gaq || []; _gaq.push(['_setAccount', '23768349']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-4T9EPQELQ8'); window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-4T9EPQELQ8'); English Español TIENDA DONAR Episodios Todos los Episodios Temporadas Temporada 1 Temporada 2 Temporada 3 Temporada 4 Temporada 5 Temporada 6 Temporada 7 Temporada 8 Temporada 9 Temporada 10 Temporada 11 Temporada 12 Temporada 13 Temporada 14 Temporada 15 Playlist Sobre nosotros Introducción Cómo escucharnos El hilo Central Equipo FAQ Generales Cómo proponer historias Clubes de Escucha Prensa Contáctanos Aprende español Educación Escuela RA RA en el aula Extras Newsletter Artículo Playlist Galería Infografía Multimedia Anuncio Tienda Apóyanos Preguntas Frecuentes – Episodios Todos los Episodios Temporadas Temporada 1 Temporada 2 Temporada 3 Temporada 4 Temporada 5 Temporada 6 Temporada 7 Temporada 8 Temporada 9 Temporada 10 Temporada 11 Temporada 12 Temporada 13 Temporada 14 Temporada 15 Playlist Sobre nosotros Introducción Cómo escucharnos El hilo Central Equipo FAQ Generales Cómo proponer historias Clubes de Escucha Prensa Contáctanos Aprende español Educación Escuela RA RA en el aula Extras Newsletter Artículo Playlist Galería Infografía Multimedia Anuncio Tienda Apóyanos Preguntas Frecuentes /var/www/html/wp-content/themes/bridge-child/404.php --> 404 - Page not found ¡Ups! No pudimos encontrar el contenido que estabas buscando La página que estás buscando no existe. Quizás ha sido movida o eliminada. Puedes intentar volviendo a la página de inicio y ver si logras encontrar algún otro contenido de tu interés. --> Volver a la página inicial Este podcast es propiedad de Radio Ambulante Studios. Cualquier copia, distribución o adaptación está expresamente prohibida sin previa autorización. SUSCRÍBETE A NUESTRO BOLETÍN Enlaces Útiles Inicio Episodios Aprende español Apóyanos Contacto Tienda (function(d,u,ac){var s=d.createElement('script');s.type='text/javascript';s.src='https://a.omappapi.com/app/js/api.min.js';s.async=true;s.dataset.user=u;s.dataset.campaign=ac;d.getElementsByTagName('head')[0].appendChild(s);})(document,78350,'baeix3so3a2ynyqdtuly'); (function(d,u,ac){var s=d.createElement('script');s.type='text/javascript';s.src='https://a.omappapi.com/app/js/api.min.js';s.async=true;s.dataset.user=u;s.dataset.campaign=ac;d.getElementsByTagName('head')[0].appendChild(s);})(document,78350,'mxit7ehln3hyrjdewe4o'); (function(d,u,ac){var s=d.createElement('script');s.type='text/javascript';s.src='https://a.omappapi.com/app/js/api.min.js';s.async=true;s.dataset.user=u;s.dataset.campaign=ac;d.getElementsByTagName('head')[0].appendChild(s);})(document,78350,'i52dbculbhd1qjjbgnvr'); (function(d,u,ac){var s=d.createElement('script');s.type='text/javascript';s.src='https://a.omappapi.com/app/js/api.min.js';s.async=true;s.dataset.user=u;s.dataset.campaign=ac;d.getElementsByTagName('head')[0].appendChild(s);})(document,78350,'ia3wjkvmf2iqpdpymzi5'); var baeix3so3a2ynyqdtuly_shortcode = true;var mxit7ehln3hyrjdewe4o_shortcode = true;var i52dbculbhd1qjjbgnvr_shortcode = true;var ia3wjkvmf2iqpdpymzi5_shortcode = true; /* */ /* */ /* */ ( 'fetch' in window ) || document.write( ' ' );( document.contains ) || document.write( ' ' );( window.FormData && window.FormData.prototype.keys ) || document.write( ' ' );( Element.prototype.matches && Element.prototype.closest ) || document.write( ' ' ); /* */ jQuery(document).ready(function(jQuery){jQuery.datepicker.setDefaults({\"closeText\":\"Cerrar\",\"currentText\":\"Hoy\",\"monthNames\":[\"enero\",\"febrero\",\"marzo\",\"abril\",\"mayo\",\"junio\",\"julio\",\"agosto\",\"septiembre\",\"octubre\",\"noviembre\",\"diciembre\"],\"monthNamesShort\":[\"Ene\",\"Feb\",\"Mar\",\"Abr\",\"May\",\"Jun\",\"Jul\",\"Ago\",\"Sep\",\"Oct\",\"Nov\",\"Dic\"],\"nextText\":\"Siguiente\",\"prevText\":\"Anterior\",\"dayNames\":[\"domingo\",\"lunes\",\"martes\",\"mi\\u00e9rcoles\",\"jueves\",\"viernes\",\"s\\u00e1bado\"],\"dayNamesShort\":[\"Dom\",\"Lun\",\"Mar\",\"Mi\\u00e9\",\"Jue\",\"Vie\",\"S\\u00e1b\"],\"dayNamesMin\":[\"D\",\"L\",\"M\",\"X\",\"J\",\"V\",\"S\"],\"dateFormat\":\"mm\\/dd\\/yy\",\"firstDay\":1,\"isRTL\":false});}); (function(d){var s=d.createElement(\"script\");s.type=\"text/javascript\";s.src=\"https://a.omappapi.com/app/js/api.min.js\";s.async=true;s.id=\"omapi-script\";d.getElementsByTagName(\"head\")[0].appendChild(s);})(document); (function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = \"//connect.facebook.net/en_US/sdk.js#xfbml=1&appId=1737886959775826&version=v2.4\"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk')); var omapi_localized = { ajax: 'https://radioambulante.org/wp-admin/admin-ajax.php?optin-monster-ajax-route=1', nonce: '7d51fa26be', slugs: {\"baeix3so3a2ynyqdtuly\":{\"slug\":\"baeix3so3a2ynyqdtuly\",\"mailpoet\":false},\"mxit7ehln3hyrjdewe4o\":{\"slug\":\"mxit7ehln3hyrjdewe4o\",\"mailpoet\":false},\"i52dbculbhd1qjjbgnvr\":{\"slug\":\"i52dbculbhd1qjjbgnvr\",\"mailpoet\":false},\"ia3wjkvmf2iqpdpymzi5\":{\"slug\":\"ia3wjkvmf2iqpdpymzi5\",\"mailpoet\":false}} }; var omapi_data = {\"object_id\":\"0\",\"object_key\":\"\",\"object_type\":\"\",\"term_ids\":[],\"wp_json\":\"https:\\/\\/radioambulante.org\\/wp-json\",\"wc_active\":false,\"edd_active\":false,\"nonce\":\"a33231ca6f\"}; --> (function (e, b) { if (!b.__SV) { var a, f, i, g; window.mixpanel = b; b._i = []; b.init = function (a, e, d) { function f(b, h) { var a = h.split(\".\"); 2 == a.length && (b = b[a[0]], h = a[1]); b[h] = function () { b.push([h].concat(Array.prototype.slice.call(arguments, 0))) } } var c = b; \"undefined\" !== typeof d ? c = b[d] = [] : d = \"mixpanel\"; c.people = c.people || []; c.toString = function (b) { var a = \"mixpanel\"; \"mixpanel\" !== d && (a += \".\" + d); b || (a += \" (stub)\"); return a }; c.people.toString = function () { return c.toString(1) + \".people (stub)\" }; i = \"disable time_event track track_pageview track_links track_forms register register_once alias unregister identify name_tag set_config people.set people.set_once people.increment people.append people.union people.track_charge people.clear_charges people.delete_user\".split(\" \"); for (g = 0; g // Google Analytics tracking script var _gaq = _gaq || []; _gaq.push(['_setAccount', 'G-4T9EPQELQ8']); _gaq.push(['_trackPageview']); (function () { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); // Build JS playlist from latest episodes var playlist = [ { \"title\": \"A seis mil metros de altura\", \"nro\": \"\", \"audio\": \"https://podtrac.com/pts/redirect.mp3/traffic.omny.fm/d/clips/e73c998e-6e60-432f-8610-ae210140c5b1/b3c9b6e7-72ba-45c4-aff9-b1e7012d213b/31404561-fae4-4b90-95c6-b436014fe0d2/audio.mp3\", \"id\": \"53353\", \"link\": \"https://radioambulante.org/audio/a-seis-mil-metros-de-altura\", \"url\": \"\" },{ \"title\": \"Desde Central, Las Reinas de Queens: Episodio 1. Santa, Madre, Reina\", \"nro\": \"\", \"audio\": \"https://podtrac.com/pts/redirect.mp3/traffic.omny.fm/d/clips/e73c998e-6e60-432f-8610-ae210140c5b1/b3c9b6e7-72ba-45c4-aff9-b1e7012d213b/aebb5f17-93db-484e-83cd-b42e0129da98/audio.mp3\", \"id\": \"53214\", \"link\": \"https://radioambulante.org/audio/central-las-reinas-de-queens-santa-madre-reina\", \"url\": \"\" },{ \"title\": \"Contra los biopiratas\", \"nro\": \"\", \"audio\": \"https://podtrac.com/pts/redirect.mp3/traffic.omny.fm/d/clips/e73c998e-6e60-432f-8610-ae210140c5b1/b3c9b6e7-72ba-45c4-aff9-b1e7012d213b/57a9a20a-d02b-4fd3-b742-b42801048367/audio.mp3\", \"id\": \"53146\", \"link\": \"https://radioambulante.org/audio/contra-los-biopiratas\", \"url\": \"\" },{ \"title\": \"El podio\", \"nro\": \"\", \"audio\": \"https://podtrac.com/pts/redirect.mp3/traffic.omny.fm/d/clips/e73c998e-6e60-432f-8610-ae210140c5b1/b3c9b6e7-72ba-45c4-aff9-b1e7012d213b/8310302a-8058-47a3-954c-b42400e8e180/audio.mp3\", \"id\": \"52827\", \"link\": \"https://radioambulante.org/audio/el-podio\", \"url\": \"\" },{ \"title\": \"Disparos al cielo [Repetición]\", \"nro\": \"\", \"audio\": \"https://podtrac.com/pts/redirect.mp3/traffic.omny.fm/d/clips/e73c998e-6e60-432f-8610-ae210140c5b1/b3c9b6e7-72ba-45c4-aff9-b1e7012d213b/adf84b9b-a7b1-4978-a5ce-b41a0104d4c7/audio.mp3\", \"id\": \"52677\", \"link\": \"https://radioambulante.org/audio/disparos-al-cielo-repeticion\", \"url\": \"\" },{ \"title\": \"Un vampiro entre nosotros\", \"nro\": \"\", \"audio\": \"https://podtrac.com/pts/redirect.mp3/traffic.omny.fm/d/clips/e73c998e-6e60-432f-8610-ae210140c5b1/b3c9b6e7-72ba-45c4-aff9-b1e7012d213b/0552726f-131f-44e9-8e60-b41300f46fec/audio.mp3\", \"id\": \"52637\", \"link\": \"https://radioambulante.org/audio/un-vampiro-entre-nosotros\", \"url\": \"\" },{ \"title\": \"El retorno\", \"nro\": \"\", \"audio\": \"https://podtrac.com/pts/redirect.mp3/traffic.omny.fm/d/clips/e73c998e-6e60-432f-8610-ae210140c5b1/b3c9b6e7-72ba-45c4-aff9-b1e7012d213b/3a1ff5cc-3a77-4a0f-8078-b40c00fc102b/audio.mp3\", \"id\": \"52593\", \"link\": \"https://radioambulante.org/audio/el-retorno\", \"url\": \"\" },{ \"title\": \"Camiseta roja, jean azul\", \"nro\": \"\", \"audio\": \"https://podtrac.com/pts/redirect.mp3/traffic.omny.fm/d/clips/e73c998e-6e60-432f-8610-ae210140c5b1/b3c9b6e7-72ba-45c4-aff9-b1e7012d213b/4e311ad0-a95f-476c-bb6d-b40501052c5a/audio.mp3\", \"id\": \"52556\", \"link\": \"https://radioambulante.org/audio/camiseta-roja-jean-azul\", \"url\": \"\" },{ \"title\": \"Atentamente: anónimo [Repetición]\", \"nro\": \"\", \"audio\": \"https://podtrac.com/pts/redirect.mp3/traffic.omny.fm/d/clips/e73c998e-6e60-432f-8610-ae210140c5b1/b3c9b6e7-72ba-45c4-aff9-b1e7012d213b/6ac47c7d-c0c3-4f52-9bd2-b3fe0146fe0f/audio.mp3\", \"id\": \"52496\", \"link\": \"https://radioambulante.org/audio/repeat-atentamente-anonimo\", \"url\": \"\" }, ]; var jpTime; var wp_footer = document.getElementById(\"wp_footer\").innerHTML; function whenDOMReady() { jQuery(window).load(function () { \"use strict\"; jQuery('.touch .main_menu li:has(div.second)').doubleTapToGo(); // load script to close menu on touch devices setLeftPostionedMenuPadding(); initSmallImageBlogHeight(); setDropDownMenuPosition(); initDropDownMenu(); initPortfolio(); initPortfolioZIndex(); initPortfolioSingleInfo(); initTestimonials(); initTestimonialsCarousel(); initVideoBackgroundSize(); initBlog(); initBlogMasonryFullWidth(); initQBlog(); initPortfolioJustifiedGallery(); initPortfolioMasonry(); initPortfolioMasonryFilter(); initTabs(); qodeInitAdvancedTabs(); qodeInitAdvancedTabsIcons(); countClientsPerRow(); animatedTextIconHeight(); countAnimatedTextIconPerRow(); initTitleAreaAnimation(); setContentBottomMargin(); footerWidth(); if (jQuery('nav.content_menu').length > 0) { content_menu_position = jQuery('nav.content_menu').offset().top; contentMenuPosition(); } contentMenuCheckLastSection(); initQodeCarousel(); initPortfolioSlider(); initBlogSlider(); qodeInitBlogCarouselTitled(); initPreviewSlider(); initInDeviceSlider(); initTabsActiveBorder(); setActiveTabBorder(); initImageHover(); jQuery('header.stick_with_left_right_menu .q_logo a').css('visibility', 'visible'); setMargingsForLeftAndRightMenu(); initImageGallerySliderNoSpace(); initVerticalSplitSlider(); initParallax(); //has to be here on last place since some function is interfering with parallax initQodeElementAnimationSkrollr(); qodeBlogCompundMasonryGallery().init(); qodeInitStickyWidget(); qodeBlogHeadlines(); qodeCardsSlider().load(); initContentSlider(); qodePageTransitionEffect(); qodeContactPageAcceptance(); setTimeout(function () { checkAnchorOnScroll(); qodeBlogGalleryAnimation(); checkAnchorOnLoad(); // it has to be after content top margin initialization to know where to scroll checkHeaderStyleOnScroll(); //moved to window load because sections are not fully initialized on dom ready and calculations are wrong if (jQuery('.no-touch .carousel').length) { skrollr_slider.refresh(); } //in order to reload rest of scroll animation on same page after page loads }, 700); //timeout is set because of some function that interferes with calculating }); jQuery(document).ready(function ($) { \"use strict\"; $(\".mobile_menu_button\").on(\"click\", function (e) { e.preventDefault(); $(\"nav.mobile_menu\").toggleClass(\"show\"); $(\"#searchform\").removeClass(\"show\"); return false; }); $(\"nav.mobile_menu ul li a, .menu_bottom .q_logo a\").on(\"click\", function () { $(\"nav.mobile_menu\").removeClass(\"show\"); }); $(\"nav.mobile_menu ul>li.has_sub>span.mobile_arrow\").click(function () { $(this).parent().toggleClass(\"show\"); }); $('#ra-meta h2.mobile').click(function () { jQuery(\"#ra-meta\").toggleClass(\"closed-mobile\"); }); if ($('header').hasClass('regular')) { content_menu_top = 0; } if ($('header').hasClass('fixed_top_header')) { content_menu_top = header_height; } if ($('header').hasClass('fixed')) { content_menu_top = min_header_height_scroll; } if ($('header').hasClass('fixed_hiding')) { content_menu_top = min_header_height_fixed_hidden + 40; //40 is top and bottom margin of logo } if ($('header').hasClass('stick') || $('header').hasClass('stick_with_left_right_menu')) { content_menu_top = 0; } if ((!$('header.page_header').hasClass('scroll_top')) && ($('header.page_header').hasClass('has_top')) && ($('header.page_header').hasClass('fixed'))) { content_menu_top_add = 34; } if ($('body').hasClass('vertical_menu_enabled')) { content_menu_top = 0; content_menu_top_add = 0; var min_header_height_sticky = 0; } paspartu_width = $window_width 1000) { headerSize($scroll); } else { logoSizeOnSmallScreens(); } if ($(window).width() > 768) { contentMenuPosition(); } contentMenuCheckLastSection(); $('header:not(.stick_with_left_right_menu) .q_logo a').css('visibility', 'visible'); /* set header and content menu position and appearance on page load - END */ initFullScreenTemplate(); showHideVerticalMenu(); initMasonryGallery(); initLoadNextPostOnBottom(); initBlogMasonryGallery(); initBlogGallery(); qodeV2Button().init(); qodeCardsSlider().init(); qodeCardsGallery(); qodeInitEllipticalSlider(); qodeInitPricingCalculator(); qodeSlidingImageHolder(); qodeOwlSlider(); qodeScrollingImage(); $(\".slider\").owlCarousel({ items: 1, loop: true, autoplay: true, autoplayTimeout: 3500, autoplayHoverPause: true, autoplaySpeed: 700, nav: true, dots: true, navSpeed: 700, autoWidth: false, }); $(\"#seasons-slider\").owlCarousel({ loop: true, autoplay: true, autoplayTimeout: 3500, autoplayHoverPause: true, margin: 10, nav: true, responsive: { 0: { items: 1 }, 640: { items: 2 }, 990: { items: 3 }, 1024: { items: 4 } } }); $(\"#nav a[href^='#']\").on('click', function (event) { // Make sure this.hash has a value before overriding default behavior event.preventDefault(); // Store hash var hash = this.hash; // Using jQuery's animate() method to add smooth page scroll $('html, body').animate({ scrollTop: $(hash).offset().top - 80 }, 1500, function () { // Add hash (#) to URL when done scrolling (default click behavior) return false; }); }); $(\"#searchsubmit\").click(function (e) { $(\"nav.mobile_menu\").removeClass(\"show\"); if (!$(\"#s\").val()) { e.preventDefault; $(\"#searchform\").toggleClass(\"show\"); $(\"#s\").focus(); return false; } }); $(window).resize(function () { if ($(\"#ra-meta\").length) $(\"#ra-meta\").css(\"width\", $(\".qode-post-heading\").width() / 2).css(\"right\", $(\".qode-news-single-news-template.qode-news-holder\").offset().left); }); $(window).resize(); if ($(\"#ra-meta\").length && !$(\".qode-post-heading .qode-post-image .loadaudio\").length) $(\"#ra-meta .loadaudio\").clone().appendTo(\".qode-post-heading .qode-post-image\"); if ($(\"#nav\").length) { var leftPos = $(\"#about,#podcast-apps\").offset().left + $(\"#overview\").width(); var topPos = $(\"#nav\")[0].getBoundingClientRect().top + $(window)['scrollTop'](); var bottomPos = $(\"#nav\")[0].getBoundingClientRect().bottom; var offset = 90 - $(\"#nav\").height() + topPos; if ($(\"#wpadminbar\").length) offset += $(\"#wpadminbar\").height(); $(window).on(\"scroll resize\", function () { if ($(\"#nav\").length) { $('#nav').css(\"left\", $(\"#about,#podcast-apps\").offset().left + $(\"#overview\").width() + \"px\"); if (($(window).scrollTop() > offset) && !$(\"#nav\").hasClass(\"element-is-sticky\")) { $('#nav').addClass('element-is-sticky').css(\"left\", $(\"#about,#podcast-apps\").offset().left + $(\"#overview\").width() + \"px\").css(\"top\", \"100px\").css(\"position\", \"fixed\"); } else { if ($(window).scrollTop() = ($(\".vc_row.about:last-of-type\").offset().top + $(\".vc_row.about:last-of-type\").height() - 300)) $(\"#nav\").fadeOut(); else $(\"#nav\").fadeIn(); } }); } $(window).bind(\"scroll\", function () { if ($(\"header\").hasClass(\"sticky\") && !$(\"#jp_container_1\").hasClass(\"fixed\")) { $(\"#jp_container_1\").hide().addClass(\"fixed\").fadeIn(600); } else if (!$(\"header\").hasClass(\"sticky\") && $(\"#jp_container_1\").hasClass(\"fixed\")) { $(\"#jp_container_1\").hide().removeClass(\"fixed\").fadeIn(600); } }); /* Player functions */ var jp = $('#jquery_jplayer_1'), jpData = jp.data('jPlayer'); if ($(\".jp-title strong:not(.crawl)\").width() > $(\".jp-title\").width()) { $(\".jp-title strong\").html(\" \" + $(\".jp-title strong\").text() + \" / \" + $(\".jp-title strong\").text() + \" \").addClass(\"crawl\"); crawl_loop(); } if ($(\".header_top p\").length) $(\"#jp_container_1\").css(\"top\", \"30px\"); jp.bind($.jPlayer.event.ended, function (event) { // Play next episode on the playlist console.log(\"Auto playing next episode: \" + playlist[0].title); setTimeout(function () { jp.jPlayer(\"setMedia\", { m4a: playlist[0].audio, title: playlist[0].title, }); $(\".jp-title\").attr(\"href\", playlist[0].link); $(\".jp-title span\").text(\"Episodio #\" + playlist[0].nro); $(\".jp-title strong\").text(playlist[0].title); if ($(\".jp-title strong\").width() > $(\".jp-title\").width()) { $(\".jp-title strong\").html(\" \" + $(\".jp-title strong\").text() + \" / \" + $(\".jp-title strong\").text() + \" \").addClass(\"crawl\"); crawl_loop(); } else { $(\".jp-title .crawl\").removeClass(\"crawl\"); } $(\".loadaudio.playing\").removeClass(\"playing\"); $(\".loadaudio.aid-\" + playlist[0].id).addClass(\"playing\"); jp.attr(\"data-aid\", playlist[0].id); $(\"#jp_container_1\").attr(\"data-aid\", playlist[0].id); jp.jPlayer(\"play\"); // Remove played pisode from the playlist playlist.shift(); }, 100); }); jp.bind($.jPlayer.event.loadeddata, function (event) { $(\"button.jp-play.loading, button.jp-pause.loading\").removeClass(\"loading\"); console.log(\"Audio data loaded in: \" + ((Date.now() - jpTime) / 1000) + \"seg\"); }); $(\".jp-fw\").click(function () { jp.jPlayer(\"play\", jpData.status.currentTime + 10); }); $(\".jp-rw\").click(function () { jp.jPlayer(\"play\", jpData.status.currentTime - 10); }); $(\".jp-play\").click(function () { $(\".loadaudio.\" + $('#jquery_jplayer_1').attr(\"data-aid\")).addClass(\"playing\"); }); $(\".jp-pause\").click(function () { $(\".loadaudio.playing\").removeClass(\"playing\"); }); $(\".content_inner\").on(\"click\", \".loadaudio\", function () { var a = $(this); var aid = a.attr(\"data-aid\"); if (!a.hasClass(\"playing\")) { jpTime = Date.now(); if (jp.attr(\"data-aid\") != aid) { // If this episode is not loaded in the player $(\"button.jp-play, button.jp-pause\").addClass(\"loading\"); jp.jPlayer(\"setMedia\", { m4a: a.data(\"url\"), title: a.data(\"title\"), }); $(\".jp-title\").attr(\"href\", a.data(\"link\")); $(\".jp-title span\").text(\"Episodio #\" + a.data(\"nro\")); $(\".jp-title strong\").text(a.data(\"title\")); if ($(\".jp-title strong\").width() > $(\".jp-title\").width()) { $(\".jp-title strong\").html(\" \" + $(\".jp-title strong\").text() + \" / \" + $(\".jp-title strong\").text() + \" \").addClass(\"crawl\"); crawl_loop(); } else { $(\".jp-title .crawl\").removeClass(\"crawl\"); } } $(\".loadaudio.playing\").removeClass(\"playing\"); $(\".loadaudio.\" + aid).addClass(\"playing\"); jp.jPlayer(\"play\"); jp.attr(\"data-aid\", aid); $(\"#jp_container_1\").attr(\"data-aid\", aid); } else { if (jp.attr(\"data-aid\") == aid) { jp.jPlayer(\"pause\", jpData.status.currentTime); $(\".loadaudio.playing\").removeClass(\"playing\"); } } }); // Discover Tool if ($(\"#discover-episodes\").length) { $.ajax({ type: 'POST', url: 'https://radioambulante.org/wp-admin/admin-ajax.php', dataType: \"json\", // add data type data: {action: 'discover_episodes', lang: $(\"#discover-episodes\").attr(\"class\")}, success: function (response) { $(\"#discover-episodes\").html(response[\"html\"]).addClass(\"loaded\"); } }); } $(\".rafilter h3\").click(function () { $(this).toggleClass(\"min\").next(\".filter\").slideToggle(); }); function discoverText(e) { var search = $(\"#keyword\").val(); if (/[a-zA-Z]/.test(search) || e.keyCode == \"8\" || e.keyCode == \"46\") { //filterEp(e); //$(\".page-title h2\").text(search); if (jQuery(\"#filterbox .active\").length) var items = jQuery(\".qode-news-item.active\"); else var items = jQuery(\".qode-news-item\"); items.each(function () { if (($(this).find(\".entry-title\").text().toLowerCase().indexOf(search.toLowerCase()) !== -1) || ($(this).find(\".hcontent\").text().toLowerCase().indexOf(search.toLowerCase()) !== -1)) $(this).fadeIn(); else $(this).fadeOut(); }); } } $(\"#discover #keyword\").on(\"keydown keyup\", function (e) { discoverText(e); }); $(\"#discover button\").on(\"click\", function (e) { var fbot = $(this); if ($(this).hasClass(\"active\")) { $(\"#filterbox .wpb_wrapper #\" + fbot.attr(\"id\")).detach(); $(\"#\" + fbot.attr(\"id\")).removeClass(\"active\"); $(\".\" + fbot.attr(\"id\")).each(function () { //$(this).removeClass(fbot.attr(\"id\")).attr(\"data-filtercount\",parseInt($(this).attr(\"data-filtercount\")) - 1); //if($(this).attr(\"data-filtercount\") == 0 && ($(\"#filterbox button\").length > 0)) $(this).removeClass(\"active\").fadeOut(); }); if ($(\"#filterbox\").hasClass(\"active\")) { if (!($(\"#filterbox button\").length)) { $(\".qode-news-item:not(.active)\").fadeIn(); $(\"#filterbox, .qode-news-item.active\").removeClass(\"active\"); } else if ((fbot.hasClass(\"topics\") || fbot.hasClass(\"length\"))) { $(\"#filterbox button\").each(function () { $(\".\" + $(this).attr(\"id\") + \":not(.active)\").addClass(\"active\").fadeIn(); }); } } } else { // If the filter is applied on items already filtered by country if ($(\"#countries .active\").length && (fbot.hasClass(\"topics\") || fbot.hasClass(\"length\"))) { var items = $(\".qode-news-item.active\"); items.each(function () { if (!$(this).hasClass(fbot.attr(\"id\"))) $(this).fadeOut().removeClass(\"active\"); }); } else { var items = $(\".qode-news-item\"); items.each(function () { if ((!$(this).hasClass(fbot.attr(\"id\"))) && (!$(this).hasClass(\"active\"))) $(this).fadeOut(); else if (!$(this).hasClass(\"active\")) $(this).addClass(\"active\").fadeIn(); }); } fbot.addClass(\"active\").clone(true, true).appendTo($(\"#filterbox .wpb_wrapper\")); if (/[a-zA-Z]/.test($(\"#keyword\").val())) discoverText(e); if (!$(\"#filterbox\").hasClass(\"active\")) $(\"#filterbox\").addClass(\"active\"); } }); function crawl_loop() { $('.jp-title .crawl').css({left: 0}); $('.jp-title .crawl').animate({ left: \"-\" + $('.jp-title .crawl b').width(), }, 10000, 'linear', function () { crawl_loop(); }); } /* Post Like */ var like = {}; like.qodeOnDocumentReady = qodeOnDocumentReady; $(document).ready(qodeOnDocumentReady); /** * All functions to be called on $(document).ready() should be in this function **/ function qodeOnDocumentReady() { qodeNewsLikes(); } function qodeNewsLikes() { var likeDislike = $('.qode-news-like-dislike'); $(document).on('click', '.qode-news-like, .qode-news-dislike', function () { var clicked = $(this), id = likeDislike.attr('id'), type, reaction = 'like'; if (likeDislike.hasClass('liked')) { return false; } if (typeof likeDislike.data('type') !== 'undefined') { type = likeDislike.data('type'); } if (clicked.hasClass('qode-news-dislike')) { reaction = 'dislike'; } var dataToPass = { action: 'qode_news_like', likes_id: id, type: type, reaction: reaction }; var like = $.post(QodeAdminAjax.ajaxurl, dataToPass, function (data) { likeDislike.html(data).addClass('liked').attr('title', 'You already like/dislike this!'); }); return false; }); } }); } whenDOMReady(); /* Seamless Navigation */ var pjax = new Pjax({ // elements: \".qode-news-item a:not([href*='/extras/sumate-hoy']), body > .wrapper a:not([href^='#']):not([href*='/extras/sumate-hoy']), form[action], a.wpml-ls-link, a.jp-title\", elements: \"body > .wrapper a:not([href^='#']):not([href*='/extras/sumate-hoy']):not([href*='/extras-en/join-now']):not([href*='/extras/lupa-el-rebusque']):not([href*='/extras-en/lupa-el-rebusque']:not([href*='/fest']):not([href*='/en/fest']), form[action], a.wpml-ls-link, a.jp-title, a[target='_blank']\", selectors: [ \"title\", \".header_menu_bottom\", \".content\", \"#wpadminbar\", \".header_fixed_right_area\", \".header_top\", \"footer\", \".q_logo\", \".mobile_menu_button\", \"nav.mobile_menu\", ], cacheBust: false, timeout: 0 }); document.addEventListener(\"pjax:send\", function () { jQuery(\".wrapper_inner > .qode-news-pag-loading\").fadeIn(\"700\"); }); document.addEventListener(\"pjax:complete\", function () { jQuery(\".wrapper_inner > .qode-news-pag-loading\").fadeOut(\"slow\"); FB.XFBML.parse(); }); document.addEventListener('pjax:end', function () { //jQuery(\".wrapper_inner > .qode-news-pag-loading\").fadeOut(\"slow\"); if (window._gaq) { _gaq.push(['_trackPageview', window.location.href]); } }); document.addEventListener(\"pjax:success\", function () { document.getElementById(\"wp_footer\").innerHTML = wp_footer; whenDOMReady(); });"
    }
  ]
}