1(function($){function positionPromotions(){var $promotions=jQuery('#promotions');if(!$promotions.length){return} 2if(jQuery(window).width()>992){var headerHeight=jQuery('#header').outerHeight()||149;var bannerHeight=jQuery('#banner').outerHeight()||0;var promoHeight=$promotions.outerHeight()||0;var minTop=headerHeight+10;var availableHeight=bannerHeight-headerHeight;var top=minTop;if(promoHeight>0&&availableHeight>promoHeight){top=headerHeight+(availableHeight-promoHeight)/2} 3top=Math.max(minTop,top);$promotions.css({top:top+'px',transform:'none'});document.documentElement.style.setProperty('--promotions-top',top+'px')}else{document.documentElement.style.removeProperty('--promotions-top');$promotions.css({top:'',transform:''})}} 4jQuery(window).on('load resize',function(){positionPromotions();setTimeout(positionPromotions,300)});jQuery(document).on('init setPosition afterChange','.slider-promo',function(){positionPromotions()});jQuery('#promotions').click(function(){jQuery('#promotions').addClass('clicked');var counter=0;if(counter<=0){jQuery('.actu-title').append('<div id="close-promo-mobile">X</div>');counter++}});jQuery(document).mouseup(function(e){var container=jQuery("#promotions");if(!container.is(e.target)&&jQuery('#close-promo-mobile').click()){jQuery('#promotions').removeClass('clicked');jQuery('#close-promo-mobile').remove()}})})
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.