1function UCMarquee(marquee){var g_marquee;function cloneSlider(){Array.prototype.forEach.call(g_marquee,item=>{var parent=item 2var slide=item.children 3Array.prototype.forEach.call(slide,item=>{parent.appendChild(item.cloneNode(!0))})})} 4function wrapSlides(){Array.prototype.forEach.call(g_marquee,item=>{item.innerHTML='<div class="uc-logo-wrapper">'+item.innerHTML+'</div>'})} 5function setWidth(){Array.prototype.forEach.call(g_marquee,parentItem=>{parentItem.style.display="flex";var parentWidth=parentItem.offsetWidth;var slide=parentItem.querySelectorAll('.uc_logo_marquee_holder');var viewportWidth=parseInt(window.innerWidth);var isBreakPoint=function(breakpoint){var breakpointsArray=[319,767,1024,1920];var breakpointsArrayLength=breakpointsArray.length;var min,max;for(var i=0;i<breakpointsArrayLength;i++){if(breakpointsArray[i]===breakpoint){min=breakpointsArray[i-1]||0 6max=breakpointsArray[i] 7break}} 8return viewportWidth>min&&viewportWidth<=max} 9var dataHeight=parseInt(jQuery(parentItem).attr('data-height'));var dataMarginDesktop=jQuery(parentItem).data('desktop-margin');var dataMarginTablet=jQuery(parentItem).data('tablet-margin');var dataMarginMobile=jQuery(parentItem).data('mobile-margin');var dataItemsNumberMobile=jQuery(parentItem).data('mobile-items');var dataItemsNumberTablet=jQuery(parentItem).data('tablet-items');var dataItemsNumberDesktop=jQuery(parentItem).data('desktop-items');var direction=jQuery(parentItem).data('direction');if(direction=='up'||direction=='down'){if(isBreakPoint(767)) 10parentItem.style.height=(dataHeight+dataMarginMobile)*dataItemsNumberMobile+'px' 11if(isBreakPoint(1024)) 12parentItem.style.height=(dataHeight+dataMarginTablet)*dataItemsNumberTablet+'px' 13if(isBreakPoint(1920)||viewportWidth>1920) 14parentItem.style.height=(dataHeight+dataMarginDesktop)*dataItemsNumberDesktop+'px'} 15parentItem.style.display="none";Array.prototype.forEach.call(slide,item=>{if(direction=='right'||direction=='left'){if(isBreakPoint(767)) 16item.style.marginRight=dataMarginMobile+'px' 17if(isBreakPoint(1024)) 18item.style.marginRight=dataMarginTablet+'px' 19if(isBreakPoint(1920)||viewportWidth>1920) 20item.style.marginRight=dataMarginDesktop+'px'} 21if(direction=='up'||direction=='down'){if(isBreakPoint(767)) 22item.style.marginTop=dataMarginMobile+'px' 23if(isBreakPoint(1024)) 24item.style.marginTop=dataMarginTablet+'px' 25if(isBreakPoint(1920)||viewportWidth>1920) 26item.style.marginTop=dataMarginDesktop+'px'} 27if(direction=='right'||direction=='left'){if(isBreakPoint(767)) 28item.style.width=(parentWidth/dataItemsNumberMobile)-dataMarginMobile+'px' 29if(isBreakPoint(1024)) 30item.style.width=(parentWidth/dataItemsNumberTablet)-dataMarginTablet+'px' 31if(isBreakPoint(1920)||(viewportWidth>1920)) 32item.style.width=(parentWidth/dataItemsNumberDesktop)-dataMarginDesktop+'px'}}) 33setTimeout(function(){parentItem.style.display="flex"},200)})} 34function setAnimationOptions(){Array.prototype.forEach.call(g_marquee,item=>{var speed=jQuery(item).data('speed');var marqueeList=item.children[0] 35var slidesAmount=marqueeList.children.length/4 36var marqueeSpeed=speed*slidesAmount 37marqueeList.style.animationDuration=marqueeSpeed/1000+'s' 38marqueeList.style.WebkitAnimationDuration=marqueeSpeed/1000+'s' 39var paused=jQuery(item).data('paused');if(paused){marqueeList.onmouseenter=(event)=>{event.target.style.animationPlayState='paused' 40event.target.style.WebkitAnimationPlayState='paused'} 41marqueeList.onmouseleave=(event)=>{event.target.style.animationPlayState='' 42event.target.style.WebkitAnimationPlayState=''}}})} 43function init(){g_marquee=marquee;cloneSlider() 44cloneSlider() 45setWidth() 46wrapSlides() 47setAnimationOptions() 48var width=jQuery(window).width();window.addEventListener('resize',function(){if(jQuery(this).width()!=width){width=jQuery(this).width();setWidth()}})} 49init()}
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.