vendor: 24,211 bytes, lines 1-330
1/* 2 _ _ _ _ 3 ___| (_) ___| | __ (_)___ 4/ __| | |/ __| |/ / | / __| 5\__ \ | | (__| < _ | \__ \ 6|___/_|_|\___|_|\_(_)/ |___/ 7 |__/ 8 9 Version: 1.5.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/* global window, document, define, jQuery, setInterval, clearInterval */ 18! function(a) { 19 "use strict"; 20 "function" == typeof define && define.amd ? define(["jquery"], a) : "undefined" != typeof exports ? module.exports = a(require("jquery")) : a(jQuery) 21}(function(a) { 22 "use strict"; 23 var b = window.Slick || {}; 24 b = function() { 25 function c(c, d) { 26 var f, g, h, e = this; 27 if (e.defaults = { 28 accessibility: !0, 29 adaptiveHeight: !1, 30 appendArrows: a(c), 31 appendDots: a(c), 32 arrows: !0, 33 asNavFor: null, 34 prevArrow: '<button type="button" data-role="none" class="slick-prev" aria-label="previous">Previous</button>', 35 nextArrow: '<button type="button" data-role="none" class="slick-next" aria-label="next">Next</button>', 36 autoplay: !1, 37 autoplaySpeed: 3e3, 38 centerMode: !1, 39 centerPadding: "50px", 40 cssEase: "ease", 41 customPaging: function(a, b) { 42 return '<button type="button" data-role="none">' + (b + 1) + "</button>" 43 }, 44 dots: !1, 45 dotsClass: "slick-dots", 46 draggable: !0, 47 easing: "linear", 48 edgeFriction: .35, 49 fade: !1, 50 focusOnSelect: !1, 51 infinite: !0, 52 initialSlide: 0, 53 lazyLoad: "ondemand", 54 mobileFirst: !1, 55 pauseOnHover: !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 variableWidth: !1, 72 vertical: !1, 73 verticalSwiping: !1, 74 waitForAnimate: !0 75 }, e.initials = { 76 animating: !1, 77 dragging: !1, 78 autoPlayTimer: null, 79 currentDirection: 0, 80 currentLeft: null, 81 currentSlide: 0, 82 direction: 1, 83 $dots: null, 84 listWidth: null, 85 listHeight: null, 86 loadIndex: 0, 87 $nextArrow: null, 88 $prevArrow: null, 89 slideCount: null, 90 slideWidth: null, 91 $slideTrack: null, 92 $slides: null, 93 sliding: !1, 94 slideOffset: 0, 95 swipeLeft: null, 96 $list: null, 97 touchObject: {}, 98 transformsEnabled: !1 99 }, a.extend(e, e.initials), e.activeBreakpoint = null, e.animType = null, e.animProp = null, e.breakpoints = [], e.breakpointSettings = [], e.cssTransitions = !1, e.hidden = "hidden", e.paused = !1, 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, f, d), e.currentSlide = e.options.initialSlide, e.originalSettings = e.options, g = e.options.responsive || null, g && g.length > -1) { 100 e.respondTo = e.options.respondTo || "window"; 101 for (h in g) g.hasOwnProperty(h) && (e.breakpoints.push(g[h].breakpoint), e.breakpointSettings[g[h].breakpoint] = g[h].settings); 102 e.breakpoints.sort(function(a, b) { 103 return e.options.mobileFirst === !0 ? a - b : b - a 104 }) 105 } 106 "undefined" != typeof document.mozHidden ? (e.hidden = "mozHidden", e.visibilityChange = "mozvisibilitychange") : "undefined" != typeof document.msHidden ? (e.hidden = "msHidden", e.visibilityChange = "msvisibilitychange") : "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.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.autoPlayIterator = a.proxy(e.autoPlayIterator, e), e.instanceUid = b++, e.htmlExpr = /^(?:\s*(<[\w\W]+>)[^>]*)$/, e.init(), e.checkResponsive(!0) 107 } 108 var b = 0; 109 return c 110 }(), b.prototype.addSlide = b.prototype.slickAdd = function(b, c, d) { 111 var e = this; 112 if ("boolean" == typeof c) d = c, c = null; 113 else if (0 > c || c >= e.slideCount) return !1; 114 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) { 115 a(c).attr("data-slick-index", b) 116 }), e.$slidesCache = e.$slides, e.reinit() 117 }, b.prototype.animateHeight = function() { 118 var a = this; 119 if (1 === a.options.slidesToShow && a.options.adaptiveHeight === !0 && a.options.vertical === !1) { 120 var b = a.$slides.eq(a.currentSlide).outerHeight(!0); 121 a.$list.animate({ 122 height: b 123 }, a.options.speed) 124 } 125 }, b.prototype.animateSlide = function(b, c) { 126 var d = {}, 127 e = this; 128 e.animateHeight(), e.options.rtl === !0 && e.options.vertical === !1 && (b = -b), e.transformsEnabled === !1 ? e.options.vertical === !1 ? e.$slideTrack.animate({ 129 left: b 130 }, e.options.speed, e.options.easing, c) : e.$slideTrack.animate({ 131 top: b 132 }, e.options.speed, e.options.easing, c) : e.cssTransitions === !1 ? (e.options.rtl === !0 && (e.currentLeft = -e.currentLeft), a({ 133 animStart: e.currentLeft 134 }).animate({ 135 animStart: b 136 }, { 137 duration: e.options.speed, 138 easing: e.options.easing, 139 step: function(a) { 140 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)) 141 }, 142 complete: function() { 143 c && c.call() 144 } 145 })) : (e.applyTransition(), b = Math.ceil(b), d[e.animType] = e.options.vertical === !1 ? "translate3d(" + b + "px, 0px, 0px)" : "translate3d(0px," + b + "px, 0px)", e.$slideTrack.css(d), c && setTimeout(function() { 146 e.disableTransition(), c.call() 147 }, e.options.speed)) 148 }, b.prototype.asNavFor = function(b) { 149 var c = this, 150 d = null !== c.options.asNavFor ? a(c.options.asNavFor).slick("getSlick") : null; 151 null !== d && d.slideHandler(b, !0) 152 }, b.prototype.applyTransition = function(a) { 153 var b = this, 154 c = {}; 155 c[b.transitionType] = b.options.fade === !1 ? b.transformType + " " + b.options.speed + "ms " + b.options.cssEase : "opacity " + b.options.speed + "ms " + b.options.cssEase, b.options.fade === !1 ? b.$slideTrack.css(c) : b.$slides.eq(a).css(c) 156 }, b.prototype.autoPlay = function() { 157 var a = this; 158 a.autoPlayTimer && clearInterval(a.autoPlayTimer), a.slideCount > a.options.slidesToShow && a.paused !== !0 && (a.autoPlayTimer = setInterval(a.autoPlayIterator, a.options.autoplaySpeed)) 159 }, b.prototype.autoPlayClear = function() { 160 var a = this; 161 a.autoPlayTimer && clearInterval(a.autoPlayTimer) 162 }, b.prototype.autoPlayIterator = function() { 163 var a = this; 164 a.options.infinite === !1 ? 1 === a.direction ? (a.currentSlide + 1 === a.slideCount - 1 && (a.direction = 0), a.slideHandler(a.currentSlide + a.options.slidesToScroll)) : (0 === a.currentSlide - 1 && (a.direction = 1), a.slideHandler(a.currentSlide - a.options.slidesToScroll)) : a.slideHandler(a.currentSlide + a.options.slidesToScroll) 165 }, b.prototype.buildArrows = function() { 166 var b = this; 167 b.options.arrows === !0 && b.slideCount > b.options.slidesToShow && (b.$prevArrow = a(b.options.prevArrow), b.$nextArrow = a(b.options.nextArrow), b.htmlExpr.test(b.options.prevArrow) && b.$prevArrow.appendTo(b.options.appendArrows), b.htmlExpr.test(b.options.nextArrow) && b.$nextArrow.appendTo(b.options.appendArrows), b.options.infinite !== !0 && b.$prevArrow.addClass("slick-disabled")) 168 }, b.prototype.buildDots = function() { 169 var c, d, b = this; 170 if (b.options.dots === !0 && b.slideCount > b.options.slidesToShow) { 171 for (d = '<ul class="' + b.options.dotsClass + '">', c = 0; c <= b.getDotCount(); c += 1) d += "<li>" + b.options.customPaging.call(this, b, c) + "</li>"; 172 d += "</ul>", b.$dots = a(d).appendTo(b.options.appendDots), b.$dots.find("li").first().addClass("slick-active").attr("aria-hidden", "false") 173 } 174 }, b.prototype.buildOut = function() { 175 var b = this; 176 b.$slides = b.$slider.children(":not(.slick-cloned)").addClass("slick-slide"), b.slideCount = b.$slides.length, b.$slides.each(function(b, c) { 177 a(c).attr("data-slick-index", b) 178 }), b.$slidesCache = b.$slides, 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 newscontainer"/>').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.options.accessibility === !0 && b.$list.prop("tabIndex", 0), b.setSlideClasses("number" == typeof this.currentSlide ? this.currentSlide : 0), b.options.draggable === !0 && b.$list.addClass("draggable") 179 }, b.prototype.buildRows = function() { 180 var b, c, d, e, f, g, h, a = this; 181 if (e = document.createDocumentFragment(), g = a.$slider.children(), a.options.rows > 1) { 182 for (h = a.options.slidesPerRow * a.options.rows, f = Math.ceil(g.length / h), b = 0; f > b; b++) { 183 var i = document.createElement("div"); 184 for (c = 0; c < a.options.rows; c++) { 185 var j = document.createElement("div"); 186 for (d = 0; d < a.options.slidesPerRow; d++) { 187 var k = b * h + (c * a.options.slidesPerRow + d); 188 g.get(k) && j.appendChild(g.get(k)) 189 } 190 i.appendChild(j) 191 } 192 e.appendChild(i) 193 } 194 a.$slider.html(e), a.$slider.children().children().children().width(100 / a.options.slidesPerRow + "%").css({ 195 display: "inline-block" 196 }) 197 } 198 }, b.prototype.checkResponsive = function(b) { 199 var d, e, f, c = this, 200 g = c.$slider.width(), 201 h = window.innerWidth || a(window).width(); 202 if ("window" === c.respondTo ? f = h : "slider" === c.respondTo ? f = g : "min" === c.respondTo && (f = Math.min(h, g)), c.originalSettings.responsive && c.originalSettings.responsive.length > -1 && null !== c.originalSettings.responsive) { 203 e = null; 204 for (d in c.breakpoints) c.breakpoints.hasOwnProperty(d) && (c.originalSettings.mobileFirst === !1 ? f < c.breakpoints[d] && (e = c.breakpoints[d]) : f > c.breakpoints[d] && (e = c.breakpoints[d])); 205 null !== e ? null !== c.activeBreakpoint ? e !== c.activeBreakpoint && (c.activeBreakpoint = e, "unslick" === c.breakpointSettings[e] ? c.unslick() : (c.options = a.extend({}, c.originalSettings, c.breakpointSettings[e]), b === !0 && (c.currentSlide = c.options.initialSlide), c.refresh())) : (c.activeBreakpoint = e, "unslick" === c.breakpointSettings[e] ? c.unslick() : (c.options = a.extend({}, c.originalSettings, c.breakpointSettings[e]), b === !0 && (c.currentSlide = c.options.initialSlide), c.refresh())) : null !== c.activeBreakpoint && (c.activeBreakpoint = null, c.options = c.originalSettings, b === !0 && (c.currentSlide = c.options.initialSlide), c.refresh()) 206 } 207 }, b.prototype.changeSlide = function(b, c) { 208 var f, g, h, d = this, 209 e = a(b.target); 210 switch (e.is("a") && b.preventDefault(), h = 0 !== d.slideCount % d.options.slidesToScroll, f = h ? 0 : (d.slideCount - d.currentSlide) % d.options.slidesToScroll, b.data.message) { 211 case "previous": 212 g = 0 === f ? d.options.slidesToScroll : d.options.slidesToShow - f, d.slideCount > d.options.slidesToShow && d.slideHandler(d.currentSlide - g, !1, c); 213 break; 214 case "next": 215 g = 0 === f ? d.options.slidesToScroll : f, d.slideCount > d.options.slidesToShow && d.slideHandler(d.currentSlide + g, !1, c); 216 break; 217 case "index": 218 var i = 0 === b.data.index ? 0 : b.data.index || a(b.target).parent().index() * d.options.slidesToScroll; 219 d.slideHandler(d.checkNavigable(i), !1, c); 220 break; 221 default: 222 return 223 } 224 }, b.prototype.checkNavigable = function(a) { 225 var c, d, b = this; 226 if (c = b.getNavigableIndexes(), d = 0, a > c[c.length - 1]) a = c[c.length - 1]; 227 else 228 for (var e in c) { 229 if (a < c[e]) { 230 a = d; 231 break 232 } 233 d = c[e] 234 } 235 return a 236 }, b.prototype.cleanUpEvents = function() { 237 var b = this; 238 b.options.dots === !0 && b.slideCount > b.options.slidesToShow && a("li", b.$dots).off("click.slick", b.changeSlide), b.options.dots === !0 && b.options.pauseOnDotsHover === !0 && b.options.autoplay === !0 && a("li", b.$dots).off("mouseenter.slick", b.setPaused.bind(b, !0)).off("mouseleave.slick", b.setPaused.bind(b, !1)), 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), b.options.autoplay === !0 && a(document).off(b.visibilityChange, b.visibility), b.$list.off("mouseenter.slick", b.setPaused.bind(b, !0)), b.$list.off("mouseleave.slick", b.setPaused.bind(b, !1)), 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) 239 }, b.prototype.cleanUpRows = function() { 240 var b, a = this; 241 a.options.rows > 1 && (b = a.$slides.children().children(), b.removeAttr("style"), a.$slider.html(b)) 242 }, b.prototype.clickHandler = function(a) { 243 var b = this; 244 b.shouldClick === !1 && (a.stopImmediatePropagation(), a.stopPropagation(), a.preventDefault()) 245 }, b.prototype.destroy = function() { 246 var b = this; 247 b.autoPlayClear(), b.touchObject = {}, b.cleanUpEvents(), a(".slick-cloned", b.$slider).remove(), b.$dots && b.$dots.remove(), b.$prevArrow && "object" != typeof b.options.prevArrow && b.$prevArrow.remove(), b.$nextArrow && "object" != typeof b.options.nextArrow && b.$nextArrow.remove(), b.$slides && (b.$slides.removeClass("slick-slide slick-active slick-center slick-visible").attr("aria-hidden", "true").removeAttr("data-slick-index").css({ 248 position: "", 249 left: "", 250 top: "", 251 zIndex: "", 252 opacity: "", 253 width: "" 254 }), b.$slider.html(b.$slides)), b.cleanUpRows(), b.$slider.removeClass("slick-slider"), b.$slider.removeClass("slick-initialized") 255 }, b.prototype.disableTransition = function(a) { 256 var b = this, 257 c = {}; 258 c[b.transitionType] = "", b.options.fade === !1 ? b.$slideTrack.css(c) : b.$slides.eq(a).css(c) 259 }, b.prototype.fadeSlide = function(a, b) { 260 var c = this; 261 c.cssTransitions === !1 ? (c.$slides.eq(a).css({ 262 zIndex: 1e3 263 }), c.$slides.eq(a).animate({ 264 opacity: 1 265 }, c.options.speed, c.options.easing, b)) : (c.applyTransition(a), c.$slides.eq(a).css({ 266 opacity: 1, 267 zIndex: 1e3 268 }), b && setTimeout(function() { 269 c.disableTransition(a), b.call() 270 }, c.options.speed)) 271 }, b.prototype.filterSlides = b.prototype.slickFilter = function(a) { 272 var b = this; 273 null !== a && (b.unload(), b.$slideTrack.children(this.options.slide).detach(), b.$slidesCache.filter(a).appendTo(b.$slideTrack), b.reinit()) 274 }, b.prototype.getCurrent = b.prototype.slickCurrentSlide = function() { 275 var a = this; 276 return a.currentSlide 277 }, b.prototype.getDotCount = function() { 278 var a = this, 279 b = 0, 280 c = 0, 281 d = 0; 282 if (a.options.infinite === !0) d = Math.ceil(a.slideCount / a.options.slidesToScroll); 283 else if (a.options.centerMode === !0) d = a.slideCount; 284 else 285 for (; b < a.slideCount;) ++d, b = c + a.options.slidesToShow, c += a.options.slidesToScroll <= a.options.slidesToShow ? a.options.slidesToScroll : a.options.slidesToShow; 286 return d - 1 287 }, b.prototype.getLeft = function(a) { 288 var c, d, f, b = this, 289 e = 0; 290 return b.slideOffset = 0, d = b.$slides.first().outerHeight(), b.options.infinite === !0 ? (b.slideCount > b.options.slidesToShow && (b.slideOffset = -1 * b.slideWidth * b.options.slidesToShow, e = -1 * d * b.options.slidesToShow), 0 !== b.slideCount % b.options.slidesToScroll && a + b.options.slidesToScroll > b.slideCount && b.slideCount > b.options.slidesToShow && (a > b.slideCount ? (b.slideOffset = -1 * (b.options.slidesToShow - (a - b.slideCount)) * b.slideWidth, e = -1 * (b.options.slidesToShow - (a - b.slideCount)) * d) : (b.slideOffset = -1 * b.slideCount % b.options.slidesToScroll * b.slideWidth, e = -1 * b.slideCount % b.options.slidesToScroll * d))) : 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 ? -1 * a * b.slideWidth + b.slideOffset : -1 * a * d + 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 = f[0] ? -1 * f[0].offsetLeft : 0, b.options.centerMode === !0 && (f = b.options.infinite === !1 ? b.$slideTrack.children(".slick-slide").eq(a) : b.$slideTrack.children(".slick-slide").eq(a + b.options.slidesToShow + 1), c = f[0] ? -1 * f[0].offsetLeft : 0, c += (b.$list.width() - f.outerWidth()) / 2)), c 291 }, b.prototype.getOption = b.prototype.slickGetOption = function(a) { 292 var b = this; 293 return b.options[a] 294 }, b.prototype.getNavigableIndexes = function() { 295 var e, a = this, 296 b = 0, 297 c = 0, 298 d = []; 299 for (a.options.infinite === !1 ? (e = a.slideCount - a.options.slidesToShow + 1, a.options.centerMode === !0 && (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; 300 return d 301 }, b.prototype.getSlick = function() { 302 return this 303 }, b.prototype.getSlideCount = function() { 304 var c, d, e, b = this; 305 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) { 306 return f.offsetLeft - e + a(f).outerWidth() / 2 > -1 * b.swipeLeft ? (d = f, !1) : void 0 307 }), c = Math.abs(a(d).attr("data-slick-index") - b.currentSlide) || 1) : b.options.slidesToScroll 308 }, b.prototype.goTo = b.prototype.slickGoTo = function(a, b) { 309 var c = this; 310 c.changeSlide({ 311 data: { 312 message: "index", 313 index: parseInt(a) 314 } 315 }, b) 316 }, b.prototype.init = function() { 317 var b = this; 318 a(b.$slider).hasClass("slick-initialized") || (a(b.$slider).addClass("slick-initialized"), b.buildRows(), b.buildOut(), b.setProps(), b.startLoad(), b.loadSlider(), b.initializeEvents(), b.updateArrows(), b.updateDots()), b.$slider.trigger("init", [b]) 319 }, b.prototype.initArrowEvents = function() { 320 var a = this; 321 a.options.arrows === !0 && a.slideCount > a.options.slidesToShow && (a.$prevArrow.on("click.slick", { 322 message: "previous" 323 }, a.changeSlide), a.$nextArrow.on("click.slick", { 324 message: "next" 325 }, a.changeSlide)) 326 }, b.prototype.initDotEvents = function() { 327 var b = this; 328 b.options.dots === !0 && b.slideCount > b.options.slidesToShow && a("li", b.$dots).on("click.slick", { 329 message: "index" 330 }, b.changeSlide), b.options.dots === !0 && b.options.pauseOnDotsHover === !0 && b.options.autoplay === !0 && a("li", b.$dots).on("mouseenter.slick", b.setPaused.bind(b, !0)).on("mouseleave.
vendor: 11,093 bytes, lines 330-481
330slick", b.setPaused.bind(b, !1)) 331 }, b.prototype.initializeEvents = function() { 332 var b = this; 333 b.initArrowEvents(), b.initDotEvents(), b.$list.on("touchstart.slick mousedown.slick", { 334 action: "start" 335 }, b.swipeHandler), b.$list.on("touchmove.slick mousemove.slick", { 336 action: "move" 337 }, b.swipeHandler), b.$list.on("touchend.slick mouseup.slick", { 338 action: "end" 339 }, b.swipeHandler), b.$list.on("touchcancel.slick mouseleave.slick", { 340 action: "end" 341 }, b.swipeHandler), b.$list.on("click.slick", b.clickHandler), b.options.autoplay === !0 && a(document).on(b.visibilityChange, b.visibility.bind(b)), b.$list.on("mouseenter.slick", b.setPaused.bind(b, !0)), b.$list.on("mouseleave.slick", b.setPaused.bind(b, !1)), 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, b.orientationChange.bind(b)), a(window).on("resize.slick.slick-" + b.instanceUid, b.resize.bind(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) 342 }, b.prototype.initUI = function() { 343 var a = this; 344 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(), a.options.autoplay === !0 && a.autoPlay() 345 }, b.prototype.keyHandler = function(a) { 346 var b = this; 347 37 === a.keyCode && b.options.accessibility === !0 ? b.changeSlide({ 348 data: { 349 message: "previous" 350 } 351 }) : 39 === a.keyCode && b.options.accessibility === !0 && b.changeSlide({ 352 data: { 353 message: "next" 354 } 355 }) 356 }, b.prototype.lazyLoad = function() { 357 function g(b) { 358 a("img[data-lazy]", b).each(function() { 359 var b = a(this), 360 c = a(this).attr("data-lazy"), 361 d = document.createElement("img"); 362 d.onload = function() { 363 b.animate({ 364 opacity: 1 365 }, 200) 366 }, d.src = c, b.css({ 367 opacity: 0 368 }).attr("src", c).removeAttr("data-lazy").removeClass("slick-loading") 369 }) 370 } 371 var c, d, e, f, b = this; 372 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 = 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)) 373 }, b.prototype.loadSlider = function() { 374 var a = this; 375 a.setPosition(), a.$slideTrack.css({ 376 opacity: 1 377 }), a.$slider.removeClass("slick-loading"), a.initUI(), "progressive" === a.options.lazyLoad && a.progressiveLazyLoad() 378 }, b.prototype.next = b.prototype.slickNext = function() { 379 var a = this; 380 a.changeSlide({ 381 data: { 382 message: "next" 383 } 384 }) 385 }, b.prototype.orientationChange = function() { 386 var a = this; 387 a.checkResponsive(), a.setPosition() 388 }, b.prototype.pause = b.prototype.slickPause = function() { 389 var a = this; 390 a.autoPlayClear(), a.paused = !0 391 }, b.prototype.play = b.prototype.slickPlay = function() { 392 var a = this; 393 a.paused = !1, a.autoPlay() 394 }, b.prototype.postSlide = function(a) { 395 var b = this; 396 b.$slider.trigger("afterChange", [b, a]), b.animating = !1, b.setPosition(), b.swipeLeft = null, b.options.autoplay === !0 && b.paused === !1 && b.autoPlay() 397 }, b.prototype.prev = b.prototype.slickPrev = function() { 398 var a = this; 399 a.changeSlide({ 400 data: { 401 message: "previous" 402 } 403 }) 404 }, b.prototype.preventDefault = function(a) { 405 a.preventDefault() 406 }, b.prototype.progressiveLazyLoad = function() { 407 var c, d, b = this; 408 c = a("img[data-lazy]", b.$slider).length, c > 0 && (d = a("img[data-lazy]", b.$slider).first(), d.attr("src", d.attr("data-lazy")).removeClass("slick-loading").load(function() { 409 d.removeAttr("data-lazy"), b.progressiveLazyLoad(), b.options.adaptiveHeight === !0 && b.setPosition() 410 }).error(function() { 411 d.removeAttr("data-lazy"), b.progressiveLazyLoad() 412 })) 413 }, b.prototype.refresh = function() { 414 var b = this, 415 c = b.currentSlide; 416 b.destroy(), a.extend(b, b.initials), b.init(), b.changeSlide({ 417 data: { 418 message: "index", 419 index: c 420 } 421 }, !1) 422 }, b.prototype.reinit = function() { 423 var b = this; 424 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.setProps(), b.setupInfinite(), b.buildArrows(), b.updateArrows(), b.initArrowEvents(), b.buildDots(), b.updateDots(), b.initDotEvents(), b.options.focusOnSelect === !0 && a(b.$slideTrack).children().on("click.slick", b.selectHandler), b.setSlideClasses(0), b.setPosition(), b.$slider.trigger("reInit", [b]) 425 }, b.prototype.resize = function() { 426 var b = this; 427 a(window).width() !== b.windowWidth && (clearTimeout(b.windowDelay), b.windowDelay = window.setTimeout(function() { 428 b.windowWidth = a(window).width(), b.checkResponsive(), b.setPosition() 429 }, 50)) 430 }, b.prototype.removeSlide = b.prototype.slickRemove = function(a, b, c) { 431 var d = this; 432 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, d.reinit(), void 0) 433 }, b.prototype.setCSS = function(a) { 434 var d, e, b = this, 435 c = {}; 436 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))) 437 }, b.prototype.setDimensions = function() { 438 var a = this; 439 a.options.vertical === !1 ? a.options.centerMode === !0 && a.$list.css({ 440 padding: "0px " + a.options.centerPadding 441 }) : (a.$list.height(a.$slides.first().outerHeight(!0) * a.options.slidesToShow), a.options.centerMode === !0 && a.$list.css({ 442 padding: a.options.centerPadding + " 0px" 443 })), 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))); 444 var b = a.$slides.first().outerWidth(!0) - a.$slides.first().width(); 445 a.options.variableWidth === !1 && a.$slideTrack.children(".slick-slide").width(a.slideWidth - b) 446 }, b.prototype.setFade = function() { 447 var c, b = this; 448 b.$slides.each(function(d, e) { 449 c = -1 * b.slideWidth * d, b.options.rtl === !0 ? a(e).css({ 450 position: "relative", 451 right: c, 452 top: 0, 453 zIndex: 800, 454 opacity: 0 455 }) : a(e).css({ 456 position: "relative", 457 left: c, 458 top: 0, 459 zIndex: 800, 460 opacity: 0 461 }) 462 }), b.$slides.eq(b.currentSlide).css({ 463 zIndex: 900, 464 opacity: 1 465 }) 466 }, b.prototype.setHeight = function() { 467 var a = this; 468 if (1 === a.options.slidesToShow && a.options.adaptiveHeight === !0 && a.options.vertical === !1) { 469 var b = a.$slides.eq(a.currentSlide).outerHeight(!0); 470 a.$list.css("height", b) 471 } 472 }, b.prototype.setOption = b.prototype.slickSetOption = function(a, b, c) { 473 var d = this; 474 d.options[a] = b, c === !0 && (d.unload(), d.reinit()) 475 }, b.prototype.setPosition = function() { 476 var a = this; 477 a.setDimensions(), a.setHeight(), a.options.fade === !1 ? a.setCSS(a.getLeft(a.currentSlide)) : a.setFade(), a.$slider.trigger("setPosition", [a]) 478 }, b.prototype.setProps = function() { 479 var a = this, 480 b = document.body.style; 481 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), 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 = "
vendor: 12,620 bytes, lines 481-576
481webkitTransform", 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 = null !== a.animType && a.animType !== !1 482 }, b.prototype.setSlideClasses = function(a) { 483 var c, d, e, f, b = this; 484 b.$slider.find(".slick-slide").removeClass("slick-active").attr("aria-hidden", "true").removeClass("slick-center"), d = b.$slider.find(".slick-slide"), 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, 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() 485 }, b.prototype.setupInfinite = function() { 486 var c, d, e, b = this; 487 if (b.options.fade === !0 && (b.options.centerMode = !1), b.options.infinite === !0 && b.options.fade === !1 && (d = null, b.slideCount > b.options.slidesToShow)) { 488 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"); 489 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"); 490 b.$slideTrack.find(".slick-cloned").find("[id]").each(function() { 491 a(this).attr("id", "") 492 }) 493 } 494 }, b.prototype.setPaused = function(a) { 495 var b = this; 496 b.options.autoplay === !0 && b.options.pauseOnHover === !0 && (b.paused = a, b.autoPlayClear()) 497 }, b.prototype.selectHandler = function(b) { 498 var c = this, 499 d = a(b.target).is(".slick-slide") ? a(b.target) : a(b.target).parents(".slick-slide"), 500 e = parseInt(d.attr("data-slick-index")); 501 return e || (e = 0), c.slideCount <= c.options.slidesToShow ? (c.$slider.find(".slick-slide").removeClass("slick-active").attr("aria-hidden", "true"), c.$slides.eq(e).addClass("slick-active").attr("aria-hidden", "false"), c.options.centerMode === !0 && (c.$slider.find(".slick-slide").removeClass("slick-center"), c.$slides.eq(e).addClass("slick-center")), c.asNavFor(e), void 0) : (c.slideHandler(e), void 0) 502 }, b.prototype.slideHandler = function(a, b, c) { 503 var d, e, f, g, h = null, 504 i = this; 505 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) ? (i.options.fade === !1 && (d = i.currentSlide, c !== !0 ? i.animateSlide(g, function() { 506 i.postSlide(d) 507 }) : i.postSlide(d)), void 0) : i.options.infinite === !1 && i.options.centerMode === !0 && (0 > a || a > i.slideCount - i.options.slidesToScroll) ? (i.options.fade === !1 && (d = i.currentSlide, c !== !0 ? i.animateSlide(g, function() { 508 i.postSlide(d) 509 }) : i.postSlide(d)), void 0) : (i.options.autoplay === !0 && clearInterval(i.autoPlayTimer), e = 0 > d ? 0 !== i.slideCount % i.options.slidesToScroll ? i.slideCount - i.slideCount % i.options.slidesToScroll : i.slideCount + d : d >= i.slideCount ? 0 !== i.slideCount % i.options.slidesToScroll ? 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.updateDots(), i.updateArrows(), i.options.fade === !0 ? (c !== !0 ? i.fadeSlide(e, function() { 510 i.postSlide(e) 511 }) : i.postSlide(e), i.animateHeight(), void 0) : (c !== !0 ? i.animateSlide(h, function() { 512 i.postSlide(e) 513 }) : i.postSlide(e), void 0))) 514 }, b.prototype.startLoad = function() { 515 var a = this; 516 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") 517 }, b.prototype.swipeDirection = function() { 518 var a, b, c, d, e = this; 519 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 ? "left" : "right" : "vertical" 520 }, b.prototype.swipeEnd = function() { 521 var c, b = this; 522 if (b.dragging = !1, b.shouldClick = b.touchObject.swipeLength > 10 ? !1 : !0, void 0 === b.touchObject.curX) return !1; 523 if (b.touchObject.edgeHit === !0 && b.$slider.trigger("edge", [b, b.swipeDirection()]), b.touchObject.swipeLength >= b.touchObject.minSwipe) switch (b.swipeDirection()) { 524 case "left": 525 c = b.options.swipeToSlide ? b.checkNavigable(b.currentSlide + b.getSlideCount()) : b.currentSlide + b.getSlideCount(), b.slideHandler(c), b.currentDirection = 0, b.touchObject = {}, b.$slider.trigger("swipe", [b, "left"]); 526 break; 527 case "right": 528 c = b.options.swipeToSlide ? b.checkNavigable(b.currentSlide - b.getSlideCount()) : b.currentSlide - b.getSlideCount(), b.slideHandler(c), b.currentDirection = 1, b.touchObject = {}, b.$slider.trigger("swipe", [b, "right"]) 529 } else b.touchObject.startX !== b.touchObject.curX && (b.slideHandler(b.currentSlide), b.touchObject = {}) 530 }, b.prototype.swipeHandler = function(a) { 531 var b = this; 532 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) { 533 case "start": 534 b.swipeStart(a); 535 break; 536 case "move": 537 b.swipeMove(a); 538 break; 539 case "end": 540 b.swipeEnd(a) 541 } 542 }, b.prototype.swipeMove = function(a) { 543 var d, e, f, g, h, b = this; 544 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.swipeLeft = b.options.vertical === !1 ? d + f * g : 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) : (b.setCSS(b.swipeLeft), void 0)) : void 0) 545 }, b.prototype.swipeStart = function(a) { 546 var c, b = this; 547 return 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, b.dragging = !0, void 0) 548 }, b.prototype.unfilterSlides = b.prototype.slickUnfilter = function() { 549 var a = this; 550 null !== a.$slidesCache && (a.unload(), a.$slideTrack.children(this.options.slide).detach(), a.$slidesCache.appendTo(a.$slideTrack), a.reinit()) 551 }, b.prototype.unload = function() { 552 var b = this; 553 a(".slick-cloned", b.$slider).remove(), b.$dots && b.$dots.remove(), b.$prevArrow && "object" != typeof b.options.prevArrow && b.$prevArrow.remove(), b.$nextArrow && "object" != typeof b.options.nextArrow && b.$nextArrow.remove(), b.$slides.removeClass("slick-slide slick-active slick-visible").attr("aria-hidden", "true").css("width", "") 554 }, b.prototype.unslick = function() { 555 var a = this; 556 a.destroy() 557 }, b.prototype.updateArrows = function() { 558 var b, a = this; 559 b = Math.floor(a.options.slidesToShow / 2), a.options.arrows === !0 && a.options.infinite !== !0 && a.slideCount > a.options.slidesToShow && (a.$prevArrow.removeClass("slick-disabled"), a.$nextArrow.removeClass("slick-disabled"), 0 === a.currentSlide ? (a.$prevArrow.addClass("slick-disabled"), a.$nextArrow.removeClass("slick-disabled")) : a.currentSlide >= a.slideCount - a.options.slidesToShow && a.options.centerMode === !1 ? (a.$nextArrow.addClass("slick-disabled"), a.$prevArrow.removeClass("slick-disabled")) : a.currentSlide >= a.slideCount - 1 && a.options.centerMode === !0 && (a.$nextArrow.addClass("slick-disabled"), a.$prevArrow.removeClass("slick-disabled"))) 560 }, b.prototype.updateDots = function() { 561 var a = this; 562 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")) 563 }, b.prototype.visibility = function() { 564 var a = this; 565 document[a.hidden] ? (a.paused = !0, a.autoPlayClear()) : (a.paused = !1, a.autoPlay()) 566 }, a.fn.slick = function() { 567 var g, a = this, 568 c = arguments[0], 569 d = Array.prototype.slice.call(arguments, 1), 570 e = a.length, 571 f = 0; 572 for (f; e > f; f++) 573 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; 574 return a 575 } 576});
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.