1(function ($) { 2 "use strict"; 3 4 window.umggr_video_slick = { 5 6 slidesCount : $('.video-slider .slider-gr-slide').length, 7 8 init() { 9 10 var stdVideoSliderV2Settings = { 11 slidesToShow: 1, 12 slidesToScroll: 1, 13 infinite: true, 14 dots: umggr_video_slick.dots, 15 draggable: umggr_video_slick.draggable, 16 prevArrow: $('.video-slick-container .slider__controls .slick-prev'), 17 nextArrow: $('.video-slick-container .slider__controls .slick-next'), 18 } 19 20 if (typeof window.UMGGR_Video_Slider_V2_Option != "undefined") { 21 var mergedVideoSliderV2Settings = {...stdVideoSliderV2Settings, ...window.UMGGR_Video_Slider_V2_Option}; 22 } else { 23 var mergedVideoSliderV2Settings = stdVideoSliderV2Settings; 24 } 25 26 $('.video-slider') 27 .not('.slick-initialized') 28 .slick(mergedVideoSliderV2Settings) 29 30 if (UMGGR_Video_Shortcode.disable_cookies) { 31 $('[data-fancybox]').fancybox({ 32 media : { 33 youtube : { 34 url: "//www.youtube-nocookie.com/embed/$4" 35 } 36 } 37 }); 38 } 39 } 40 } 41 $(document).ready(function () { 42 umggr_video_slick.init(); 43 }); 44})(jQuery);
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.