PageSourceSearch

https://www.red.es/sites/redes/modules/contrib/layoutcomponents/js/custom-lb.js?tkmstj

js red.es collected 2026-09-24 08:27:08 UTC 1,532 bytes, 6 lines download raw bytes

1(function($,Drupal,drupalSettings){'use strict';var ajax=Drupal.ajax,behaviors=Drupal.behaviors;behaviors.customLB={attach:function(context){$('.js-layout-builder-block *, .block-block-content *').on('mouseenter',function(){if(!$(this).closest('.js-layout-builder-block, .block-block-content').hasClass('intoBlock')){$(this).closest('.js-layout-builder-block, .block-block-content').addClass('intoBlock');}});$('.js-layout-builder-block, .block-block-content').on('mouseleave',function(){if($(this).hasClass('intoBlock')){$(this).removeClass('intoBlock');}});}}
2$('.js-layout-builder-region').each(function(){let $configRegion=$(this).children('.layout-builder__configure-column')
3$(this).prepend($configRegion);});$('.js-layout-builder-block').each(function(){let $configBlock=$(this).children('.layout-builder__configure-block')
4$(this).prepend($configBlock);});let $obsevedElement=$('body');let observer=new MutationObserver(function(mutations){mutations.forEach(function(mutation){let attributeValue=$(mutation.target).prop(mutation.attributeName);console.log("Class attribute changed to:",attributeValue);$('.js-layout-builder-region').each(function(){let $configRegion=$(this).children('.layout-builder__configure-column')
5$(this).prepend($configRegion);});$('.js-layout-builder-block').each(function(){let $configBlock=$(this).children('.layout-builder__configure-block')
6$(this).prepend($configBlock);});});});observer.observe($obsevedElement[0],{attributes:true,attributeFilter:['class']});})(jQuery,Drupal,drupalSettings);

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.