$(function() { if($(window).width() >= 1200) { $(".customer ul li").hover(function() { $(this).addclass("active") }, function() { $(this).removeclass("active") }) } if($(window).width() >= 992) { if($(document).scrolltop() <= 1) { $(".navbar-brand img").attr("src", "assets/img/logo.png") $("#success-top img").attr("src", "assets/img/logo_gray.png") } $(window).scroll(function() { if($(window).scrolltop() <= 1) { $(".navbar-brand img").attr("src", "assets/img/logo.png") $("#success-top img").attr("src", "assets/img/logo_gray.png") } }) } (function() { var a, b = 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 }(), this.wow = function() { function c(a) { null == a && (a = {}), this.scrollcallback = b(this.scrollcallback, this), this.scrollhandler = b(this.scrollhandler, this), this.start = b(this.start, this), this.scrolled = !0, this.config = this.util().extend(a, this.defaults) } return c.prototype.defaults = { boxclass: "wow", animateclass: "animated", offset: 0, mobile: !0 }, c.prototype.init = function() { var a; return this.element = window.document.documentelement, "interactive" === (a = document.readystate) || "complete" === a ? this.start() : document.addeventlistener("domcontentloaded", this.start) }, c.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) } }, c.prototype.stop = function() { return window.removeeventlistener("scroll", this.scrollhandler, !1), window.removeeventlistener("resize", this.scrollhandler, !1), null != this.interval ? clearinterval(this.interval) : void 0 }, c.prototype.show = function(a) { return this.applystyle(a), a.classname = "" + a.classname + " " + this.config.animateclass }, c.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"), a.setattribute("style", this.customstyle(b, d, c, e)) }, c.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 }, c.prototype.customstyle = function(a, b, c, d) { var e; return e = a ? "visibility: hidden; -webkit-animation-name: none; -moz-animation-name: none; animation-name: none;" : "visibility: visible;", b && (e += "-webkit-animation-duration: " + b + "; -moz-animation-duration: " + b + "; animation-duration: " + b + ";"), c && (e += "-webkit-animation-delay: " + c + "; -moz-animation-delay: " + c + "; animation-delay: " + c + ";"), d && (e += "-webkit-animation-iteration-count: " + d + "; -moz-animation-iteration-count: " + d + "; animation-iteration-count: " + d + ";"), e }, c.prototype.scrollhandler = function() { return this.scrolled = !0 }, c.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 }, c.prototype.offsettop = function(a) { var b; for(b = a.offsettop; a = a.offsetparent;) b += a.offsettop; return b }, c.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 }, c.prototype.util = function() { return this._util || (this._util = new a) }, c.prototype.disabled = function() { return !this.config.mobile && this.util().ismobile(navigator.useragent) }, c }() }).call(this); })