1// JavaScript Document 2jQuery('.carousel-inner').each(function () { 3 if (jQuery(this).children('div').length === 1) 4 jQuery(this).siblings('.carousel-control-prev, .carousel-control-next, .carousel-indicators').hide(); 5}); 6 7jQuery(document).ready(function () { 8 var owl = jQuery('.CarouselOwl'); 9 owl.owlCarousel({ 10 margin: 0, 11 nav: true, 12 loop: true, 13 responsive: { 14 0: {items: 2}, 15 480: {items: 1}, 16 576: {items: 2}, 17 768: {items: 3}, 18 992: {items: 4}, 19 1200: {items: 5} 20 } 21 }) 22}) 23 24jQuery(document).ready(function () { 25 var owl = jQuery('.CarouselOwlLogo'); 26 owl.owlCarousel({ 27 margin: 20, 28 nav: false, 29 loop: true, 30 responsive: { 31 0: {items: 2}, 32 480: {items: 2}, 33 544: {items: 2}, 34 768: {items: 3}, 35 992: {items: 6} 36 } 37 }) 38}) 39 40jQuery(document).ready(function () { 41 var owl = jQuery('.CarouselOwlTesti'); 42 owl.owlCarousel({ 43 margin: 20, 44 nav: false, 45 loop: false, 46 responsive: { 47 0: {items: 1}, 48 480: {items: 1}, 49 544: {items: 1}, 50 768: {items: 1}, 51 992: {items: 1} 52 } 53 }) 54}) 55 56 57 58jQuery(function () { 59 jQuery(".img-crop").responsiveImageCropper(); 60}); 61 62!function (e) { 63 var t = function () {}; 64 t.prototype = {targetElements: void 0, options: void 0, run: function (e) { 65 var t = this; 66 this.targetElements = new Array, e.each(function (e) { 67 var i = jQuery(this); 68 i.css({display: "none"}); 69 var a = new Image; 70 a.onload = function () { 71 i.css({position: "absolute"}), t.targetElements.push(i), t.croppingImageElement(i), i.css({display: "block"}) 72 }, a.src = i.attr("src") 73 }), jQuery(window).resize(function (e) { 74 t.onResizeCallback() 75 }) 76 }, onResizeCallback: function () { 77 var t = this; 78 e.each(this.targetElements, function (e) { 79 var i = this; 80 t.croppingImageElement(i) 81 }) 82 }, croppingImageElement: function (t) { 83 var i, a; 84 t.data("crop-image-wrapped") ? (a = t.data("crop-image-outer"), i = t.data("crop-image-inner")) : (a = e("<div>"), i = e("<div>"), a.css({overflow: "hidden", margin: t.css("margin"), padding: t.css("padding")}), t.css({margin: 0, padding: 0}), i.css({position: "relative", overflow: "hidden"}), t.after(a), a.append(i), i.append(t), t.data("crop-image-outer", a), t.data("crop-image-inner", i), t.data("crop-image-wrapped", !0)), this.desideImageSizes(t) 85 }, desideImageSizes: function (e) { 86 var t = e.data("crop-image-outer"), i = e.data("crop-image-inner"), a = e.data("crop-image-ratio"); 87 a || (a = 1); 88 var n = t.width() * a; 89 i.height(n), e.width(t.width()), e.height("auto"), e.css({position: "absolute", left: 0, top: -(e.height() - t.height()) / 2}), n > e.height() && (e.width("auto"), e.height(n), e.css({position: "absolute", left: -(e.width() - t.width()) / 2, top: 0})) 90 }, setOptions: function (e) { 91 this.options = e 92 }}, e.fn.responsiveImageCropper = function (i) { 93 var i = e.extend(e.fn.responsiveImageCropper.defaults, i), a = e(this); 94 return cropper = new t, cropper.setOptions(i), cropper.run(a), this 95 }, e.fn.responsiveImageCropper.defaults = {} 96}(jQuery); 97 98(function (window, document, undefined) { 99 var iframes = document.getElementsByTagName('iframe'); 100 for (var i = 0; i < iframes.length; i++) { 101 var iframe = iframes[i], 102 players = /www.youtube.com|player.vimeo.com/; 103 if (iframe.src.search(players) > 0) { 104 var videoRatio = (iframe.height / iframe.width) * 100; 105 iframe.style.position = 'absolute'; 106 iframe.style.top = '0'; 107 iframe.style.left = '0'; 108 iframe.width = '100%'; 109 iframe.height = '100%'; 110 var wrap = document.createElement('div'); 111 wrap.className = 'fluid-vids'; 112 wrap.style.width = '100%'; 113 wrap.style.position = 'relative'; 114 wrap.style.paddingTop = videoRatio + '%'; 115 var iframeParent = iframe.parentNode; 116 iframeParent.insertBefore(wrap, iframe); 117 wrap.appendChild(iframe); 118 } 119 } 120})(window, document);
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.