1jQuery(document).ready(function(e) { 2 function c() { 3 e(imgContent).each(function() { 4 if (e(this).width() > e(window).width()) { 5 e(this).css({ 6 width: "100%" 7 }) 8 } else { 9 e(this).css({ 10 width: "auto" 11 }) 12 } 13 }) 14 } 15 e.fn.exists = function() { 16 return this.length > 0 17 }; 18 if (e(".slider").length) { 19 e(".slider").glide({ 20 circular: false, 21 hoverpause: true, 22 navigation: true, 23 animationDuration: 500, 24 arrows: true, 25 arrowRightClass: "icon-arrow-right", 26 arrowLeftClass: "icon-arrow-left", 27 arrowRightText: "", 28 arrowLeftText: "", 29 beforeTransition: function() { 30 var e = this.currentSlide; 31 e = Math.abs(e) 32 } 33 }); 34 var t = e(".slider").glide().data("api_glide"); 35 e(".icon-arrow-left").addClass("fa-angle-left"); 36 e(".icon-arrow-right").addClass("fa-angle-right") 37 } 38 e(window).scroll(function() { 39 if (e(window).width() > 759) { 40 if (e(this).scrollTop() > 200) { 41 e("#top").fadeIn() 42 } else { 43 e("#top").fadeOut() 44 } 45 } 46 }); 47 e("#top").click(function(t) { 48 t.preventDefault(); 49 e("html, body").animate({ 50 scrollTop: 0 51 }, 300) 52 }); 53 var n = e("#wpadminbar").height(); 54 var r = e(".main-header .wrapper").offset().top; 55 var i = function() { 56 if (!e(".main-header").hasClass("menu-fixe")) { 57 if (e(window).scrollTop() >= r && e(window).width() > 759) { 58 e(".main-header .wrapper").addClass("floatable"); 59 e(".main-slider").css({ 60 "margin-top": "50px" 61 }); 62 if (n) { 63 e(".main-header .wrapper").addClass("marginTop"); 64 e(".main-slider").css({ 65 "margin-top": "70px" 66 }) 67 } 68 } 69 if (e(window).scrollTop() == 0) { 70 e(".main-header .wrapper").removeClass("floatable"); 71 e(".main-slider").css({ 72 "margin-top": "0" 73 }); 74 if (n) { 75 e(".main-header .wrapper").removeClass("marginTop") 76 } 77 } 78 } 79 }; 80 e(window).scroll(i); 81 if (e(".realisations").length) { 82 var s = 1; 83 var o = []; 84 var u = 0; 85 var a = 0; 86 var f = e(".realisations").height(); 87 e(".realisations li").each(function() { 88 e(this).addClass("pos" + s++); 89 e(this).fadeIn("slow"); 90 o.push(this) 91 }); 92 for (var l = 0; l < o.length; l++) { 93 if (u > 620) { 94 u = 0; 95 a = a + 340 96 } 97 e(o[l]).animate({ 98 left: u + "px", 99 top: a + "px" 100 }, 500); 101 e(o[l]).parent().css({ 102 height: a + 340 + "px" 103 }); 104 u = u + 310 105 } 106 e("#filters li:first").on("click", function() { 107 var t = 1; 108 var n = []; 109 var r = 0; 110 var i = 0; 111 var s = e(".realisations").height(); 112 e(".realisations li").each(function() { 113 e(this).addClass("pos" + t++); 114 e(this).fadeIn("slow"); 115 n.push(this) 116 }); 117 for (var o = 0; o < n.length; o++) { 118 if (r > 620) { 119 r = 0; 120 i = i + 340 121 } 122 e(n[o]).animate({ 123 left: r + "px", 124 top: i + "px" 125 }, 500); 126 e(n[o]).parent().css({ 127 height: i + 340 + "px" 128 }); 129 r = r + 310 130 } 131 }); 132 e("#filters li").click(function(t) { 133 t.preventDefault(); 134 var n = e(this).attr("data-filter"); 135 e("#filters li").removeClass("active"); 136 e(this).addClass("active"); 137 e(".realisations li:not(." + n + ")").fadeOut("slow"); 138 var r = 1; 139 var i = []; 140 var s = e(".realisations").height(); 141 e(".realisations li").each(function() { 142 if (e(this).hasClass(n)) { 143 e(this).addClass("pos" + r++); 144 e(this).fadeIn("slow"); 145 i.push(this) 146 } 147 }); 148 var o = 0; 149 var u = 0; 150 for (var a = 0; a < i.length; a++) { 151 if (o > 620) { 152 o = 0; 153 u = u + 340 154 } 155 e(i[a]).animate({ 156 left: o + "px", 157 top: u + "px" 158 }, 500); 159 e(i[a]).parent().css({ 160 height: u + 340 + "px" 161 }); 162 o = o + 310 163 } 164 }) 165 } 166 e(".single-realisation article figure").click(function() { 167 e(".popup").fadeIn("slow") 168 }); 169 e(".popup").click(function() { 170 e(".popup").fadeOut("slow") 171 }); 172 imgContent = e(".content p img"); 173 c(); 174 e(window).resize(function() { 175 c() 176 }); 177 if (e("#owl-customers").length) { 178 var h = e("#owl-customers"); 179 h.owlCarousel({ 180 autoPlay: 3e3, 181 navigationText: false, 182 navigation: true, 183 items: 6, 184 itemsDesktop: [1199, 6], 185 itemsDesktopSmall: [979, 4] 186 }) 187 } 188 189 if(e('.nav-collapse').length > 0) { 190 var p = responsiveNav(".nav-collapse"); 191 } 192
193 e('.menu-item-has-children').prepend('<span class="sub-menu-trigger"><i class="fa fa-angle-right" aria-hidden="true"></i></span>'); 194 e('.sub-menu').prepend('<span class="close-trigger"><i class="fa fa-times" aria-hidden="true"></i></span>'); 195 e('.sub-menu-trigger').on('click', function(){ 196 e(this).parent('li').find(' > .sub-menu').addClass('visible'); 197 }); 198 e('.close-trigger').on('click', function(){ 199 e(this).parent('.sub-menu').removeClass('visible'); 200 }); 201 e('.nav-toggle').on('click', function(){ 202 e(this).toggleClass('active'); 203 e('.main-menu').toggleClass('opened'); 204 e('.main-menu').slideToggle(); 205 }); 206});
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.