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