vendor: 21,530 bytes, lines 1-318
1/* 2 _ _ _ _ 3 ___| (_) ___| | __ (_)___ 4/ __| | |/ __| |/ / | / __| 5\__ \ | | (__| < _ | \__ \ 6|___/_|_|\___|_|\_(_)/ |___/ 7 |__/ 8 9 Version: 1.6.0 10 Author: Ken Wheeler 11 Website: http://kenwheeler.github.io 12 Docs: http://kenwheeler.github.io/slick 13 Repo: http://github.com/kenwheeler/slick 14 Issues: http://github.com/kenwheeler/slick/issues 15 16 */ 17! function(a) { 18 "use strict"; 19 "function" == typeof define && define.amd ? define(["jquery"], a) : "undefined" != typeof exports ? module.exports = a(require("jquery")) : a(jQuery) 20}(function(a) { 21 "use strict"; 22 var b = window.Slick || {}; 23 b = function() { 24 function c(c, d) { 25 var f, e = this; 26 e.defaults = { 27 accessibility: !0, 28 adaptiveHeight: !1, 29 appendArrows: a(c), 30 appendDots: a(c), 31 arrows: !0, 32 asNavFor: null, 33 prevArrow: '<button type="button" data-role="none" class="slick-prev" aria-label="Previous" tabindex="0" role="button">Previous</button>', 34 nextArrow: '<button type="button" data-role="none" class="slick-next" aria-label="Next" tabindex="0" role="button">Next</button>', 35 autoplay: !1, 36 autoplaySpeed: 3e3, 37 centerMode: !1, 38 centerPadding: "50px", 39 cssEase: "ease", 40 customPaging: function(b, c) { 41 return a('<button type="button" data-role="none" role="button" tabindex="0" />').text(c + 1) 42 }, 43 dots: !1, 44 dotsClass: "slick-dots", 45 draggable: !0, 46 easing: "linear", 47 edgeFriction: .35, 48 fade: !1, 49 focusOnSelect: !1, 50 infinite: !0, 51 initialSlide: 0, 52 lazyLoad: "ondemand", 53 mobileFirst: !1, 54 pauseOnHover: !0, 55 pauseOnFocus: !0, 56 pauseOnDotsHover: !1, 57 respondTo: "window", 58 responsive: null, 59 rows: 1, 60 rtl: !1, 61 slide: "", 62 slidesPerRow: 1, 63 slidesToShow: 1, 64 slidesToScroll: 1, 65 speed: 500, 66 swipe: !0, 67 swipeToSlide: !1, 68 touchMove: !0, 69 touchThreshold: 5, 70 useCSS: !0, 71 useTransform: !0, 72 variableWidth: !1, 73 vertical: !1, 74 verticalSwiping: !1, 75 waitForAnimate: !0, 76 zIndex: 1e3 77 }, e.initials = { 78 animating: !1, 79 dragging: !1, 80 autoPlayTimer: null, 81 currentDirection: 0, 82 currentLeft: null, 83 currentSlide: 0, 84 direction: 1, 85 $dots: null, 86 listWidth: null, 87 listHeight: null, 88 loadIndex: 0, 89 $nextArrow: null, 90 $prevArrow: null, 91 slideCount: null, 92 slideWidth: null, 93 $slideTrack: null, 94 $slides: null, 95 sliding: !1, 96 slideOffset: 0, 97 swipeLeft: null, 98 $list: null, 99 touchObject: {}, 100 transformsEnabled: !1, 101 unslicked: !1 102 }, a.extend(e, e.initials), e.activeBreakpoint = null, e.animType = null, e.animProp = null, e.breakpoints = [], e.breakpointSettings = [], e.cssTransitions = !1, e.focussed = !1, e.interrupted = !1, e.hidden = "hidden", e.paused = !0, e.positionProp = null, e.respondTo = null, e.rowCount = 1, e.shouldClick = !0, e.$slider = a(c), e.$slidesCache = null, e.transformType = null, e.transitionType = null, e.visibilityChange = "visibilitychange", e.windowWidth = 0, e.windowTimer = null, f = a(c).data("slick") || {}, e.options = a.extend({}, e.defaults, d, f), e.currentSlide = e.options.initialSlide, e.originalSettings = e.options, "undefined" != typeof document.mozHidden ? (e.hidden = "mozHidden", e.visibilityChange = "mozvisibilitychange") : "undefined" != typeof document.webkitHidden && (e.hidden = "webkitHidden", e.visibilityChange = "webkitvisibilitychange"), e.autoPlay = a.proxy(e.autoPlay, e), e.autoPlayClear = a.proxy(e.autoPlayClear, e), e.autoPlayIterator = a.proxy(e.autoPlayIterator, e), e.changeSlide = a.proxy(e.changeSlide, e), e.clickHandler = a.proxy(e.clickHandler, e), e.selectHandler = a.proxy(e.selectHandler, e), e.setPosition = a.proxy(e.setPosition, e), e.swipeHandler = a.proxy(e.swipeHandler, e), e.dragHandler = a.proxy(e.dragHandler, e), e.keyHandler = a.proxy(e.keyHandler, e), e.instanceUid = b++, e.htmlExpr = /^(?:\s*(<[\w\W]+>)[^>]*)$/, e.registerBreakpoints(), e.init(!0) 103 } 104 var b = 0; 105 return c 106 }(), b.prototype.activateADA = function() { 107 var a = this; 108 a.$slideTrack.find(".slick-active").attr({ 109 "aria-hidden": "false" 110 }).find("a, input, button, select").attr({ 111 tabindex: "0" 112 }) 113 }, b.prototype.addSlide = b.prototype.slickAdd = function(b, c, d) { 114 var e = this; 115 if ("boolean" == typeof c) d = c, c = null; 116 else if (0 > c || c >= e.slideCount) return !1; 117 e.unload(), "number" == typeof c ? 0 === c && 0 === e.$slides.length ? a(b).appendTo(e.$slideTrack) : d ? a(b).insertBefore(e.$slides.eq(c)) : a(b).insertAfter(e.$slides.eq(c)) : d === !0 ? a(b).prependTo(e.$slideTrack) : a(b).appendTo(e.$slideTrack), e.$slides = e.$slideTrack.children(this.options.slide), e.$slideTrack.children(this.options.slide).detach(), e.$slideTrack.append(e.$slides), e.$slides.each(function(b, c) { 118 a(c).attr("data-slick-index", b) 119 }), e.$slidesCache = e.$slides, e.reinit() 120 }, b.prototype.animateHeight = function() { 121 var a = this; 122 if (1 === a.options.slidesToShow && a.options.adaptiveHeight === !0 && a.options.vertical === !1) { 123 var b = a.$slides.eq(a.currentSlide).outerHeight(!0); 124 a.$list.animate({ 125 height: b 126 }, a.options.speed) 127 } 128 }, b.prototype.animateSlide = function(b, c) { 129 var d = {}, 130 e = this; 131 e.animateHeight(), e.options.rtl === !0 && e.options.vertical === !1 && (b = -b), e.transformsEnabled === !1 ? e.options.vertical === !1 ? e.$slideTrack.animate({ 132 left: b 133 }, e.options.speed, e.options.easing, c) : e.$slideTrack.animate({ 134 top: b 135 }, e.options.speed, e.options.easing, c) : e.cssTransitions === !1 ? (e.options.rtl === !0 && (e.currentLeft = -e.currentLeft), a({ 136 animStart: e.currentLeft 137 }).animate({ 138 animStart: b 139 }, { 140 duration: e.options.speed, 141 easing: e.options.easing, 142 step: function(a) { 143 a = Math.ceil(a), e.options.vertical === !1 ? (d[e.animType] = "translate(" + a + "px, 0px)", e.$slideTrack.css(d)) : (d[e.animType] = "translate(0px," + a + "px)", e.$slideTrack.css(d)) 144 }, 145 complete: function() { 146 c && c.call() 147 } 148 })) : (e.applyTransition(), b = Math.ceil(b), e.options.vertical === !1 ? d[e.animType] = "translate3d(" + b + "px, 0px, 0px)" : d[e.animType] = "translate3d(0px," + b + "px, 0px)", e.$slideTrack.css(d), c && setTimeout(function() { 149 e.disableTransition(), c.call() 150 }, e.options.speed)) 151 }, b.prototype.getNavTarget = function() { 152 var b = this, 153 c = b.options.asNavFor; 154 return c && null !== c && (c = a(c).not(b.$slider)), c 155 }, b.prototype.asNavFor = function(b) { 156 var c = this, 157 d = c.getNavTarget(); 158 null !== d && "object" == typeof d && d.each(function() { 159 var c = a(this).slick("getSlick"); 160 c.unslicked || c.slideHandler(b, !0) 161 }) 162 }, b.prototype.applyTransition = function(a) { 163 var b = this, 164 c = {}; 165 b.options.fade === !1 ? c[b.transitionType] = b.transformType + " " + b.options.speed + "ms " + b.options.cssEase : c[b.transitionType] = "opacity " + b.options.speed + "ms " + b.options.cssEase, b.options.fade === !1 ? b.$slideTrack.css(c) : b.$slides.eq(a).css(c) 166 }, b.prototype.autoPlay = function() { 167 var a = this; 168 a.autoPlayClear(), a.slideCount > a.options.slidesToShow && (a.autoPlayTimer = setInterval(a.autoPlayIterator, a.options.autoplaySpeed)) 169 }, b.prototype.autoPlayClear = function() { 170 var a = this; 171 a.autoPlayTimer && clearInterval(a.autoPlayTimer) 172 }, b.prototype.autoPlayIterator = function() { 173 var a = this, 174 b = a.currentSlide + a.options.slidesToScroll; 175 a.paused || a.interrupted || a.focussed || (a.options.infinite === !1 && (1 === a.direction && a.currentSlide + 1 === a.slideCount - 1 ? a.direction = 0 : 0 === a.direction && (b = a.currentSlide - a.options.slidesToScroll, a.currentSlide - 1 === 0 && (a.direction = 1))), a.slideHandler(b)) 176 }, b.prototype.buildArrows = function() { 177 var b = this; 178 b.options.arrows === !0 && (b.$prevArrow = a(b.options.prevArrow).addClass("slick-arrow"), b.$nextArrow = a(b.options.nextArrow).addClass("slick-arrow"), b.slideCount > b.options.slidesToShow ? (b.$prevArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"), b.$nextArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"), b.htmlExpr.test(b.options.prevArrow) && b.$prevArrow.prependTo(b.options.appendArrows), b.htmlExpr.test(b.options.nextArrow) && b.$nextArrow.appendTo(b.options.appendArrows), b.options.infinite !== !0 && b.$prevArrow.addClass("slick-disabled").attr("aria-disabled", "true")) : b.$prevArrow.add(b.$nextArrow).addClass("slick-hidden").attr({ 179 "aria-disabled": "true", 180 tabindex: "-1" 181 })) 182 }, b.prototype.buildDots = function() { 183 var c, d, b = this; 184 if (b.options.dots === !0 && b.slideCount > b.options.slidesToShow) { 185 for (b.$slider.addClass("slick-dotted"), d = a("<ul />").addClass(b.options.dotsClass), c = 0; c <= b.getDotCount(); c += 1) d.append(a("<li />").append(b.options.customPaging.call(this, b, c))); 186 b.$dots = d.appendTo(b.options.appendDots), b.$dots.find("li").first().addClass("slick-active").attr("aria-hidden", "false") 187 } 188 }, b.prototype.buildOut = function() { 189 var b = this; 190 b.$slides = b.$slider.children(b.options.slide + ":not(.slick-cloned)").addClass("slick-slide"), b.slideCount = b.$slides.length, b.$slides.each(function(b, c) { 191 a(c).attr("data-slick-index", b).data("originalStyling", a(c).attr("style") || "") 192 }), b.$slider.addClass("slick-slider"), b.$slideTrack = 0 === b.slideCount ? a('<div class="slick-track"/>').appendTo(b.$slider) : b.$slides.wrapAll('<div class="slick-track"/>').parent(), b.$list = b.$slideTrack.wrap('<div aria-live="polite" class="slick-list"/>').parent(), b.$slideTrack.css("opacity", 0), (b.options.centerMode === !0 || b.options.swipeToSlide === !0) && (b.options.slidesToScroll = 1), a("img[data-lazy]", b.$slider).not("[src]").addClass("slick-loading"), b.setupInfinite(), b.buildArrows(), b.buildDots(), b.updateDots(), b.setSlideClasses("number" == typeof b.currentSlide ? b.currentSlide : 0), b.options.draggable === !0 && b.$list.addClass("draggable") 193 }, b.prototype.buildRows = function() { 194 var b, c, d, e, f, g, h, a = this; 195 if (e = document.createDocumentFragment(), g = a.$slider.children(), a.options.rows > 1) { 196 for (h = a.options.slidesPerRow * a.options.rows, f = Math.ceil(g.length / h), b = 0; f > b; b++) { 197 var i = document.createElement("div"); 198 for (c = 0; c < a.options.rows; c++) { 199 var j = document.createElement("div"); 200 for (d = 0; d < a.options.slidesPerRow; d++) { 201 var k = b * h + (c * a.options.slidesPerRow + d); 202 g.get(k) && j.appendChild(g.get(k)) 203 } 204 i.appendChild(j) 205 } 206 e.appendChild(i) 207 } 208 a.$slider.empty().append(e), a.$slider.children().children().children().css({ 209 width: 100 / a.options.slidesPerRow + "%", 210 display: "inline-block" 211 }) 212 } 213 }, b.prototype.checkResponsive = function(b, c) { 214 var e, f, g, d = this, 215 h = !1, 216 i = d.$slider.width(), 217 j = window.innerWidth || a(window).width(); 218 if ("window" === d.respondTo ? g = j : "slider" === d.respondTo ? g = i : "min" === d.respondTo && (g = Math.min(j, i)), d.options.responsive && d.options.responsive.length && null !== d.options.responsive) { 219 f = null; 220 for (e in d.breakpoints) d.breakpoints.hasOwnProperty(e) && (d.originalSettings.mobileFirst === !1 ? g < d.breakpoints[e] && (f = d.breakpoints[e]) : g > d.breakpoints[e] && (f = d.breakpoints[e])); 221 null !== f ? null !== d.activeBreakpoint ? (f !== d.activeBreakpoint || c) && (d.activeBreakpoint = f, "unslick" === d.breakpointSettings[f] ? d.unslick(f) : (d.options = a.extend({}, d.originalSettings, d.breakpointSettings[f]), b === !0 && (d.currentSlide = d.options.initialSlide), d.refresh(b)), h = f) : (d.activeBreakpoint = f, "unslick" === d.breakpointSettings[f] ? d.unslick(f) : (d.options = a.extend({}, d.originalSettings, d.breakpointSettings[f]), b === !0 && (d.currentSlide = d.options.initialSlide), d.refresh(b)), h = f) : null !== d.activeBreakpoint && (d.activeBreakpoint = null, d.options = d.originalSettings, b === !0 && (d.currentSlide = d.options.initialSlide), d.refresh(b), h = f), b || h === !1 || d.$slider.trigger("breakpoint", [d, h]) 222 } 223 }, b.prototype.changeSlide = function(b, c) { 224 var f, g, h, d = this, 225 e = a(b.currentTarget); 226 switch (e.is("a") && b.preventDefault(), e.is("li") || (e = e.closest("li")), h = d.slideCount % d.options.slidesToScroll !== 0, f = h ? 0 : (d.slideCount - d.currentSlide) % d.options.slidesToScroll, b.data.message) { 227 case "previous": 228 g = 0 === f ? d.options.slidesToScroll : d.options.slidesToShow - f, d.slideCount > d.options.slidesToShow && d.slideHandler(d.currentSlide - g, !1, c); 229 break; 230 case "next": 231 g = 0 === f ? d.options.slidesToScroll : f, d.slideCount > d.options.slidesToShow && d.slideHandler(d.currentSlide + g, !1, c); 232 break; 233 case "index": 234 var i = 0 === b.data.index ? 0 : b.data.index || e.index() * d.options.slidesToScroll; 235 d.slideHandler(d.checkNavigable(i), !1, c), e.children().trigger("focus"); 236 break; 237 default: 238 return 239 } 240 }, b.prototype.checkNavigable = function(a) { 241 var c, d, b = this; 242 if (c = b.getNavigableIndexes(), d = 0, a > c[c.length - 1]) a = c[c.length - 1]; 243 else 244 for (var e in c) { 245 if (a < c[e]) { 246 a = d; 247 break 248 } 249 d = c[e] 250 } 251 return a 252 }, b.prototype.cleanUpEvents = function() { 253 var b = this; 254 b.options.dots && null !== b.$dots && a("li", b.$dots).off("click.slick", b.changeSlide).off("mouseenter.slick", a.proxy(b.interrupt, b, !0)).off("mouseleave.slick", a.proxy(b.interrupt, b, !1)), b.$slider.off("focus.slick blur.slick"), b.options.arrows === !0 && b.slideCount > b.options.slidesToShow && (b.$prevArrow && b.$prevArrow.off("click.slick", b.changeSlide), b.$nextArrow && b.$nextArrow.off("click.slick", b.changeSlide)), b.$list.off("touchstart.slick mousedown.slick", b.swipeHandler), b.$list.off("touchmove.slick mousemove.slick", b.swipeHandler), b.$list.off("touchend.slick mouseup.slick", b.swipeHandler), b.$list.off("touchcancel.slick mouseleave.slick", b.swipeHandler), b.$list.off("click.slick", b.clickHandler), a(document).off(b.visibilityChange, b.visibility), b.cleanUpSlideEvents(), b.options.accessibility === !0 && b.$list.off("keydown.slick", b.keyHandler), b.options.focusOnSelect === !0 && a(b.$slideTrack).children().off("click.slick", b.selectHandler), a(window).off("orientationchange.slick.slick-" + b.instanceUid, b.orientationChange), a(window).off("resize.slick.slick-" + b.instanceUid, b.resize), a("[draggable!=true]", b.$slideTrack).off("dragstart", b.preventDefault), a(window).off("load.slick.slick-" + b.instanceUid, b.setPosition), a(document).off("ready.slick.slick-" + b.instanceUid, b.setPosition) 255 }, b.prototype.cleanUpSlideEvents = function() { 256 var b = this; 257 b.$list.off("mouseenter.slick", a.proxy(b.interrupt, b, !0)), b.$list.off("mouseleave.slick", a.proxy(b.interrupt, b, !1)) 258 }, b.prototype.cleanUpRows = function() { 259 var b, a = this; 260 a.options.rows > 1 && (b = a.$slides.children().children(), b.removeAttr("style"), a.$slider.empty().append(b)) 261 }, b.prototype.clickHandler = function(a) { 262 var b = this; 263 b.shouldClick === !1 && (a.stopImmediatePropagation(), a.stopPropagation(), a.preventDefault()) 264 }, b.prototype.destroy = function(b) { 265 var c = this; 266 c.autoPlayClear(), c.touchObject = {}, c.cleanUpEvents(), a(".slick-cloned", c.$slider).detach(), c.$dots && c.$dots.remove(), c.$prevArrow && c.$prevArrow.length && (c.$prevArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display", ""), c.htmlExpr.test(c.options.prevArrow) && c.$prevArrow.remove()), c.$nextArrow && c.$nextArrow.length && (c.$nextArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display", ""), c.htmlExpr.test(c.options.nextArrow) && c.$nextArrow.remove()), c.$slides && (c.$slides.removeClass("slick-slide slick-active slick-center slick-visible slick-current").removeAttr("aria-hidden").removeAttr("data-slick-index").each(function() { 267 a(this).attr("style", a(this).data("originalStyling")) 268 }), c.$slideTrack.children(this.options.slide).detach(), c.$slideTrack.detach(), c.$list.detach(), c.$slider.append(c.$slides)), c.cleanUpRows(), c.$slider.removeClass("slick-slider"), c.$slider.removeClass("slick-initialized"), c.$slider.removeClass("slick-dotted"), c.unslicked = !0, b || c.$slider.trigger("destroy", [c]) 269 }, b.prototype.disableTransition = function(a) { 270 var b = this, 271 c = {}; 272 c[b.transitionType] = "", b.options.fade === !1 ? b.$slideTrack.css(c) : b.$slides.eq(a).css(c) 273 }, b.prototype.fadeSlide = function(a, b) { 274 var c = this; 275 c.cssTransitions === !1 ? (c.$slides.eq(a).css({ 276 zIndex: c.options.zIndex 277 }), c.$slides.eq(a).animate({ 278 opacity: 1 279 }, c.options.speed, c.options.easing, b)) : (c.applyTransition(a), c.$slides.eq(a).css({ 280 opacity: 1, 281 zIndex: c.options.zIndex 282 }), b && setTimeout(function() { 283 c.disableTransition(a), b.call() 284 }, c.options.speed)) 285 }, b.prototype.fadeSlideOut = function(a) { 286 var b = this; 287 b.cssTransitions === !1 ? b.$slides.eq(a).animate({ 288 opacity: 0, 289 zIndex: b.options.zIndex - 2 290 }, b.options.speed, b.options.easing) : (b.applyTransition(a), b.$slides.eq(a).css({ 291 opacity: 0, 292 zIndex: b.options.zIndex - 2 293 })) 294 }, b.prototype.filterSlides = b.prototype.slickFilter = function(a) { 295 var b = this; 296 null !== a && (b.$slidesCache = b.$slides, b.unload(), b.$slideTrack.children(this.options.slide).detach(), b.$slidesCache.filter(a).appendTo(b.$slideTrack), b.reinit()) 297 }, b.prototype.focusHandler = function() { 298 var b = this; 299 b.$slider.off("focus.slick blur.slick").on("focus.slick blur.slick", "*:not(.slick-arrow)", function(c) { 300 c.stopImmediatePropagation(); 301 var d = a(this); 302 setTimeout(function() { 303 b.options.pauseOnFocus && (b.focussed = d.is(":focus"), b.autoPlay()) 304 }, 0) 305 }) 306 }, b.prototype.getCurrent = b.prototype.slickCurrentSlide = function() { 307 var a = this; 308 return a.currentSlide 309 }, b.prototype.getDotCount = function() { 310 var a = this, 311 b = 0, 312 c = 0, 313 d = 0; 314 if (a.options.infinite === !0) 315 for (; b < a.slideCount;) ++d, b = c + a.options.slidesToScroll, c += a.options.slidesToScroll <= a.options.slidesToShow ? a.options.slidesToScroll : a.options.slidesToShow; 316 else if (a.options.centerMode === !0) d = a.slideCount; 317 else if (a.options.asNavFor) 318 for (; b < a.slideCount;) ++d, b = c + a.options.slidesToScroll, c += a.options.slidesToScroll <= a.options.slidesToShow ? a.options.slidesToScroll : a.options.slidesToShow;
319 else d = 1 + Math.ceil((a.slideCount - a.options.slidesToShow) / a.options.slidesToScroll); 320 return d - 1 321 }, b.prototype.getLeft = function(a) { 322 var c, d, f, b = this, 323 e = 0; 324 return b.slideOffset = 0, d = b.$slides.first().outerHeight(!0), b.options.infinite === !0 ? (b.slideCount > b.options.slidesToShow && (b.slideOffset = b.slideWidth * b.options.slidesToShow * -1, e = d * b.options.slidesToShow * -1), b.slideCount % b.options.slidesToScroll !== 0 && a + b.options.slidesToScroll > b.slideCount && b.slideCount > b.options.slidesToShow && (a > b.slideCount ? (b.slideOffset = (b.options.slidesToShow - (a - b.slideCount)) * b.slideWidth * -1, e = (b.options.slidesToShow - (a - b.slideCount)) * d * -1) : (b.slideOffset = b.slideCount % b.options.slidesToScroll * b.slideWidth * -1, e = b.slideCount % b.options.slidesToScroll * d * -1))) : a + b.options.slidesToShow > b.slideCount && (b.slideOffset = (a + b.options.slidesToShow - b.slideCount) * b.slideWidth, e = (a + b.options.slidesToShow - b.slideCount) * d), b.slideCount <= b.options.slidesToShow && (b.slideOffset = 0, e = 0), b.options.centerMode === !0 && b.options.infinite === !0 ? b.slideOffset += b.slideWidth * Math.floor(b.options.slidesToShow / 2) - b.slideWidth : b.options.centerMode === !0 && (b.slideOffset = 0, b.slideOffset += b.slideWidth * Math.floor(b.options.slidesToShow / 2)), c = b.options.vertical === !1 ? a * b.slideWidth * -1 + b.slideOffset : a * d * -1 + e, b.options.variableWidth === !0 && (f = b.slideCount <= b.options.slidesToShow || b.options.infinite === !1 ? b.$slideTrack.children(".slick-slide").eq(a) : b.$slideTrack.children(".slick-slide").eq(a + b.options.slidesToShow), c = b.options.rtl === !0 ? f[0] ? -1 * (b.$slideTrack.width() - f[0].offsetLeft - f.width()) : 0 : f[0] ? -1 * f[0].offsetLeft : 0, b.options.centerMode === !0 && (f = b.slideCount <= b.options.slidesToShow || b.options.infinite === !1 ? b.$slideTrack.children(".slick-slide").eq(a) : b.$slideTrack.children(".slick-slide").eq(a + b.options.slidesToShow + 1), c = b.options.rtl === !0 ? f[0] ? -1 * (b.$slideTrack.width() - f[0].offsetLeft - f.width()) : 0 : f[0] ? -1 * f[0].offsetLeft : 0, c += (b.$list.width() - f.outerWidth()) / 2)), c 325 }, b.prototype.getOption = b.prototype.slickGetOption = function(a) { 326 var b = this; 327 return b.options[a] 328 }, b.prototype.getNavigableIndexes = function() { 329 var e, a = this, 330 b = 0, 331 c = 0, 332 d = []; 333 for (a.options.infinite === !1 ? e = a.slideCount : (b = -1 * a.options.slidesToScroll, c = -1 * a.options.slidesToScroll, e = 2 * a.slideCount); e > b;) d.push(b), b = c + a.options.slidesToScroll, c += a.options.slidesToScroll <= a.options.slidesToShow ? a.options.slidesToScroll : a.options.slidesToShow; 334 return d 335 }, b.prototype.getSlick = function() { 336 return this 337 }, b.prototype.getSlideCount = function() { 338 var c, d, e, b = this; 339 return e = b.options.centerMode === !0 ? b.slideWidth * Math.floor(b.options.slidesToShow / 2) : 0, b.options.swipeToSlide === !0 ? (b.$slideTrack.find(".slick-slide").each(function(c, f) { 340 return f.offsetLeft - e + a(f).outerWidth() / 2 > -1 * b.swipeLeft ? (d = f, !1) : void 0 341 }), c = Math.abs(a(d).attr("data-slick-index") - b.currentSlide) || 1) : b.options.slidesToScroll 342 }, b.prototype.goTo = b.prototype.slickGoTo = function(a, b) { 343 var c = this; 344 c.changeSlide({ 345 data: { 346 message: "index", 347 index: parseInt(a) 348 } 349 }, b) 350 }, b.prototype.init = function(b) { 351 var c = this; 352 a(c.$slider).hasClass("slick-initialized") || (a(c.$slider).addClass("slick-initialized"), c.buildRows(), c.buildOut(), c.setProps(), c.startLoad(), c.loadSlider(), c.initializeEvents(), c.updateArrows(), c.updateDots(), c.checkResponsive(!0), c.focusHandler()), b && c.$slider.trigger("init", [c]), c.options.accessibility === !0 && c.initADA(), c.options.autoplay && (c.paused = !1, c.autoPlay()) 353 }, b.prototype.initADA = function() { 354 var b = this; 355 b.$slides.add(b.$slideTrack.find(".slick-cloned")).attr({ 356 "aria-hidden": "true", 357 tabindex: "-1" 358 }).find("a, input, button, select").attr({ 359 tabindex: "-1" 360 }), b.$slideTrack.attr("role", "listbox"), b.$slides.not(b.$slideTrack.find(".slick-cloned")).each(function(c) { 361 a(this).attr({ 362 role: "option", 363 "aria-describedby": "slick-slide" + b.instanceUid + c 364 }) 365 }), null !== b.$dots && b.$dots.attr("role", "tablist").find("li").each(function(c) { 366 a(this).attr({ 367 role: "presentation", 368 "aria-selected": "false", 369 "aria-controls": "navigation" + b.instanceUid + c, 370 id: "slick-slide" + b.instanceUid + c 371 }) 372 }).first().attr("aria-selected", "true").end().find("button").attr("role", "button").end().closest("div").attr("role", "toolbar"), b.activateADA() 373 }, b.prototype.initArrowEvents = function() { 374 var a = this; 375 a.options.arrows === !0 && a.slideCount > a.options.slidesToShow && (a.$prevArrow.off("click.slick").on("click.slick", { 376 message: "previous" 377 }, a.changeSlide), a.$nextArrow.off("click.slick").on("click.slick", { 378 message: "next" 379 }, a.changeSlide)) 380 }, b.prototype.initDotEvents = function() { 381 var b = this; 382 b.options.dots === !0 && b.slideCount > b.options.slidesToShow && a("li", b.$dots).on("click.slick", { 383 message: "index" 384 }, b.changeSlide), b.options.dots === !0 && b.options.pauseOnDotsHover === !0 && a("li", b.$dots).on("mouseenter.slick", a.proxy(b.interrupt, b, !0)).on("mouseleave.
vendor: 27,308 bytes, lines 384-676
384slick", a.proxy(b.interrupt, b, !1)) 385 }, b.prototype.initSlideEvents = function() { 386 var b = this; 387 b.options.pauseOnHover && (b.$list.on("mouseenter.slick", a.proxy(b.interrupt, b, !0)), b.$list.on("mouseleave.slick", a.proxy(b.interrupt, b, !1))) 388 }, b.prototype.initializeEvents = function() { 389 var b = this; 390 b.initArrowEvents(), b.initDotEvents(), b.initSlideEvents(), b.$list.on("touchstart.slick mousedown.slick", { 391 action: "start" 392 }, b.swipeHandler), b.$list.on("touchmove.slick mousemove.slick", { 393 action: "move" 394 }, b.swipeHandler), b.$list.on("touchend.slick mouseup.slick", { 395 action: "end" 396 }, b.swipeHandler), b.$list.on("touchcancel.slick mouseleave.slick", { 397 action: "end" 398 }, b.swipeHandler), b.$list.on("click.slick", b.clickHandler), a(document).on(b.visibilityChange, a.proxy(b.visibility, b)), b.options.accessibility === !0 && b.$list.on("keydown.slick", b.keyHandler), b.options.focusOnSelect === !0 && a(b.$slideTrack).children().on("click.slick", b.selectHandler), a(window).on("orientationchange.slick.slick-" + b.instanceUid, a.proxy(b.orientationChange, b)), a(window).on("resize.slick.slick-" + b.instanceUid, a.proxy(b.resize, b)), a("[draggable!=true]", b.$slideTrack).on("dragstart", b.preventDefault), a(window).on("load.slick.slick-" + b.instanceUid, b.setPosition), a(document).on("ready.slick.slick-" + b.instanceUid, b.setPosition) 399 }, b.prototype.initUI = function() { 400 var a = this; 401 a.options.arrows === !0 && a.slideCount > a.options.slidesToShow && (a.$prevArrow.show(), a.$nextArrow.show()), a.options.dots === !0 && a.slideCount > a.options.slidesToShow && a.$dots.show() 402 }, b.prototype.keyHandler = function(a) { 403 var b = this; 404 a.target.tagName.match("TEXTAREA|INPUT|SELECT") || (37 === a.keyCode && b.options.accessibility === !0 ? b.changeSlide({ 405 data: { 406 message: b.options.rtl === !0 ? "next" : "previous" 407 } 408 }) : 39 === a.keyCode && b.options.accessibility === !0 && b.changeSlide({ 409 data: { 410 message: b.options.rtl === !0 ? "previous" : "next" 411 } 412 })) 413 }, b.prototype.lazyLoad = function() { 414 function g(c) { 415 a("img[data-lazy]", c).each(function() { 416 var c = a(this), 417 d = a(this).attr("data-lazy"), 418 e = document.createElement("img"); 419 e.onload = function() { 420 c.animate({ 421 opacity: 0 422 }, 100, function() { 423 c.attr("src", d).animate({ 424 opacity: 1 425 }, 200, function() { 426 c.removeAttr("data-lazy").removeClass("slick-loading") 427 }), b.$slider.trigger("lazyLoaded", [b, c, d]) 428 }) 429 }, e.onerror = function() { 430 c.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"), b.$slider.trigger("lazyLoadError", [b, c, d]) 431 }, e.src = d 432 }) 433 } 434 var c, d, e, f, b = this; 435 b.options.centerMode === !0 ? b.options.infinite === !0 ? (e = b.currentSlide + (b.options.slidesToShow / 2 + 1), f = e + b.options.slidesToShow + 2) : (e = Math.max(0, b.currentSlide - (b.options.slidesToShow / 2 + 1)), f = 2 + (b.options.slidesToShow / 2 + 1) + b.currentSlide) : (e = b.options.infinite ? b.options.slidesToShow + b.currentSlide : b.currentSlide, f = Math.ceil(e + b.options.slidesToShow), b.options.fade === !0 && (e > 0 && e--, f <= b.slideCount && f++)), c = b.$slider.find(".slick-slide").slice(e, f), g(c), b.slideCount <= b.options.slidesToShow ? (d = b.$slider.find(".slick-slide"), g(d)) : b.currentSlide >= b.slideCount - b.options.slidesToShow ? (d = b.$slider.find(".slick-cloned").slice(0, b.options.slidesToShow), g(d)) : 0 === b.currentSlide && (d = b.$slider.find(".slick-cloned").slice(-1 * b.options.slidesToShow), g(d)) 436 }, b.prototype.loadSlider = function() { 437 var a = this; 438 a.setPosition(), a.$slideTrack.css({ 439 opacity: 1 440 }), a.$slider.removeClass("slick-loading"), a.initUI(), "progressive" === a.options.lazyLoad && a.progressiveLazyLoad() 441 }, b.prototype.next = b.prototype.slickNext = function() { 442 var a = this; 443 a.changeSlide({ 444 data: { 445 message: "next" 446 } 447 }) 448 }, b.prototype.orientationChange = function() { 449 var a = this; 450 a.checkResponsive(), a.setPosition() 451 }, b.prototype.pause = b.prototype.slickPause = function() { 452 var a = this; 453 a.autoPlayClear(), a.paused = !0 454 }, b.prototype.play = b.prototype.slickPlay = function() { 455 var a = this; 456 a.autoPlay(), a.options.autoplay = !0, a.paused = !1, a.focussed = !1, a.interrupted = !1 457 }, b.prototype.postSlide = function(a) { 458 var b = this; 459 b.unslicked || (b.$slider.trigger("afterChange", [b, a]), b.animating = !1, b.setPosition(), b.swipeLeft = null, b.options.autoplay && b.autoPlay(), b.options.accessibility === !0 && b.initADA()) 460 }, b.prototype.prev = b.prototype.slickPrev = function() { 461 var a = this; 462 a.changeSlide({ 463 data: { 464 message: "previous" 465 } 466 }) 467 }, b.prototype.preventDefault = function(a) { 468 a.preventDefault() 469 }, b.prototype.progressiveLazyLoad = function(b) { 470 b = b || 1; 471 var e, f, g, c = this, 472 d = a("img[data-lazy]", c.$slider); 473 d.length ? (e = d.first(), f = e.attr("data-lazy"), g = document.createElement("img"), g.onload = function() { 474 e.attr("src", f).removeAttr("data-lazy").removeClass("slick-loading"), c.options.adaptiveHeight === !0 && c.setPosition(), c.$slider.trigger("lazyLoaded", [c, e, f]), c.progressiveLazyLoad() 475 }, g.onerror = function() { 476 3 > b ? setTimeout(function() { 477 c.progressiveLazyLoad(b + 1) 478 }, 500) : (e.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"), c.$slider.trigger("lazyLoadError", [c, e, f]), c.progressiveLazyLoad()) 479 }, g.src = f) : c.$slider.trigger("allImagesLoaded", [c]) 480 }, b.prototype.refresh = function(b) { 481 var d, e, c = this; 482 e = c.slideCount - c.options.slidesToShow, !c.options.infinite && c.currentSlide > e && (c.currentSlide = e), c.slideCount <= c.options.slidesToShow && (c.currentSlide = 0), d = c.currentSlide, c.destroy(!0), a.extend(c, c.initials, { 483 currentSlide: d 484 }), c.init(), b || c.changeSlide({ 485 data: { 486 message: "index", 487 index: d 488 } 489 }, !1) 490 }, b.prototype.registerBreakpoints = function() { 491 var c, d, e, b = this, 492 f = b.options.responsive || null; 493 if ("array" === a.type(f) && f.length) { 494 b.respondTo = b.options.respondTo || "window"; 495 for (c in f) 496 if (e = b.breakpoints.length - 1, d = f[c].breakpoint, f.hasOwnProperty(c)) { 497 for (; e >= 0;) b.breakpoints[e] && b.breakpoints[e] === d && b.breakpoints.splice(e, 1), e--; 498 b.breakpoints.push(d), b.breakpointSettings[d] = f[c].settings 499 } 500 b.breakpoints.sort(function(a, c) { 501 return b.options.mobileFirst ? a - c : c - a 502 }) 503 } 504 }, b.prototype.reinit = function() { 505 var b = this; 506 b.$slides = b.$slideTrack.children(b.options.slide).addClass("slick-slide"), b.slideCount = b.$slides.length, b.currentSlide >= b.slideCount && 0 !== b.currentSlide && (b.currentSlide = b.currentSlide - b.options.slidesToScroll), b.slideCount <= b.options.slidesToShow && (b.currentSlide = 0), b.registerBreakpoints(), b.setProps(), b.setupInfinite(), b.buildArrows(), b.updateArrows(), b.initArrowEvents(), b.buildDots(), b.updateDots(), b.initDotEvents(), b.cleanUpSlideEvents(), b.initSlideEvents(), b.checkResponsive(!1, !0), b.options.focusOnSelect === !0 && a(b.$slideTrack).children().on("click.slick", b.selectHandler), b.setSlideClasses("number" == typeof b.currentSlide ? b.currentSlide : 0), b.setPosition(), b.focusHandler(), b.paused = !b.options.autoplay, b.autoPlay(), b.$slider.trigger("reInit", [b]) 507 }, b.prototype.resize = function() { 508 var b = this; 509 a(window).width() !== b.windowWidth && (clearTimeout(b.windowDelay), b.windowDelay = window.setTimeout(function() { 510 b.windowWidth = a(window).width(), b.checkResponsive(), b.unslicked || b.setPosition() 511 }, 50)) 512 }, b.prototype.removeSlide = b.prototype.slickRemove = function(a, b, c) { 513 var d = this; 514 return "boolean" == typeof a ? (b = a, a = b === !0 ? 0 : d.slideCount - 1) : a = b === !0 ? --a : a, d.slideCount < 1 || 0 > a || a > d.slideCount - 1 ? !1 : (d.unload(), c === !0 ? d.$slideTrack.children().remove() : d.$slideTrack.children(this.options.slide).eq(a).remove(), d.$slides = d.$slideTrack.children(this.options.slide), d.$slideTrack.children(this.options.slide).detach(), d.$slideTrack.append(d.$slides), d.$slidesCache = d.$slides, void d.reinit()) 515 }, b.prototype.setCSS = function(a) { 516 var d, e, b = this, 517 c = {}; 518 b.options.rtl === !0 && (a = -a), d = "left" == b.positionProp ? Math.ceil(a) + "px" : "0px", e = "top" == b.positionProp ? Math.ceil(a) + "px" : "0px", c[b.positionProp] = a, b.transformsEnabled === !1 ? b.$slideTrack.css(c) : (c = {}, b.cssTransitions === !1 ? (c[b.animType] = "translate(" + d + ", " + e + ")", b.$slideTrack.css(c)) : (c[b.animType] = "translate3d(" + d + ", " + e + ", 0px)", b.$slideTrack.css(c))) 519 }, b.prototype.setDimensions = function() { 520 var a = this; 521 a.options.vertical === !1 ? a.options.centerMode === !0 && a.$list.css({ 522 padding: "0px " + a.options.centerPadding 523 }) : (a.$list.height(a.$slides.first().outerHeight(!0) * a.options.slidesToShow), a.options.centerMode === !0 && a.$list.css({ 524 padding: a.options.centerPadding + " 0px" 525 })), a.listWidth = a.$list.width(), a.listHeight = a.$list.height(), a.options.vertical === !1 && a.options.variableWidth === !1 ? (a.slideWidth = Math.ceil(a.listWidth / a.options.slidesToShow), a.$slideTrack.width(Math.ceil(a.slideWidth * a.$slideTrack.children(".slick-slide").length))) : a.options.variableWidth === !0 ? a.$slideTrack.width(5e3 * a.slideCount) : (a.slideWidth = Math.ceil(a.listWidth), a.$slideTrack.height(Math.ceil(a.$slides.first().outerHeight(!0) * a.$slideTrack.children(".slick-slide").length))); 526 var b = a.$slides.first().outerWidth(!0) - a.$slides.first().width(); 527 a.options.variableWidth === !1 && a.$slideTrack.children(".slick-slide").width(a.slideWidth - b) 528 }, b.prototype.setFade = function() { 529 var c, b = this; 530 b.$slides.each(function(d, e) { 531 c = b.slideWidth * d * -1, b.options.rtl === !0 ? a(e).css({ 532 position: "relative", 533 right: c, 534 top: 0, 535 zIndex: b.options.zIndex - 2, 536 opacity: 0 537 }) : a(e).css({ 538 position: "relative", 539 left: c, 540 top: 0, 541 zIndex: b.options.zIndex - 2, 542 opacity: 0 543 }) 544 }), b.$slides.eq(b.currentSlide).css({ 545 zIndex: b.options.zIndex - 1, 546 opacity: 1 547 }) 548 }, b.prototype.setHeight = function() { 549 var a = this; 550 if (1 === a.options.slidesToShow && a.options.adaptiveHeight === !0 && a.options.vertical === !1) { 551 var b = a.$slides.eq(a.currentSlide).outerHeight(!0); 552 a.$list.css("height", b) 553 } 554 }, b.prototype.setOption = b.prototype.slickSetOption = function() { 555 var c, d, e, f, h, b = this, 556 g = !1; 557 if ("object" === a.type(arguments[0]) ? (e = arguments[0], g = arguments[1], h = "multiple") : "string" === a.type(arguments[0]) && (e = arguments[0], f = arguments[1], g = arguments[2], "responsive" === arguments[0] && "array" === a.type(arguments[1]) ? h = "responsive" : "undefined" != typeof arguments[1] && (h = "single")), "single" === h) b.options[e] = f; 558 else if ("multiple" === h) a.each(e, function(a, c) { 559 b.options[a] = c 560 }); 561 else if ("responsive" === h) 562 for (d in f) 563 if ("array" !== a.type(b.options.responsive)) b.options.responsive = [f[d]]; 564 else { 565 for (c = b.options.responsive.length - 1; c >= 0;) b.options.responsive[c].breakpoint === f[d].breakpoint && b.options.responsive.splice(c, 1), c--; 566 b.options.responsive.push(f[d]) 567 } 568 g && (b.unload(), b.reinit()) 569 }, b.prototype.setPosition = function() { 570 var a = this; 571 a.setDimensions(), a.setHeight(), a.options.fade === !1 ? a.setCSS(a.getLeft(a.currentSlide)) : a.setFade(), a.$slider.trigger("setPosition", [a]) 572 }, b.prototype.setProps = function() { 573 var a = this, 574 b = document.body.style; 575 a.positionProp = a.options.vertical === !0 ? "top" : "left", "top" === a.positionProp ? a.$slider.addClass("slick-vertical") : a.$slider.removeClass("slick-vertical"), (void 0 !== b.WebkitTransition || void 0 !== b.MozTransition || void 0 !== b.msTransition) && a.options.useCSS === !0 && (a.cssTransitions = !0), a.options.fade && ("number" == typeof a.options.zIndex ? a.options.zIndex < 3 && (a.options.zIndex = 3) : a.options.zIndex = a.defaults.zIndex), void 0 !== b.OTransform && (a.animType = "OTransform", a.transformType = "-o-transform", a.transitionType = "OTransition", void 0 === b.perspectiveProperty && void 0 === b.webkitPerspective && (a.animType = !1)), void 0 !== b.MozTransform && (a.animType = "MozTransform", a.transformType = "-moz-transform", a.transitionType = "MozTransition", void 0 === b.perspectiveProperty && void 0 === b.MozPerspective && (a.animType = !1)), void 0 !== b.webkitTransform && (a.animType = "webkitTransform", a.transformType = "-webkit-transform", a.transitionType = "webkitTransition", void 0 === b.perspectiveProperty && void 0 === b.webkitPerspective && (a.animType = !1)), void 0 !== b.msTransform && (a.animType = "msTransform", a.transformType = "-ms-transform", a.transitionType = "msTransition", void 0 === b.msTransform && (a.animType = !1)), void 0 !== b.transform && a.animType !== !1 && (a.animType = "transform", a.transformType = "transform", a.transitionType = "transition"), a.transformsEnabled = a.options.useTransform && null !== a.animType && a.animType !== !1 576 }, b.prototype.setSlideClasses = function(a) { 577 var c, d, e, f, b = this; 578 d = b.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden", "true"), b.$slides.eq(a).addClass("slick-current"), b.options.centerMode === !0 ? (c = Math.floor(b.options.slidesToShow / 2), b.options.infinite === !0 && (a >= c && a <= b.slideCount - 1 - c ? b.$slides.slice(a - c, a + c + 1).addClass("slick-active").attr("aria-hidden", "false") : (e = b.options.slidesToShow + a, 579 d.slice(e - c + 1, e + c + 2).addClass("slick-active").attr("aria-hidden", "false")), 0 === a ? d.eq(d.length - 1 - b.options.slidesToShow).addClass("slick-center") : a === b.slideCount - 1 && d.eq(b.options.slidesToShow).addClass("slick-center")), b.$slides.eq(a).addClass("slick-center")) : a >= 0 && a <= b.slideCount - b.options.slidesToShow ? b.$slides.slice(a, a + b.options.slidesToShow).addClass("slick-active").attr("aria-hidden", "false") : d.length <= b.options.slidesToShow ? d.addClass("slick-active").attr("aria-hidden", "false") : (f = b.slideCount % b.options.slidesToShow, e = b.options.infinite === !0 ? b.options.slidesToShow + a : a, b.options.slidesToShow == b.options.slidesToScroll && b.slideCount - a < b.options.slidesToShow ? d.slice(e - (b.options.slidesToShow - f), e + f).addClass("slick-active").attr("aria-hidden", "false") : d.slice(e, e + b.options.slidesToShow).addClass("slick-active").attr("aria-hidden", "false")), "ondemand" === b.options.lazyLoad && b.lazyLoad() 580 }, b.prototype.setupInfinite = function() { 581 var c, d, e, b = this; 582 if (b.options.fade === !0 && (b.options.centerMode = !1), b.options.infinite === !0 && b.options.fade === !1 && (d = null, b.slideCount > b.options.slidesToShow)) { 583 for (e = b.options.centerMode === !0 ? b.options.slidesToShow + 1 : b.options.slidesToShow, c = b.slideCount; c > b.slideCount - e; c -= 1) d = c - 1, a(b.$slides[d]).clone(!0).attr("id", "").attr("data-slick-index", d - b.slideCount).prependTo(b.$slideTrack).addClass("slick-cloned"); 584 for (c = 0; e > c; c += 1) d = c, a(b.$slides[d]).clone(!0).attr("id", "").attr("data-slick-index", d + b.slideCount).appendTo(b.$slideTrack).addClass("slick-cloned"); 585 b.$slideTrack.find(".slick-cloned").find("[id]").each(function() { 586 a(this).attr("id", "") 587 }) 588 } 589 }, b.prototype.interrupt = function(a) { 590 var b = this; 591 a || b.autoPlay(), b.interrupted = a 592 }, b.prototype.selectHandler = function(b) { 593 var c = this, 594 d = a(b.target).is(".slick-slide") ? a(b.target) : a(b.target).parents(".slick-slide"), 595 e = parseInt(d.attr("data-slick-index")); 596 return e || (e = 0), c.slideCount <= c.options.slidesToShow ? (c.setSlideClasses(e), void c.asNavFor(e)) : void c.slideHandler(e) 597 }, b.prototype.slideHandler = function(a, b, c) { 598 var d, e, f, g, j, h = null, 599 i = this; 600 return b = b || !1, i.animating === !0 && i.options.waitForAnimate === !0 || i.options.fade === !0 && i.currentSlide === a || i.slideCount <= i.options.slidesToShow ? void 0 : (b === !1 && i.asNavFor(a), d = a, h = i.getLeft(d), g = i.getLeft(i.currentSlide), i.currentLeft = null === i.swipeLeft ? g : i.swipeLeft, i.options.infinite === !1 && i.options.centerMode === !1 && (0 > a || a > i.getDotCount() * i.options.slidesToScroll) ? void(i.options.fade === !1 && (d = i.currentSlide, c !== !0 ? i.animateSlide(g, function() { 601 i.postSlide(d) 602 }) : i.postSlide(d))) : i.options.infinite === !1 && i.options.centerMode === !0 && (0 > a || a > i.slideCount - i.options.slidesToScroll) ? void(i.options.fade === !1 && (d = i.currentSlide, c !== !0 ? i.animateSlide(g, function() { 603 i.postSlide(d) 604 }) : i.postSlide(d))) : (i.options.autoplay && clearInterval(i.autoPlayTimer), e = 0 > d ? i.slideCount % i.options.slidesToScroll !== 0 ? i.slideCount - i.slideCount % i.options.slidesToScroll : i.slideCount + d : d >= i.slideCount ? i.slideCount % i.options.slidesToScroll !== 0 ? 0 : d - i.slideCount : d, i.animating = !0, i.$slider.trigger("beforeChange", [i, i.currentSlide, e]), f = i.currentSlide, i.currentSlide = e, i.setSlideClasses(i.currentSlide), i.options.asNavFor && (j = i.getNavTarget(), j = j.slick("getSlick"), j.slideCount <= j.options.slidesToShow && j.setSlideClasses(i.currentSlide)), i.updateDots(), i.updateArrows(), i.options.fade === !0 ? (c !== !0 ? (i.fadeSlideOut(f), i.fadeSlide(e, function() { 605 i.postSlide(e) 606 })) : i.postSlide(e), void i.animateHeight()) : void(c !== !0 ? i.animateSlide(h, function() { 607 i.postSlide(e) 608 }) : i.postSlide(e)))) 609 }, b.prototype.startLoad = function() { 610 var a = this; 611 a.options.arrows === !0 && a.slideCount > a.options.slidesToShow && (a.$prevArrow.hide(), a.$nextArrow.hide()), a.options.dots === !0 && a.slideCount > a.options.slidesToShow && a.$dots.hide(), a.$slider.addClass("slick-loading") 612 }, b.prototype.swipeDirection = function() { 613 var a, b, c, d, e = this; 614 return a = e.touchObject.startX - e.touchObject.curX, b = e.touchObject.startY - e.touchObject.curY, c = Math.atan2(b, a), d = Math.round(180 * c / Math.PI), 0 > d && (d = 360 - Math.abs(d)), 45 >= d && d >= 0 ? e.options.rtl === !1 ? "left" : "right" : 360 >= d && d >= 315 ? e.options.rtl === !1 ? "left" : "right" : d >= 135 && 225 >= d ? e.options.rtl === !1 ? "right" : "left" : e.options.verticalSwiping === !0 ? d >= 35 && 135 >= d ? "down" : "up" : "vertical" 615 }, b.prototype.swipeEnd = function(a) { 616 var c, d, b = this; 617 if (b.dragging = !1, b.interrupted = !1, b.shouldClick = b.touchObject.swipeLength > 10 ? !1 : !0, void 0 === b.touchObject.curX) return !1; 618 if (b.touchObject.edgeHit === !0 && b.$slider.trigger("edge", [b, b.swipeDirection()]), b.touchObject.swipeLength >= b.touchObject.minSwipe) { 619 switch (d = b.swipeDirection()) { 620 case "left": 621 case "down": 622 c = b.options.swipeToSlide ? b.checkNavigable(b.currentSlide + b.getSlideCount()) : b.currentSlide + b.getSlideCount(), b.currentDirection = 0; 623 break; 624 case "right": 625 case "up": 626 c = b.options.swipeToSlide ? b.checkNavigable(b.currentSlide - b.getSlideCount()) : b.currentSlide - b.getSlideCount(), b.currentDirection = 1 627 } 628 "vertical" != d && (b.slideHandler(c), b.touchObject = {}, b.$slider.trigger("swipe", [b, d])) 629 } else b.touchObject.startX !== b.touchObject.curX && (b.slideHandler(b.currentSlide), b.touchObject = {}) 630 }, b.prototype.swipeHandler = function(a) { 631 var b = this; 632 if (!(b.options.swipe === !1 || "ontouchend" in document && b.options.swipe === !1 || b.options.draggable === !1 && -1 !== a.type.indexOf("mouse"))) switch (b.touchObject.fingerCount = a.originalEvent && void 0 !== a.originalEvent.touches ? a.originalEvent.touches.length : 1, b.touchObject.minSwipe = b.listWidth / b.options.touchThreshold, b.options.verticalSwiping === !0 && (b.touchObject.minSwipe = b.listHeight / b.options.touchThreshold), a.data.action) { 633 case "start": 634 b.swipeStart(a); 635 break; 636 case "move": 637 b.swipeMove(a); 638 break; 639 case "end": 640 b.swipeEnd(a) 641 } 642 }, b.prototype.swipeMove = function(a) { 643 var d, e, f, g, h, b = this; 644 return h = void 0 !== a.originalEvent ? a.originalEvent.touches : null, !b.dragging || h && 1 !== h.length ? !1 : (d = b.getLeft(b.currentSlide), b.touchObject.curX = void 0 !== h ? h[0].pageX : a.clientX, b.touchObject.curY = void 0 !== h ? h[0].pageY : a.clientY, b.touchObject.swipeLength = Math.round(Math.sqrt(Math.pow(b.touchObject.curX - b.touchObject.startX, 2))), b.options.verticalSwiping === !0 && (b.touchObject.swipeLength = Math.round(Math.sqrt(Math.pow(b.touchObject.curY - b.touchObject.startY, 2)))), e = b.swipeDirection(), "vertical" !== e ? (void 0 !== a.originalEvent && b.touchObject.swipeLength > 4 && a.preventDefault(), g = (b.options.rtl === !1 ? 1 : -1) * (b.touchObject.curX > b.touchObject.startX ? 1 : -1), b.options.verticalSwiping === !0 && (g = b.touchObject.curY > b.touchObject.startY ? 1 : -1), f = b.touchObject.swipeLength, b.touchObject.edgeHit = !1, b.options.infinite === !1 && (0 === b.currentSlide && "right" === e || b.currentSlide >= b.getDotCount() && "left" === e) && (f = b.touchObject.swipeLength * b.options.edgeFriction, b.touchObject.edgeHit = !0), b.options.vertical === !1 ? b.swipeLeft = d + f * g : b.swipeLeft = d + f * (b.$list.height() / b.listWidth) * g, b.options.verticalSwiping === !0 && (b.swipeLeft = d + f * g), b.options.fade === !0 || b.options.touchMove === !1 ? !1 : b.animating === !0 ? (b.swipeLeft = null, !1) : void b.setCSS(b.swipeLeft)) : void 0) 645 }, b.prototype.swipeStart = function(a) { 646 var c, b = this; 647 return b.interrupted = !0, 1 !== b.touchObject.fingerCount || b.slideCount <= b.options.slidesToShow ? (b.touchObject = {}, !1) : (void 0 !== a.originalEvent && void 0 !== a.originalEvent.touches && (c = a.originalEvent.touches[0]), b.touchObject.startX = b.touchObject.curX = void 0 !== c ? c.pageX : a.clientX, b.touchObject.startY = b.touchObject.curY = void 0 !== c ? c.pageY : a.clientY, void(b.dragging = !0)) 648 }, b.prototype.unfilterSlides = b.prototype.slickUnfilter = function() { 649 var a = this; 650 null !== a.$slidesCache && (a.unload(), a.$slideTrack.children(this.options.slide).detach(), a.$slidesCache.appendTo(a.$slideTrack), a.reinit()) 651 }, b.prototype.unload = function() { 652 var b = this; 653 a(".slick-cloned", b.$slider).remove(), b.$dots && b.$dots.remove(), b.$prevArrow && b.htmlExpr.test(b.options.prevArrow) && b.$prevArrow.remove(), b.$nextArrow && b.htmlExpr.test(b.options.nextArrow) && b.$nextArrow.remove(), b.$slides.removeClass("slick-slide slick-active slick-visible slick-current").attr("aria-hidden", "true").css("width", "") 654 }, b.prototype.unslick = function(a) { 655 var b = this; 656 b.$slider.trigger("unslick", [b, a]), b.destroy() 657 }, b.prototype.updateArrows = function() { 658 var b, a = this; 659 b = Math.floor(a.options.slidesToShow / 2), a.options.arrows === !0 && a.slideCount > a.options.slidesToShow && !a.options.infinite && (a.$prevArrow.removeClass("slick-disabled").attr("aria-disabled", "false"), a.$nextArrow.removeClass("slick-disabled").attr("aria-disabled", "false"), 0 === a.currentSlide ? (a.$prevArrow.addClass("slick-disabled").attr("aria-disabled", "true"), a.$nextArrow.removeClass("slick-disabled").attr("aria-disabled", "false")) : a.currentSlide >= a.slideCount - a.options.slidesToShow && a.options.centerMode === !1 ? (a.$nextArrow.addClass("slick-disabled").attr("aria-disabled", "true"), a.$prevArrow.removeClass("slick-disabled").attr("aria-disabled", "false")) : a.currentSlide >= a.slideCount - 1 && a.options.centerMode === !0 && (a.$nextArrow.addClass("slick-disabled").attr("aria-disabled", "true"), a.$prevArrow.removeClass("slick-disabled").attr("aria-disabled", "false"))) 660 }, b.prototype.updateDots = function() { 661 var a = this; 662 null !== a.$dots && (a.$dots.find("li").removeClass("slick-active").attr("aria-hidden", "true"), a.$dots.find("li").eq(Math.floor(a.currentSlide / a.options.slidesToScroll)).addClass("slick-active").attr("aria-hidden", "false")) 663 }, b.prototype.visibility = function() { 664 var a = this; 665 a.options.autoplay && (document[a.hidden] ? a.interrupted = !0 : a.interrupted = !1) 666 }, a.fn.slick = function() { 667 var f, g, a = this, 668 c = arguments[0], 669 d = Array.prototype.slice.call(arguments, 1), 670 e = a.length; 671 for (f = 0; e > f; f++) 672 if ("object" == typeof c || "undefined" == typeof c ? a[f].slick = new b(a[f], c) : g = a[f].slick[c].apply(a[f].slick, d), "undefined" != typeof g) return g; 673 return a 674 } 675}); 676
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.