1 2 3 function c() { 4 a.bullets.eq(0).addClass("firsrCurrent") 5 } 6 var b, a = new Swiper(".apple-banner .swiper-container", { 7 autoplay: 3e3, 8 speed: 1e3, 9 loop: !0, 10 runCallbacksOnInit: !1, 11 watchSlidesProgress: !0, 12 pagination: ".apple-banner .swiper-pagination", 13 paginationClickable: !0, 14 paginationBulletRender: function(a, b, c) { 15 return '<li class="' + c + '"><span><i></i></span></li>' 16 }, 17 nextButton: ".swiper-button-next", 18 prevButton: ".swiper-button-prev", 19 onProgress: function(a) { 20 var b, c, d, e, f, g; 21 for (b = 0; b < a.slides.length; b++) { 22 for (c = a.slides.eq(b), d = c[0].progress, d > 0 ? (e = .9 * d * a.width, scale = 1 - .1 * d, d > 1 && (scale = .9), txtPositionX = 0, txtPositionY = 30 * d + "px") : (e = 0, scale = 1, txtPositionX = 1e3 * -d + "px", txtPositionY = 0), f = c.find(".txt"), g = 0; g < f.length; g++) f.eq(g).transform("translate3d(" + txtPositionX + "," + txtPositionY + ",0)"); 23 c.transform("translate3d(" + e + "px,0,0) scale(" + scale + ")") 24 } 25 }, 26 onSetTransition: function(a, b) { 27 var c, d, e; 28 for (c = 0; c < a.slides.length; c++) for (slide = a.slides.eq(c), slide.transition(b), d = slide.find(".txt"), e = 0; e < d.length; e++) d.eq(e).transition(b) 29 }, 30 onSlideChangeStart: function(a) { 31 a.autoplaying && (a.bullets.eq(a.realIndex - 1).addClass("replace"), a.bullets.eq(a.realIndex - 1).removeClass("current firsrCurrent"), a.bullets.eq(a.realIndex).addClass("current"), 0 == a.realIndex && a.bullets.removeClass("replace")) 32 }, 33 onAutoplayStop: function(a) { 34 a.$(".autoplay").removeClass("autoplay") 35 } 36 }); 37 for (b = 0; b < a.slides.length; b++) a.slides[b].style.zIndex = b; 38 setTimeout(c, 1) 39
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.