1!function(){"use strict";let e=null;let t=!1;function n(){var e=navigator.userAgent.toLowerCase();return e.indexOf("gonative")>-1||e.indexOf("median")>-1}function r(){var n=navigator.userAgent.toLowerCase(),r=n.indexOf("gonative")>-1,a=n.indexOf("median")>-1,o={isApp:r||a,isGoNative:r,isMedian:a,appVersion:null,platform:null};return e||(o.isApp?(e=new Promise(function(e){var n=!1,r=!1,a=null,i=null;function s(t){n||(n=!0,a&&clearInterval(a),i&&clearTimeout(i),e(t))}function c(){return!n&&!r&&(void 0!==window.gonative&&"function"==typeof window.gonative.deviceInfo&&(r=!0,Promise.resolve(window.gonative.deviceInfo()).then(function(e){s(Object.assign({},o,{appVersion:e&&e.appVersion?e.appVersion:null,platform:e&&e.platform?e.platform:null}))}).catch(function(){s(o)}),!0))}function l(e){if(e&&"object"==typeof e)if("function"!=typeof e.deviceInfo)try{var t=e.deviceInfo;Object.defineProperty(e,"deviceInfo",{configurable:!0,enumerable:!0,get:function(){return t},set:function(e){t=e,"function"==typeof e&&c()}})}catch(e){}else c()}!function(){if(!t){t=!0;try{var e=window.gonative;void 0!==e&&l(e),Object.defineProperty(window,"gonative",{configurable:!0,enumerable:!0,get:function(){return e},set:function(t){e=t,l(t),c()}})}catch(e){}}}(),c()||(a=setInterval(function(){c()&&clearInterval(a)},100),i=setTimeout(function(){s(o)},1e4))}),e):(e=Promise.resolve(o),e))}function a(){n()&&(document.body.classList.add("is-gonative"),r().then(function(e){e&&e.appVersion&&function(e,t){for(var n=e.split(".").map(Number),r=t.split(".").map(Number),a=0;a<3;a++){var o=n[a]||0,i=r[a]||0;if(o<i)return-1;if(o>i)return 1}return 0}(e.appVersion,"4.0.4")>=0&&document.body.classList.add("amx-app-styles")}))}n()&&r();const o=850,i={hamburger:null,menuNivel:null,body:document.body,header:null},s={isOpen:!1,addParentsExecuted:!1,lastScrollY:0};function c(e,t){if(t<=0)return e;let n;return function(...r){n||(e.apply(this,r),n=!0,setTimeout(()=>n=!1,t))}}function l(){document.querySelectorAll("ol[start]").forEach(e=>{const t=parseInt(e.getAttribute("start"),10)||1;e.style.counterReset="list-item "+(t-1)})}function u(){s.isOpen&&(s.isOpen=!1,i.hamburger?.classList.remove("active"),i.menuNivel?.classList.remove("active"),i.body.classList.remove("hidden"),document.querySelectorAll(".dropdown-menu.active").forEach(e=>{e.classList.remove("active")}),document.removeEventListener("click",m))}function d(e){e.stopPropagation(),s.isOpen?u():s.isOpen||(s.isOpen=!0,i.hamburger?.classList.add("active"),i.menuNivel?.classList.add("active"),i.body.classList.add("hidden"),requestAnimationFrame(()=>{document.addEventListener("click",m)}))}function m(e){const t=i.menuNivel?.contains(e.target),n=i.hamburger?.contains(e.target);t||n||u()}function f(e){if(window.innerWidth<o){const t=e.target.closest(".tools-nav .paises");if(t&&!e.target.closest(".sub-menu a"))return e.preventDefault(),void t.classList.toggle("is-open");const n=e.target.closest(".isSubmenu > a");if(n){e.preventDefault();const t=n.parentNode.querySelector(".dropdown-menu");return void t?.classList.toggle("active")}}if(e.target.classList.contains("return")||e.target.closest(".return")){const t=e.target.closest(".dropdown-menu");t?.classList.remove("active")}}function v(){window.innerWidth<=o?s.addParentsExecuted||window.innerWidth>=o||(document.querySelectorAll(".isSubmenu").forEach(e=>{const t=e.querySelector("a");if(!t)return;const n=t.cloneNode(!0),r=document.createElement("li");r.className="element-parent",r.appendChild(n);const a=e.querySelector(".dropdown-menu ul");a&&!a.querySelector(".element-parent")&&a.insertBefore(r,a.firstChild)}),s.addParentsExecuted=!0):(document.querySelectorAll(".element-parent").forEach(e=>e.remove()),s.addParentsExecuted=!1),E()}function p(){document.querySelector(".isSubmenu")?(v(),function(){const e=window.location.href,t=window.location.pathname;document.querySelectorAll(".menu-navegacion a, .dropdown-menu a").forEach(n=>{const r=n.href,a=new URL(r,window.location.origin).pathname;if(r===e||a===t){const e=n.closest("li");if(!e)return;e.classList.add("active");let t=e.parentElement;for(;t&&t!==document.body;){if("LI"===t.tagName&&t.classList.add("active"),t.classList.contains("dropdown-menu")){const e=t.parentElement?.closest("li");e&&e.classList.add("active")}t=t.parentElement}}})}()):setTimeout(p,100)}function h(){const e=window.scrollY;i.header||(i.header=document.querySelector(".header")),i.header&&(e>s.lastScrollY&&e>100?i.header.classList.add("scrolled"):(e<s.lastScrollY||e<=0)&&i.header.classList.remove("scrolled")),s.lastScrollY=e}const y={title:document.title,url:window.location.href},g=navigator.userAgent.includes("gonative"),w=/Chrome/.test(navigator.userAgent)&&/Mac OS/.test(navigator.userAgent)||/Firefox/.test(navigator.userAgent);async function L(e){if("function"==typeof gonative?.share?.sharePage)try{await gonative.share.sharePage(e)}catch(e){console.error("Error al compartir en gonative:",e)}}async function q(e){try{navigator.share&&await navigator.share(e)}catch(e){console.error("Error al compartir:",e)}}
1function E(){document.querySelectorAll(".share a").forEach(e=>{w?e.style.display="none":(e.setAttribute("rel",e.getAttribute("rel")||""),e.id="iconShare",e.addEventListener("click",e=>{e.preventDefault(),g?L(y):q(y)}))})}function S(e){"share"===e&&(g?L(y):q(y))}function b(){const e=document.querySelector("[data-share-native]");e&&(navigator.share?e.addEventListener("click",e=>{e.preventDefault(),S("share")}):e.style.display="none")}window.shareSocial=S,"loading"===document.readyState?document.addEventListener("DOMContentLoaded",b):b();const A={mex:"MX",col:"COL",ca:"CA",usa:"US"};function C(){const e=document.querySelector(".tools-nav .paises");if(!e)return!1;const t=function(){const e=window.location.pathname;return e.includes("/colombia")?"col":e.includes("/centroamerica")?"ca":e.includes("/us")?"usa":"mex"}(),n=A[t]||"MX",r=e.firstElementChild;if(r&&"A"===r.tagName){const e=document.createElement("span");e.textContent=n,e.className=r.className,r.replaceWith(e)}else r&&"SPAN"===r.tagName&&(r.textContent=n);e.classList.remove("mex","col","ca","usa"),e.classList.add(t);e.querySelectorAll(".sub-menu li").forEach(e=>e.classList.remove("active"));const a=e.querySelector(`.sub-menu .${t}`);return a&&a.classList.add("active"),e.classList.add("js-country-ready"),!0}function x(e){if(!e)return"";try{const t=new URL(e,window.location.origin);if("http:"===t.protocol||"https:"===t.protocol)return t.href}catch{if(e.startsWith("/")||e.startsWith("#"))return e}return""}function N(e){if(!e||"object"!=typeof e)return null;const t=String(e.title||e.name||e.headline||e.text||"").trim(),n=String(e.url||e.link||e.href||"").trim();return t?{title:t,url:x(n)}:null}function _(e,t=!1){const n=document.createElement("div");return n.className="marquee-header__group",t&&n.setAttribute("aria-hidden","true"),e.forEach(e=>{const r=function(e,t=!1){const n=e.url?document.createElement("a"):document.createElement("span");n.className="marquee-header__item",n.setAttribute("aria-label",e.title),e.url&&(n.href=e.url,n.rel="noopener noreferrer",t&&(n.tabIndex=-1));const r=document.createElement("span");r.className="marquee-header__item-icon",r.setAttribute("aria-hidden","true"),r.textContent="â";const a=document.createElement("span");return a.className="marquee-header__item-text",a.textContent=e.title,n.appendChild(r),n.appendChild(a),n}(e,t);n.appendChild(r)}),n}function O(e){e.innerHTML="";const t=document.createElement("span");t.className="marquee-header__item marquee-header__item--error",t.textContent="Sin notas disponibles",e.appendChild(t),e.classList.add("is-empty"),e.classList.remove("is-animated")}function P(e,t,n){e._marqueeCleanup&&(e._marqueeCleanup(),e._marqueeCleanup=null);const r=()=>{!function(e,t){if(!e||!t)return;const n=Math.ceil(t.getBoundingClientRect().width);if(!n)return;const r=Math.min(60,Math.max(22,n/85));e.style.setProperty("--marquee-distance",`${n}px`),e.style.setProperty("--marquee-duration",`${r.toFixed(2)}s`),e.classList.add("is-animated")}(t,n)};if("undefined"!=typeof ResizeObserver){const t=new ResizeObserver(()=>{window.requestAnimationFrame(r)});t.observe(e),t.observe(n),e._marqueeCleanup=()=>t.disconnect()}else window.addEventListener("resize",r),e._marqueeCleanup=()=>{window.removeEventListener("resize",r)};document.fonts&&document.fonts.ready&&document.fonts.ready.then(r).catch(()=>{}),window.requestAnimationFrame(r)}async function M(e){const t=e.dataset.marqueeJsonUrl,n=e.querySelector("[data-marquee-track]");if(t&&n){n.innerHTML='<span class="marquee-header__item marquee-header__item--loading">Cargando notas...</span>',n.classList.remove("is-animated");try{const r=await fetch(t,{credentials:"omit"});if(!r.ok)throw new Error(`HTTP ${r.status}`);const a=function(e){return Array.isArray(e)?e:Array.isArray(e?.items)?e.items:Array.isArray(e?.data)?e.data:Array.isArray(e?.data?.items)?e.data.items:Array.isArray(e?.data?.results)?e.data.results:Array.isArray(e?.notes)?e.notes:Array.isArray(e?.results)?e.results:[]}(await r.json()).map(N).filter(Boolean);!function(e,t,n){if(t.innerHTML="",t.classList.remove("is-empty"),!n.length)return void O(t);const r=_(n),a=_(n,!0);t.appendChild(r),t.appendChild(a),P(e,t,r)}(e,n,a)}catch(e){console.warn("Marquee header fetch failed",e),O(n)}}}function k(){!function(){const e=new Intl.DateTimeFormat("en-GB",{day:"2-digit",month:"2-digit",year:"numeric"}).format(new Date);document.querySelectorAll(".ultima-hora__date").forEach(t=>{t.textContent=e})}(),document.querySelectorAll(".marquee-header[data-marquee-json-url]").forEach(e
1=>{M(e)})}!function(){function e(){i.hamburger=document.querySelector(".hamburguesa"),i.menuNivel=document.querySelector(".menu-navegacion .nivel"),i.hamburger&&i.menuNivel&&i.hamburger.addEventListener("click",d),i.body.addEventListener("click",f),p(),l(),function(){const e=document.querySelector(".social-share-float");if(!e)return;const t=e.querySelector(".toggle-btn"),n=e.querySelector(".social-menu");if(t&&n){t.addEventListener("click",t=>{t.preventDefault(),e.classList.toggle("active")});const r=n.querySelector('[data-platform="share"]');r&&r.addEventListener("click",e=>{e.preventDefault(),g?L(y):q(y)})}}(),function(){const e="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0,t=window.matchMedia("(hover: hover) and (pointer: fine)").matches,n=window.innerWidth>o;e&&n&&!t&&(document.querySelectorAll(".isSubmenu").forEach(e=>{const t=e.querySelector("a");if(!t)return;const n=t.cloneNode(!0),r=document.createElement("li");r.className="element-parent",r.appendChild(n);const a=e.querySelector(".dropdown-menu ul");a&&!a.querySelector(".element-parent")&&a.insertBefore(r,a.firstChild)}),document.addEventListener("click",e=>{const t=e.target.closest(".isSubmenu > a");if(t){const n=t.parentNode.querySelector(".dropdown-menu");if(n?.classList.contains("active"))return;return e.preventDefault(),document.querySelectorAll(".dropdown-menu.active").forEach(e=>{e!==n&&e.classList.remove("active")}),void n?.classList.add("active")}if(e.target.closest(".return")){const t=e.target.closest(".dropdown-menu");t?.classList.remove("active")}}),document.addEventListener("click",e=>{e.target.closest(".menu-navegacion")||document.querySelectorAll(".dropdown-menu.active").forEach(e=>{e.classList.remove("active")})}),window.addEventListener("resize",c(()=>{window.innerWidth>o&&!window.matchMedia("(hover: hover) and (pointer: fine)").matches||(document.querySelectorAll(".element-parent").forEach(e=>e.remove()),document.querySelectorAll(".dropdown-menu.active").forEach(e=>{e.classList.remove("active")}))},250)))}(),C(),k()}a(),"loading"===document.readyState?document.addEventListener("DOMContentLoaded",e):e(),window.addEventListener("resize",c(()=>{v(),E()},250)),window.addEventListener("scroll",c(h,16)),window.addEventListener("load",l),window.addEventListener("message",e=>{"resize-iframe"===e.data?.type&&document.querySelectorAll(".stats iframe").forEach(t=>{try{t.contentWindow===e.source&&(t.style.height=`${e.data.height}px`)}catch(e){}})})}()}();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.