1/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */ 2(function(Drupal,once,$){'use strict';Drupal.behaviors.micrositioAnchors={attach:function(context){const navTabs=once('micrositioAnchorsNav','#nav-tab-micrositio',context);if(!navTabs.length)return;const navTab=navTabs[0];const elements=document.querySelectorAll('.paragraph--type--titulo-subtitulo-logo .seccion_titulo h3');if(!elements||elements.length<=1)return;if(navTab.querySelector('[data-micrositio-anchor="1"]'))return;let count=0;const fragment=document.createDocumentFragment();elements.forEach(function(element){count++;element.setAttribute('id','ancla-'+count);const anchor=document.createElement('a');anchor.className='nav-link dependencia';anchor.href='#ancla-'+count;anchor.setAttribute('data-micrositio-anchor','1');const button=document.createElement('button');button.className='nav-link';button.type='button';button.role='tab';button.setAttribute('aria-controls','nav-profile');button.setAttribute('aria-selected','false');button.setAttribute('tabindex','-1');button.textContent=element.innerText;anchor.appendChild(button);fragment.appendChild(anchor);anchor.addEventListener('click',function(event){event.preventDefault();smoothScrollTo(element);});});if(navTab)navTab.appendChild(fragment);}};function smoothScrollTo(target){const headerElement=document.querySelector('header.es_estatico');const headerHeight=headerElement?headerElement.offsetHeight:0;const isMobile=window.innerWidth<765;const offset=isMobile?headerHeight+20:160;$('html, body').stop(true,true).animate({scrollTop:$(target).offset().top-offset},800);if(target&&target.id)window.history.pushState(null,null,'#'+target.id);}})(Drupal,once,jQuery);; 3jQuery(window).on('load',function(){jQuery('.menu--main .navbar-nav button .material-icons').off().on('click',function(){jQuery('.menu-search').css({"display":"block"}).animate({height:"hide"},300,'easeInOutQuint');});jQuery('.menu-search .search-close .zone-search .material-icons.close').on('click',function(){jQuery('.menu-search').css({"display":"none"}).animate({height:"show"},300,'easeInOutQuint');});});;
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.