vendor: 5,156 bytes, lines 1-17
1/*! WOW - v0.1.9 - 2014-05-10 2* Copyright (c) 2014 Matthieu Aussaguel; Licensed MIT */(function(){var a,b,c=function(a,b){return function(){return a.apply(b,arguments)}};a=function(){function a(){}return a.prototype.extend=function(a,b){var c,d;for(c in a)d=a[c],null!=d&&(b[c]=d);return b},a.prototype.isMobile=function(a){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(a)},a}(),b=this.WeakMap||(b=function(){function a(){this.keys=[],this.values=[]}return a.prototype.get=function(a){var b,c,d,e,f;for(f=this.keys,b=d=0,e=f.length;e>d;b=++d)if(c=f[b],c===a)return this.values[b]},a.prototype.set=function(a,b){var c,d,e,f,g;for(g=this.keys,c=e=0,f=g.length;f>e;c=++e)if(d=g[c],d===a)return void(this.values[c]=b);return this.keys.push(a),this.values.push(b)},a}()),this.WOW=function(){function d(a){null==a&&(a={}),this.scrollCallback=c(this.scrollCallback,this),this.scrollHandler=c(this.scrollHandler,this),this.start=c(this.start,this),this.scrolled=!0,this.config=this.util().extend(a,this.defaults),this.animationNameCache=new b}return d.prototype.defaults={boxClass:"wow",animateClass:"animated",offset:0,mobile:!0},d.prototype.init=function(){var a;return this.element=window.document.documentElement,"interactive"===(a=document.readyState)||"complete"===a?this.start():document.addEventListener("DOMContentLoaded",this.start)},d.prototype.start=function(){var a,b,c,d;if(this.boxes=this.element.getElementsByClassName(this.config.boxClass),this.boxes.length){if(this.disabled())return this.resetStyle();for(d=this.boxes,b=0,c=d.length;c>b;b++)a=d[b],this.applyStyle(a,!0);return window.addEventListener("scroll",this.scrollHandler,!1),window.addEventListener("resize",this.scrollHandler,!1),this.interval=setInterval(this.scrollCallback,50)}},d.prototype.stop=function(){return window.removeEventListener("scroll",this.scrollHandler,!1),window.removeEventListener("resize",this.scrollHandler,!1),null!=this.interval?clearInterval(this.interval):void 0},d.prototype.show=function(a){return this.applyStyle(a),a.className=""+a.className+" "+this.config.animateClass},d.prototype.applyStyle=function(a,b){var c,d,e;return d=a.getAttribute("data-wow-duration"),c=a.getAttribute("data-wow-delay"),e=a.getAttribute("data-wow-iteration"),this.animate(function(f){return function(){return f.customStyle(a,b,d,c,e)}}(this))},d.prototype.animate=function(){return"requestAnimationFrame"in window?function(a){return window.requestAnimationFrame(a)}:function(a){return a()}}(),d.prototype.resetStyle=function(){var a,b,c,d,e;for(d=this.boxes,e=[],b=0,c=d.length;c>b;b++)a=d[b],e.push(a.setAttribute("style","visibility: visible;"));return e},d.prototype.customStyle=function(a,b,c,d,e){return b&&this.cacheAnimationName(a),a.style.visibility=b?"hidden":"visible",c&&this.vendorSet(a.style,{animationDuration:c}),d&&this.vendorSet(a.style,{animationDelay:d}),e&&this.vendorSet(a.style,{animationIterationCount:e}),this.vendorSet(a.style,{animationName:b?"none":this.cachedAnimationName(a)}),a},d.prototype.vendors=["moz","webkit"],d.prototype.vendorSet=function(a,b){var c,d,e,f;f=[];for(c in b)d=b[c],a[""+c]=d,f.push(function(){var b,f,g,h;for(g=this.vendors,h=[],b=0,f=g.length;f>b;b++)e=g[b],h.push(a[""+e+c.charAt(0).toUpperCase()+c.substr(1)]=d);return h}.call(this));return f},d.prototype.vendorCSS=function(a,b){var c,d,e,f,g,h;for(d=window.getComputedStyle(a),c=d.getPropertyCSSValue(b),h=this.vendors,f=0,g=h.length;g>f;f++)e=h[f],c=c||d.getPropertyCSSValue("-"+e+"-"+b);return c},d.prototype.animationName=function(a){var b;try{b=this.vendorCSS(a,"animation-name").cssText}catch(c){b=window.getComputedStyle(a).getPropertyValue("animation-name")}return"none"===b?"":b},d.prototype.cacheAnimationName=function(a){return this.animationNameCache.set(a,this.animationName(a))},d.prototype.cachedAnimationName=function(a){return this.animationNameCache.get(a)},d.prototype.scrollHandler=function(){return this.scrolled=!0},d.prototype.scrollCallback=function(){var a;return this.scrolled&&(this.scrolled=!1,this.boxes=function(){var b,c,d,e;for(d=this.boxes,e=[],b=0,c=d.length;c>b;b++)a=d[b],a&&(this.isVisible(a)?this.show(a):e.push(a));return e}.call(this),!this.boxes.length)?this.stop():void 0},d.prototype.offsetTop=function(a){for(var b;void 0===a.offsetTop;)a=a.parentNode;for(b=a.offsetTop;a=a.offsetParent;)b+=a.offsetTop;return b},d.prototype.isVisible=function(a){var b,c,d,e,f;return c=a.getAttribute("data-wow-offset")||this.config.offset,f=window.pageYOffset,e=f+this.element.clientHeight-c,d=this.offsetTop(a),b=d+a.clientHeight,e>=d&&b>=f},d.prototype.util=function(){return this._util||(this._util=new a)},d.prototype.disabled=function(){return!this.config.mobile&&this.util().isMobile(navigator.userAgent)},d}()}).call(this); 3new WOW().init(); 4$(window).scroll(function(){ 5 var scroll = $(window).scrollTop(); 6 if (scroll >= 1) { 7 $('.main-head-wrap').addClass('header_fixed'); 8 } else { 9 $('.main-head-wrap').removeClass('header_fixed'); 10 } 11}); 12 13jQuery(document).ready(function($) { 14 if( jQuery('.office-images').length ) { 15 jQuery('.office-images').slick({ 16 fade: true, 17 dots: false,
18 arrows: false, 19 autoplay: true 20 }); 21 } 22 if( jQuery('.central-testimonial-slider').length ) { 23 jQuery('.central-testimonial-slider').slick({ 24 autoplay: true, 25 dots: true, 26 slidesToShow: 2, 27 arrows: false, 28 responsive: [ 29 { 30 breakpoint: 880, 31 settings: { 32 slidesToShow: 1, 33 } 34 } 35 ] 36 }); 37 } 38 jQuery('.central-img-tabs .central-tab-item').click(function() { 39 var id_to_use = jQuery(this).attr('data-id'); 40 jQuery('.central-wrapper .central-tab').slideUp('fast'); 41 jQuery('.central-wrapper #'+id_to_use).parent().slideDown('fast'); 42 43 jQuery('.active-service-button').removeClass('active-service-button'); 44 jQuery(this).addClass('active-service-button'); 45 46 }); 47}); 48 49jQuery(window).load(function() { 50 jQuery('.header-spacer').css('height',jQuery('.main-head-wrap').outerHeight()); 51}); 52 53jQuery(window).resize(function() { 54 jQuery('.header-spacer').css('height',jQuery('.main-head-wrap').outerHeight()); 55}); 56 57$(document).ready(function ($) { 58 if (jQuery(".special-slide").length) { 59 jQuery(".special-slide").slick({ 60 fade: true, 61 autoplay: false, 62 arrows: false, 63 dots: false, 64 slidesToShow: 1, 65 }); 66 } 67 if (jQuery(".special-slide-2").length) { 68 jQuery(".special-slide-2").slick({ 69 fade: true, 70 autoplay: false, 71 arrows: false, 72 dots: false, 73 slidesToShow: 1, 74 }); 75 } 76 var slideCount = $(".slide-count"); 77 var ts_carousel = $(".ts-carousel"); 78 $(".dm-4 .doc-name").click(function (e) { 79 e.preventDefault(); 80 $(this).siblings().removeClass("active-btn"); 81 $(this).addClass("active-btn"); 82 var slideno = $(this).attr("data-slide"); 83 var targetSlide = $("#dal-" + slideno).attr("data-slick-index"); 84 console.log(slideno); 85 console.log(targetSlide); 86 if (slideno < 11) { 87 $(".DOCTORS .special-slide").slick("slickGoTo", targetSlide); 88 } else { 89 $(".DOGGIES .special-slide-2").slick("slickGoTo", targetSlide); 90 } 91 }); 92 93 ts_carousel.on("init afterChange", function (event, slick, currentSlide, nextSlide) { 94 //currentSlide is undefined on init -- set it to 0 in this case (currentSlide is 0 based) 95 var i = (currentSlide ? currentSlide : 0) + 1; 96 $(this) 97 .find(".slide-count") 98 .html('<span class="slide-count__item">' + i + "</span>
98 " + "/" + ' <span class="slide-count__item">' + slick.slideCount + "</span>"); 99 }); 100 101 if (ts_carousel.length) { 102 ts_carousel.slick({ 103 slide: ".ts-carousel__item", 104 dots: false, 105 infinite: true, 106 autoplay: true, 107 speed: 300, 108 slidesToShow: 3, 109 slidesToScroll: 1, 110 arrows: true, 111 responsive: [ 112 { 113 breakpoint: 1024, 114 settings: { 115 slidesToShow: 2, 116 slidesToScroll: 1, 117 }, 118 }, 119 { 120 breakpoint: 640, 121 settings: { 122 slidesToShow: 1, 123 slidesToScroll: 1, 124 arrows: false, 125 }, 126 }, 127 ], 128 }); 129 } 130 131 jQuery(".left-arrow").click(function() { 132 jQuery('.ts-carousel .slick-prev').click(); 133 }); 134 jQuery(".right-arrow").click(function() { 135 jQuery('.ts-carousel .slick-next').click(); 136 }); 137 138});
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.