vendor: 13,978 bytes, lines 1-332
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(i) { 5 "use strict"; 6 var e = window.Slick || {}; 7 (e = function() { 8 var e = 0; 9 return function(t, o) { 10 var s, n = this; 11 n.defaults = { 12 accessibility: !0, 13 adaptiveHeight: !1, 14 appendArrows: i(t), 15 appendDots: i(t), 16 arrows: !0, 17 asNavFor: null, 18 prevArrow: '<button class="slick-prev" aria-label="Previous" type="button">Previous</button>', 19 nextArrow: '<button class="slick-next" aria-label="Next" type="button">Next</button>', 20 autoplay: !1, 21 autoplaySpeed: 3e3, 22 centerMode: !1, 23 centerPadding: "50px", 24 cssEase: "ease", 25 customPaging: function(e, t) { 26 return i('<button type="button" />').text(t + 1) 27 }, 28 dots: !1, 29 dotsClass: "slick-dots", 30 draggable: !0, 31 easing: "linear", 32 edgeFriction: .35, 33 fade: !1, 34 focusOnSelect: !1, 35 focusOnChange: !1, 36 infinite: !0, 37 initialSlide: 0, 38 lazyLoad: "ondemand", 39 mobileFirst: !1, 40 pauseOnHover: !0, 41 pauseOnFocus: !0, 42 pauseOnDotsHover: !1, 43 respondTo: "window", 44 responsive: null, 45 rows: 1, 46 rtl: !1, 47 slide: "", 48 slidesPerRow: 1, 49 slidesToShow: 1, 50 slidesToScroll: 1, 51 speed: 500, 52 swipe: !0, 53 swipeToSlide: !1, 54 touchMove: !0, 55 touchThreshold: 5, 56 useCSS: !0, 57 useTransform: !0, 58 variableWidth: !1, 59 vertical: !1, 60 verticalSwiping: !1, 61 waitForAnimate: !0, 62 zIndex: 1e3 63 }, 64 n.initials = { 65 animating: !1, 66 dragging: !1, 67 autoPlayTimer: null, 68 currentDirection: 0, 69 currentLeft: null, 70 currentSlide: 0, 71 direction: 1, 72 $dots: null, 73 listWidth: null, 74 listHeight: null, 75 loadIndex: 0, 76 $nextArrow: null, 77 $prevArrow: null, 78 scrolling: !1, 79 slideCount: null, 80 slideWidth: null, 81 $slideTrack: null, 82 $slides: null, 83 sliding: !1, 84 slideOffset: 0, 85 swipeLeft: null, 86 swiping: !1, 87 $list: null, 88 touchObject: {}, 89 transformsEnabled: !1, 90 unslicked: !1 91 }, 92 i.extend(n, n.initials), 93 n.activeBreakpoint = null, 94 n.animType = null, 95 n.animProp = null, 96 n.breakpoints = [], 97 n.breakpointSettings = [], 98 n.cssTransitions = !1, 99 n.focussed = !1, 100 n.interrupted = !1, 101 n.hidden = "hidden", 102 n.paused = !0, 103 n.positionProp = null, 104 n.respondTo = null, 105 n.rowCount = 1, 106 n.shouldClick = !0, 107 n.$slider = i(t), 108 n.$slidesCache = null, 109 n.transformType = null, 110 n.transitionType = null, 111 n.visibilityChange = "visibilitychange", 112 n.windowWidth = 0, 113 n.windowTimer = null, 114 s = i(t).data("slick") || {}, 115 n.options = i.extend({}, n.defaults, o, s), 116 n.currentSlide = n.options.initialSlide, 117 n.originalSettings = n.options, 118 void 0 !== document.mozHidden ? (n.hidden = "mozHidden", 119 n.visibilityChange = "mozvisibilitychange") : void 0 !== document.webkitHidden && (n.hidden = "webkitHidden", 120 n.visibilityChange = "webkitvisibilitychange"), 121 n.autoPlay = i.proxy(n.autoPlay, n), 122 n.autoPlayClear = i.proxy(n.autoPlayClear, n), 123 n.autoPlayIterator = i.proxy(n.autoPlayIterator, n), 124 n.changeSlide = i.proxy(n.changeSlide, n), 125 n.clickHandler = i.proxy(n.clickHandler, n), 126 n.selectHandler = i.proxy(n.selectHandler, n), 127 n.setPosition = i.proxy(n.setPosition, n), 128 n.swipeHandler = i.proxy(n.swipeHandler, n), 129 n.dragHandler = i.proxy(n.dragHandler, n), 130 n.keyHandler = i.proxy(n.keyHandler, n), 131 n.instanceUid = e++, 132 n.htmlExpr = /^(?:\s*(<[\w\W]+>)[^>]*)$/, 133 n.registerBreakpoints(), 134 n.init(!0) 135 } 136 }()).prototype.activateADA = function() { 137 this.$slideTrack.find(".slick-active").attr({ 138 "aria-hidden": "false" 139 }).find("a, input, button, select").attr({ 140 tabindex: "0" 141 }) 142 } 143 , 144 e.prototype.addSlide = e.prototype.slickAdd = function(e, t, o) { 145 var s = this; 146 if ("boolean" == typeof t) 147 o = t, 148 t = null; 149 else if (t < 0 || t >= s.slideCount) 150 return !1; 151 s.unload(), 152 "number" == typeof t ? 0 === t && 0 === s.$slides.length ? i(e).appendTo(s.$slideTrack) : o ? i(e).insertBefore(s.$slides.eq(t)) : i(e).insertAfter(s.$slides.eq(t)) : !0 === o ? i(e).prependTo(s.$slideTrack) : i(e).appendTo(s.$slideTrack), 153 s.$slides = s.$slideTrack.children(this.options.slide), 154 s.$slideTrack.children(this.options.slide).detach(), 155 s.$slideTrack.append(s.$slides), 156 s.$slides.each(function(e, t) { 157 i(t).attr("data-slick-index", e) 158 }), 159 s.$slidesCache = s.$slides, 160 s.reinit() 161 } 162 , 163 e.prototype.animateHeight = function() { 164 var i = this; 165 if (1 === i.options.slidesToShow && !0 === i.options.adaptiveHeight && !1 === i.options.vertical) { 166 var e = i.$slides.eq(i.currentSlide).outerHeight(!0); 167 i.$list.animate({ 168 height: e 169 }, i.options.speed) 170 } 171 } 172 , 173 e.prototype.animateSlide = function(e, t) { 174 var o = {} 175 , s = this; 176 s.animateHeight(), 177 !0 === s.options.rtl && !1 === s.options.vertical && (e = -e), 178 !1 === s.transformsEnabled ? !1 === s.options.vertical ? s.$slideTrack.animate({ 179 left: e 180 }, s.options.speed, s.options.easing, t) : s.$slideTrack.animate({ 181 top: e 182 }, s.options.speed, s.options.easing, t) : !1 === s.cssTransitions ? (!0 === s.options.rtl && (s.currentLeft = -s.currentLeft), 183 i({ 184 animStart: s.currentLeft 185 }).animate({ 186 animStart: e 187 }, { 188 duration: s.options.speed, 189 easing: s.options.easing, 190 step: function(i) { 191 i = Math.ceil(i), 192 !1 === s.options.vertical ? (o[s.animType] = "translate(" + i + "px, 0px)", 193 s.$slideTrack.css(o)) : (o[s.animType] = "translate(0px," + i + "px)", 194 s.$slideTrack.css(o)) 195 }, 196 complete: function() { 197 t && t.call() 198 } 199 })) : (s.applyTransition(), 200 e = Math.ceil(e), 201 !1 === s.options.vertical ? o[s.animType] = "translate3d(" + e + "px, 0px, 0px)" : o[s.animType] = "translate3d(0px," + e + "px, 0px)", 202 s.$slideTrack.css(o), 203 t && setTimeout(function() { 204 s.disableTransition(), 205 t.call() 206 }, s.options.speed)) 207 } 208 , 209 e.prototype.getNavTarget = function() { 210 var e = this 211 , t = e.options.asNavFor; 212 return t && null !== t && (t = i(t).not(e.$slider)), 213 t 214 } 215 , 216 e.prototype.asNavFor = function(e) { 217 var t = this.getNavTarget(); 218 null !== t && "object" == typeof t && t.each(function() { 219 var t = i(this).slick("getSlick"); 220 t.unslicked || t.slideHandler(e, !0) 221 }) 222 } 223 , 224 e.prototype.applyTransition = function(i) { 225 var e = this 226 , t = {}; 227 !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, 228 !1 === e.options.fade ? e.$slideTrack.css(t) : e.$slides.eq(i).css(t) 229 } 230 , 231 e.prototype.autoPlay = function() { 232 var i = this; 233 i.autoPlayClear(), 234 i.slideCount > i.options.slidesToShow && (i.autoPlayTimer = setInterval(i.autoPlayIterator, i.options.autoplaySpeed)) 235 } 236 , 237 e.prototype.autoPlayClear = function() { 238 var i = this; 239 i.autoPlayTimer && clearInterval(i.autoPlayTimer) 240 } 241 , 242 e.prototype.autoPlayIterator = function() { 243 var i = this 244 , e = i.currentSlide + i.options.slidesToScroll; 245 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, 246 i.currentSlide - 1 == 0 && (i.direction = 1))), 247 i.slideHandler(e)) 248 } 249 , 250 e.prototype.buildArrows = function() { 251 var e = this; 252 !0 === e.options.arrows && (e.$prevArrow = i(e.options.prevArrow).addClass("slick-arrow"), 253 e.$nextArrow = i(e.options.nextArrow).addClass("slick-arrow"), 254 e.slideCount > e.options.slidesToShow ? (e.$prevArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"), 255 e.$nextArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"), 256 e.htmlExpr.test(e.options.prevArrow) && e.$prevArrow.prependTo(e.options.appendArrows), 257 e.htmlExpr.test(e.options.nextArrow) && e.$nextArrow.appendTo(e.options.appendArrows), 258 !0 !== e.options.infinite && e.$prevArrow.addClass("slick-disabled").attr("aria-disabled", "true")) : e.$prevArrow.add(e.$nextArrow).addClass("slick-hidden").attr({ 259 "aria-disabled": "true", 260 tabindex: "-1" 261 })) 262 } 263 , 264 e.prototype.buildDots = function() { 265 var e, t, o = this; 266 if (!0 === o.options.dots) { 267 for (o.$slider.addClass("slick-dotted"), 268 t = i("<ul />").addClass(o.options.dotsClass), 269 e = 0; e <= o.getDotCount(); e += 1) 270 t.append(i("<li />").append(o.options.customPaging.call(this, o, e))); 271 o.$dots = t.appendTo(o.options.appendDots), 272 o.$dots.find("li").first().addClass("slick-active") 273 } 274 } 275 , 276 e.prototype.buildOut = function() { 277 var e = this; 278 e.$slides = e.$slider.children(e.options.slide + ":not(.slick-cloned)").addClass("slick-slide"), 279 e.slideCount = e.$slides.length, 280 e.$slides.each(function(e, t) { 281 i(t).attr("data-slick-index", e).data("originalStyling", i(t).attr("style") || "") 282 }), 283 e.$slider.addClass("slick-slider"), 284 e.$slideTrack = 0 === e.slideCount ? i('<div class="slick-track"/>').appendTo(e.$slider) : e.$slides.wrapAll('<div class="slick-track"/>').parent(), 285 e.$list = e.$slideTrack.wrap('<div class="slick-list"/>').parent(), 286 e.$slideTrack.css("opacity", 0), 287 !0 !== e.options.centerMode && !0 !== e.options.swipeToSlide || (e.options.slidesToScroll = 1), 288 i("img[data-lazy]", e.$slider).not("[src]").addClass("slick-loading"), 289 e.setupInfinite(), 290 e.buildArrows(), 291 e.buildDots(), 292 e.updateDots(), 293 e.setSlideClasses("number" == typeof e.currentSlide ? e.currentSlide : 0), 294 !0 === e.options.draggable && e.$list.addClass("draggable") 295 } 296 , 297 e.prototype.buildRows = function() { 298 var i, e, t, o, s, n, r, l = this; 299 if (o = document.createDocumentFragment(), 300 n = l.$slider.children(), 301 l.options.rows > 1) { 302 for (r = l.options.slidesPerRow * l.options.rows, 303 s = Math.ceil(n.length / r), 304 i = 0; i < s; i++) { 305 var d = document.createElement("div"); 306 for (e = 0; e < l.options.rows; e++) { 307 var a = document.createElement("div"); 308 for (t = 0; t < l.options.slidesPerRow; t++) { 309 var c = i * r + (e * l.options.slidesPerRow + t); 310 n.get(c) && a.appendChild(n.get(c)) 311 } 312 d.appendChild(a) 313 } 314 o.appendChild(d) 315 } 316 l.$slider.empty().append(o), 317 l.$slider.children().children().children().css({ 318 width: 100 / l.options.slidesPerRow + "%", 319 display: "inline-block" 320 }) 321 } 322 } 323 , 324 e.prototype.checkResponsive = function(e, t) { 325 var o, s, n, r = this, l = !1, d = r.$slider.width(), a = window.innerWidth || i(window).width(); 326 if ("window" === r.respondTo ? n = a : "slider" === r.respondTo ? n = d : "min" === r.respondTo && (n = Math.min(a, d)), 327 r.options.responsive && r.options.responsive.length && null !== r.options.responsive) { 328 s = null; 329 for (o in r.breakpoints) 330 r.breakpoints.hasOwnProperty(o) && (!1 === r.originalSettings.mobileFirst ? n < r.breakpoints[o] && (s = r.breakpoints[o]) : n > r.breakpoints[o] && (s = r.breakpoints[o])); 331 null !== s ? null !== r.activeBreakpoint ? (s !== r.activeBreakpoint || t) && (r.activeBreakpoint = s, 332 "unslick" === r.breakpointSettings[s] ? r.unslick(s) : (r.o
vendor: 3,258 bytes, lines 332-401
332ptions = i.extend({}, r.originalSettings, r.breakpointSettings[s]), 333 !0 === e && (r.currentSlide = r.options.initialSlide), 334 r.refresh(e)), 335 l = s) : (r.activeBreakpoint = s, 336 "unslick" === r.breakpointSettings[s] ? r.unslick(s) : (r.options = i.extend({}, r.originalSettings, r.breakpointSettings[s]), 337 !0 === e && (r.currentSlide = r.options.initialSlide), 338 r.refresh(e)), 339 l = s) : null !== r.activeBreakpoint && (r.activeBreakpoint = null, 340 r.options = r.originalSettings, 341 !0 === e && (r.currentSlide = r.options.initialSlide), 342 r.refresh(e), 343 l = s), 344 e || !1 === l || r.$slider.trigger("breakpoint", [r, l]) 345 } 346 } 347 , 348 e.prototype.changeSlide = function(e, t) { 349 var o, s, n, r = this, l = i(e.currentTarget); 350 switch (l.is("a") && e.preventDefault(), 351 l.is("li") || (l = l.closest("li")), 352 n = r.slideCount % r.options.slidesToScroll != 0, 353 o = n ? 0 : (r.slideCount - r.currentSlide) % r.options.slidesToScroll, 354 e.data.message) { 355 case "previous": 356 s = 0 === o ? r.options.slidesToScroll : r.options.slidesToShow - o, 357 r.slideCount > r.options.slidesToShow && r.slideHandler(r.currentSlide - s, !1, t); 358 break; 359 case "next": 360 s = 0 === o ? r.options.slidesToScroll : o, 361 r.slideCount > r.options.slidesToShow && r.slideHandler(r.currentSlide + s, !1, t); 362 break; 363 case "index": 364 var d = 0 === e.data.index ? 0 : e.data.index || l.index() * r.options.slidesToScroll; 365 r.slideHandler(r.checkNavigable(d), !1, t), 366 l.children().trigger("focus"); 367 break; 368 default: 369 return 370 } 371 } 372 , 373 e.prototype.checkNavigable = function(i) { 374 var e, t; 375 if (e = this.getNavigableIndexes(), 376 t = 0, 377 i > e[e.length - 1]) 378 i = e[e.length - 1]; 379 else 380 for (var o in e) { 381 if (i < e[o]) { 382 i = t; 383 break 384 } 385 t = e[o] 386 } 387 return i 388 } 389 , 390 e.prototype.cleanUpEvents = function() { 391 var e = this; 392 e.options.dots && null !== e.$dots && (i("li", e.$dots).off("click.slick", e.changeSlide).off("mouseenter.slick", i.proxy(e.interrupt, e, !0)).off("mouseleave.slick", i.proxy(e.interrupt, e, !1)), 393 !0 === e.options.accessibility && e.$dots.off("keydown.slick", e.keyHandler)), 394 e.$slider.off("focus.slick blur.slick"), 395 !0 === e.options.arrows && e.slideCount > e.options.slidesToShow && (e.$prevArrow && e.$prevArrow.off("click.slick", e.changeSlide), 396 e.$nextArrow && e.$nextArrow.off("click.slick", e.changeSlide), 397 !0 === e.options.accessibility && (e.$prevArrow && e.$prevArrow.off("keydown.slick", e.keyHandler), 398 e.$nextArrow && e.$nextArrow.off("keydown.slick", e.keyHandler))), 399 e.$list.off("touchstart.slick mousedown.slick", e.swipeHandler), 400 e.$list.off("touchmove.slick mousemove.slick", e.swipeHandler), 401 e.$list.off("touchend.slick mouseup.slick", e.swipeHandler),
vendor: 8,748 bytes, lines 402-577
402 e.$list.off("touchcancel.slick mouseleave.slick", e.swipeHandler), 403 e.$list.off("click.slick", e.clickHandler), 404 i(document).off(e.visibilityChange, e.visibility), 405 e.cleanUpSlideEvents(), 406 !0 === e.options.accessibility && e.$list.off("keydown.slick", e.keyHandler), 407 !0 === e.options.focusOnSelect && i(e.$slideTrack).children().off("click.slick", e.selectHandler), 408 i(window).off("orientationchange.slick.slick-" + e.instanceUid, e.orientationChange), 409 i(window).off("resize.slick.slick-" + e.instanceUid, e.resize), 410 i("[draggable!=true]", e.$slideTrack).off("dragstart", e.preventDefault), 411 i(window).off("load.slick.slick-" + e.instanceUid, e.setPosition) 412 } 413 , 414 e.prototype.cleanUpSlideEvents = function() { 415 var e = this; 416 e.$list.off("mouseenter.slick", i.proxy(e.interrupt, e, !0)), 417 e.$list.off("mouseleave.slick", i.proxy(e.interrupt, e, !1)) 418 } 419 , 420 e.prototype.cleanUpRows = function() { 421 var i, e = this; 422 e.options.rows > 1 && ((i = e.$slides.children().children()).removeAttr("style"), 423 e.$slider.empty().append(i)) 424 } 425 , 426 e.prototype.clickHandler = function(i) { 427 !1 === this.shouldClick && (i.stopImmediatePropagation(), 428 i.stopPropagation(), 429 i.preventDefault()) 430 } 431 , 432 e.prototype.destroy = function(e) { 433 var t = this; 434 t.autoPlayClear(), 435 t.touchObject = {}, 436 t.cleanUpEvents(), 437 i(".slick-cloned", t.$slider).detach(), 438 t.$dots && t.$dots.remove(), 439 t.$prevArrow && t.$prevArrow.length && (t.$prevArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display", ""), 440 t.htmlExpr.test(t.options.prevArrow) && t.$prevArrow.remove()), 441 t.$nextArrow && t.$nextArrow.length && (t.$nextArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display", ""), 442 t.htmlExpr.test(t.options.nextArrow) && t.$nextArrow.remove()), 443 t.$slides && (t.$slides.removeClass("slick-slide slick-active slick-center slick-visible slick-current").removeAttr("aria-hidden").removeAttr("data-slick-index").each(function() { 444 i(this).attr("style", i(this).data("originalStyling")) 445 }), 446 t.$slideTrack.children(this.options.slide).detach(), 447 t.$slideTrack.detach(), 448 t.$list.detach(), 449 t.$slider.append(t.$slides)), 450 t.cleanUpRows(), 451 t.$slider.removeClass("slick-slider"), 452 t.$slider.removeClass("slick-initialized"), 453 t.$slider.removeClass("slick-dotted"), 454 t.unslicked = !0, 455 e || t.$slider.trigger("destroy", [t]) 456 } 457 , 458 e.prototype.disableTransition = function(i) { 459 var e = this 460 , t = {}; 461 t[e.transitionType] = "", 462 !1 === e.options.fade ? e.$slideTrack.css(t) : e.$slides.eq(i).css(t) 463 } 464 , 465 e.prototype.fadeSlide = function(i, e) { 466 var t = this; 467 !1 === t.cssTransitions ? (t.$slides.eq(i).css({ 468 zIndex: t.options.zIndex 469 }), 470 t.$slides.eq(i).animate({ 471 opacity: 1 472 }, t.options.speed, t.options.easing, e)) : (t.applyTransition(i), 473 t.$slides.eq(i).css({ 474 opacity: 1, 475 zIndex: t.options.zIndex 476 }), 477 e && setTimeout(function() { 478 t.disableTransition(i), 479 e.call() 480 }, t.options.speed)) 481 } 482 , 483 e.prototype.fadeSlideOut = function(i) { 484 var e = this; 485 !1 === e.cssTransitions ? e.$slides.eq(i).animate({ 486 opacity: 0, 487 zIndex: e.options.zIndex - 2 488 }, e.options.speed, e.options.easing) : (e.applyTransition(i), 489 e.$slides.eq(i).css({ 490 opacity: 0, 491 zIndex: e.options.zIndex - 2 492 })) 493 } 494 , 495 e.prototype.filterSlides = e.prototype.slickFilter = function(i) { 496 var e = this; 497 null !== i && (e.$slidesCache = e.$slides, 498 e.unload(), 499 e.$slideTrack.children(this.options.slide).detach(), 500 e.$slidesCache.filter(i).appendTo(e.$slideTrack), 501 e.reinit()) 502 } 503 , 504 e.prototype.focusHandler = function() { 505 var e = this; 506 e.$slider.off("focus.slick blur.slick").on("focus.slick blur.slick", "*", function(t) { 507 t.stopImmediatePropagation(); 508 var o = i(this); 509 setTimeout(function() { 510 e.options.pauseOnFocus && (e.focussed = o.is(":focus"), 511 e.autoPlay()) 512 }, 0) 513 }) 514 } 515 , 516 e.prototype.getCurrent = e.prototype.slickCurrentSlide = function() { 517 return this.currentSlide 518 } 519 , 520 e.prototype.getDotCount = function() { 521 var i = this 522 , e = 0 523 , t = 0 524 , o = 0; 525 if (!0 === i.options.infinite) 526 if (i.slideCount <= i.options.slidesToShow) 527 ++o; 528 else 529 for (; e < i.slideCount; ) 530 ++o, 531 e = t + i.options.slidesToScroll, 532 t += i.options.slidesToScroll <= i.options.slidesToShow ? i.options.slidesToScroll : i.options.slidesToShow; 533 else if (!0 === i.options.centerMode) 534 o = i.slideCount; 535 else if (i.options.asNavFor) 536 for (; e < i.slideCount; ) 537 ++o, 538 e = t + i.options.slidesToScroll, 539 t += i.options.slidesToScroll <= i.options.slidesToShow ? i.options.slidesToScroll : i.options.slidesToShow; 540 else 541 o = 1 + Math.ceil((i.slideCount - i.options.slidesToShow) / i.options.slidesToScroll); 542 return o - 1 543 } 544 , 545 e.prototype.getLeft = function(i) { 546 var e, t, o, s, n = this, r = 0; 547 return n.slideOffset = 0, 548 t = n.$slides.first().outerHeight(!0), 549 !0 === n.options.infinite ? (n.slideCount > n.options.slidesToShow && (n.slideOffset = n.slideWidth * n.options.slidesToShow * -1, 550 s = -1, 551 !0 === n.options.vertical && !0 === n.options.centerMode && (2 === n.options.slidesToShow ? s = -1.5 : 1 === n.options.slidesToShow && (s = -2)), 552 r = t * n.options.slidesToShow * s), 553 n.slideCount % n.options.slidesToScroll != 0 && i + n.options.slidesToScroll > n.slideCount && n.slideCount > n.options.slidesToShow && (i > n.slideCount ? (n.slideOffset = (n.options.slidesToShow - (i - n.slideCount)) * n.slideWidth * -1, 554 r = (n.options.slidesToShow - (i - n.slideCount)) * t * -1) : (n.slideOffset = n.slideCount % n.options.slidesToScroll * n.slideWidth * -1, 555 r = n.slideCount % n.options.slidesToScroll * t * -1))) : i + n.options.slidesToShow > n.slideCount && (n.slideOffset = (i + n.options.slidesToShow - n.slideCount) * n.slideWidth, 556 r = (i + n.options.slidesToShow - n.slideCount) * t), 557 n.slideCount <= n.options.slidesToShow && (n.slideOffset = 0, 558 r = 0), 559 !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, 560 n.slideOffset += n.slideWidth * Math.floor(n.options.slidesToShow / 2)), 561 e = !1 === n.options.vertical ? i * n.slideWidth * -1 + n.slideOffset : i * t * -1 + r, 562 !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), 563 e = !0 === n.options.rtl ? o[0] ? -1 * (n.$slideTrack.width() - o[0].offsetLeft - o.width()) : 0 : o[0] ? -1 * o[0].offsetLeft : 0, 564 !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), 565 e = !0 === n.options.rtl ? o[0] ? -1 * (n.$slideTrack.width() - o[0].offsetLeft - o.width()) : 0 : o[0] ? -1 * o[0].offsetLeft : 0, 566 e += (n.$list.width() - o.outerWidth()) / 2)), 567 e 568 } 569 , 570 e.prototype.getOption = e.prototype.slickGetOption = function(i) { 571 return this.options[i] 572 } 573 , 574 e.prototype.getNavigableIndexes = function() { 575 var i, e = this, t = 0, o = 0, s = []; 576 for (!1 === e.options.infinite ? i = e.slideCount : (t = -1 * e.options.slidesToScroll, 577 o = -1 * e.options.slidesToScroll,
578 i = 2 * e.slideCount); t < i; ) 579 s.push(t), 580 t = o + e.options.slidesToScroll, 581 o += e.options.slidesToScroll <= e.options.slidesToShow ? e.options.slidesToScroll : e.options.slidesToShow; 582 return s 583 } 584 , 585 e.prototype.getSlick = function() { 586 return this 587 } 588 , 589 e.prototype.getSlideCount = function() { 590 var e, t, o = this; 591 return t = !0 === o.options.centerMode ? o.slideWidth * Math.floor(o.options.slidesToShow / 2) : 0, 592 !0 === o.options.swipeToSlide ? (o.$slideTrack.find(".slick-slide").each(function(s, n) { 593 if (n.offsetLeft - t + i(n).outerWidth() / 2 > -1 * o.swipeLeft) 594 return e = n, 595 !1 596 }), 597 Math.abs(i(e).attr("data-slick-index") - o.currentSlide) || 1) : o.options.slidesToScroll 598 } 599 , 600 e.prototype.goTo = e.prototype.slickGoTo = function(i, e) { 601 this.changeSlide({ 602 data: { 603 message: "index", 604 index: parseInt(i) 605 } 606 }, e) 607 } 608 , 609 e.prototype.init = function(e) { 610 var t = this; 611 i(t.$slider).hasClass("slick-initialized") || (i(t.$slider).addClass("slick-initialized"), 612 t.buildRows(), 613 t.buildOut(), 614 t.setProps(), 615 t.startLoad(), 616 t.loadSlider(), 617 t.initializeEvents(), 618 t.updateArrows(), 619 t.updateDots(), 620 t.checkResponsive(!0), 621 t.focusHandler()), 622 e && t.$slider.trigger("init", [t]), 623 !0 === t.options.accessibility && t.initADA(), 624 t.options.autoplay && (t.paused = !1, 625 t.autoPlay()) 626 } 627 , 628 e.prototype.initADA = function() { 629 var e = this 630 , t = Math.ceil(e.slideCount / e.options.slidesToShow) 631 , o = e.getNavigableIndexes().filter(function(i) { 632 return i >= 0 && i < e.slideCount 633 }); 634 e.$slides.add(e.$slideTrack.find(".slick-cloned")).attr({ 635 "aria-hidden": "true", 636 tabindex: "-1" 637 }).find("a, input, button, select").attr({ 638 tabindex: "-1" 639 }), 640 null !== e.$dots && (e.$slides.not(e.$slideTrack.find(".slick-cloned")).each(function(t) { 641 var s = o.indexOf(t); 642 i(this).attr({ 643 role: "tabpanel", 644 id: "slick-slide" + e.instanceUid + t, 645 tabindex: -1 646 }), 647 -1 !== s && i(this).attr({ 648 "aria-describedby": "slick-slide-control" + e.instanceUid + s 649 }) 650 }), 651 e.$dots.attr("role", "tablist").find("li").each(function(s) { 652 var n = o[s]; 653 i(this).attr({ 654 role: "presentation" 655 }), 656 i(this).find("button").first().attr({ 657 role: "tab", 658 id: "slick-slide-control" + e.instanceUid + s, 659 "aria-controls": "slick-slide" + e.instanceUid + n, 660 "aria-label": s + 1 + " of " + t, 661 "aria-selected": null, 662 tabindex: "-1" 663 }) 664 }).eq(e.currentSlide).find("button").attr({ 665 "aria-selected": "true", 666 tabindex: "0" 667 }).end()); 668 for (var s = e.currentSlide, n = s + e.options.slidesToShow; s < n; s++) 669 e.$slides.eq(s).attr("tabindex", 0); 670 e.activateADA() 671 } 672 , 673 e.prototype.initArrowEvents = function() { 674 var i = this; 675 !0 === i.options.arrows && i.slideCount > i.options.slidesToShow && (i.$prevArrow.off("click.slick").on("click.slick", { 676 message: "previous" 677 }, i.changeSlide), 678 i.$nextArrow.off("click.slick").on("click.slick", { 679 message: "next" 680 }, i.changeSlide), 681 !0 === i.options.accessibility && (i.$prevArrow.on("keydown.slick", i.keyHandler), 682 i.$nextArrow.on("keydown.slick", i.keyHandler))) 683 } 684 , 685 e.prototype.initDotEvents = function() { 686 var e = this; 687 !0 === e.options.dots && (i("li", e.$dots).on("click.slick", { 688 message: "index" 689 }, e.changeSlide), 690 !0 === e.options.accessibility && e.$dots.on("keydown.slick", e.keyHandler)), 691 !0 === e.options.dots && !0 === e.options.pauseOnDotsHover && i("li", e.$dots).on("mouseenter.slick", i.proxy(e.interrupt, e, !0)).on("mouseleave.
vendor: 14,617 bytes, lines 691-1048
691slick", i.proxy(e.interrupt, e, !1)) 692 } 693 , 694 e.prototype.initSlideEvents = function() { 695 var e = this; 696 e.options.pauseOnHover && (e.$list.on("mouseenter.slick", i.proxy(e.interrupt, e, !0)), 697 e.$list.on("mouseleave.slick", i.proxy(e.interrupt, e, !1))) 698 } 699 , 700 e.prototype.initializeEvents = function() { 701 var e = this; 702 e.initArrowEvents(), 703 e.initDotEvents(), 704 e.initSlideEvents(), 705 e.$list.on("touchstart.slick mousedown.slick", { 706 action: "start" 707 }, e.swipeHandler), 708 e.$list.on("touchmove.slick mousemove.slick", { 709 action: "move" 710 }, e.swipeHandler), 711 e.$list.on("touchend.slick mouseup.slick", { 712 action: "end" 713 }, e.swipeHandler), 714 e.$list.on("touchcancel.slick mouseleave.slick", { 715 action: "end" 716 }, e.swipeHandler), 717 e.$list.on("click.slick", e.clickHandler), 718 i(document).on(e.visibilityChange, i.proxy(e.visibility, e)), 719 !0 === e.options.accessibility && e.$list.on("keydown.slick", e.keyHandler), 720 !0 === e.options.focusOnSelect && i(e.$slideTrack).children().on("click.slick", e.selectHandler), 721 i(window).on("orientationchange.slick.slick-" + e.instanceUid, i.proxy(e.orientationChange, e)), 722 i(window).on("resize.slick.slick-" + e.instanceUid, i.proxy(e.resize, e)), 723 i("[draggable!=true]", e.$slideTrack).on("dragstart", e.preventDefault), 724 i(window).on("load.slick.slick-" + e.instanceUid, e.setPosition), 725 i(e.setPosition) 726 } 727 , 728 e.prototype.initUI = function() { 729 var i = this; 730 !0 === i.options.arrows && i.slideCount > i.options.slidesToShow && (i.$prevArrow.show(), 731 i.$nextArrow.show()), 732 !0 === i.options.dots && i.slideCount > i.options.slidesToShow && i.$dots.show() 733 } 734 , 735 e.prototype.keyHandler = function(i) { 736 var e = this; 737 i.target.tagName.match("TEXTAREA|INPUT|SELECT") || (37 === i.keyCode && !0 === e.options.accessibility ? e.changeSlide({ 738 data: { 739 message: !0 === e.options.rtl ? "next" : "previous" 740 } 741 }) : 39 === i.keyCode && !0 === e.options.accessibility && e.changeSlide({ 742 data: { 743 message: !0 === e.options.rtl ? "previous" : "next" 744 } 745 })) 746 } 747 , 748 e.prototype.lazyLoad = function() { 749 function e(e) { 750 i("img[data-lazy]", e).each(function() { 751 var e = i(this) 752 , t = i(this).attr("data-lazy") 753 , o = i(this).attr("data-srcset") 754 , s = i(this).attr("data-sizes") || n.$slider.attr("data-sizes") 755 , r = document.createElement("img"); 756 r.onload = function() { 757 e.animate({ 758 opacity: 0 759 }, 100, function() { 760 o && (e.attr("srcset", o), 761 s && e.attr("sizes", s)), 762 e.attr("src", t).animate({ 763 opacity: 1 764 }, 200, function() { 765 e.removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading") 766 }), 767 n.$slider.trigger("lazyLoaded", [n, e, t]) 768 }) 769 } 770 , 771 r.onerror = function() { 772 e.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"), 773 n.$slider.trigger("lazyLoadError", [n, e, t]) 774 } 775 , 776 r.src = t 777 }) 778 } 779 var t, o, s, n = this; 780 if (!0 === n.options.centerMode ? !0 === n.options.infinite ? s = (o = n.currentSlide + (n.options.slidesToShow / 2 + 1)) + n.options.slidesToShow + 2 : (o = Math.max(0, n.currentSlide - (n.options.slidesToShow / 2 + 1)), 781 s = n.options.slidesToShow / 2 + 1 + 2 + n.currentSlide) : (o = n.options.infinite ? n.options.slidesToShow + n.currentSlide : n.currentSlide, 782 s = Math.ceil(o + n.options.slidesToShow), 783 !0 === n.options.fade && (o > 0 && o--, 784 s <= n.slideCount && s++)), 785 t = n.$slider.find(".slick-slide").slice(o, s), 786 "anticipated" === n.options.lazyLoad) 787 for (var r = o - 1, l = s, d = n.$slider.find(".slick-slide"), a = 0; a < n.options.slidesToScroll; a++) 788 r < 0 && (r = n.slideCount - 1), 789 t = (t = t.add(d.eq(r))).add(d.eq(l)), 790 r--, 791 l++; 792 e(t), 793 n.slideCount <= n.options.slidesToShow ? e(n.$slider.find(".slick-slide")) : n.currentSlide >= n.slideCount - n.options.slidesToShow ? e(n.$slider.find(".slick-cloned").slice(0, n.options.slidesToShow)) : 0 === n.currentSlide && e(n.$slider.find(".slick-cloned").slice(-1 * n.options.slidesToShow)) 794 } 795 , 796 e.prototype.loadSlider = function() { 797 var i = this; 798 i.setPosition(), 799 i.$slideTrack.css({ 800 opacity: 1 801 }), 802 i.$slider.removeClass("slick-loading"), 803 i.initUI(), 804 "progressive" === i.options.lazyLoad && i.progressiveLazyLoad() 805 } 806 , 807 e.prototype.next = e.prototype.slickNext = function() { 808 this.changeSlide({ 809 data: { 810 message: "next" 811 } 812 }) 813 } 814 , 815 e.prototype.orientationChange = function() { 816 var i = this; 817 i.checkResponsive(), 818 i.setPosition() 819 } 820 , 821 e.prototype.pause = e.prototype.slickPause = function() { 822 var i = this; 823 i.autoPlayClear(), 824 i.paused = !0 825 } 826 , 827 e.prototype.play = e.prototype.slickPlay = function() { 828 var i = this; 829 i.autoPlay(), 830 i.options.autoplay = !0, 831 i.paused = !1, 832 i.focussed = !1, 833 i.interrupted = !1 834 } 835 , 836 e.prototype.postSlide = function(e) { 837 var t = this; 838 t.unslicked || (t.$slider.trigger("afterChange", [t, e]), 839 t.animating = !1, 840 t.slideCount > t.options.slidesToShow && t.setPosition(), 841 t.swipeLeft = null, 842 t.options.autoplay && t.autoPlay(), 843 !0 === t.options.accessibility && (t.initADA(), 844 t.options.focusOnChange && i(t.$slides.get(t.currentSlide)).attr("tabindex", 0).focus())) 845 } 846 , 847 e.prototype.prev = e.prototype.slickPrev = function() { 848 this.changeSlide({ 849 data: { 850 message: "previous" 851 } 852 }) 853 } 854 , 855 e.prototype.preventDefault = function(i) { 856 i.preventDefault() 857 } 858 , 859 e.prototype.progressiveLazyLoad = function(e) { 860 e = e || 1; 861 var t, o, s, n, r, l = this, d = i("img[data-lazy]", l.$slider); 862 d.length ? (t = d.first(), 863 o = t.attr("data-lazy"), 864 s = t.attr("data-srcset"), 865 n = t.attr("data-sizes") || l.$slider.attr("data-sizes"), 866 (r = document.createElement("img")).onload = function() { 867 s && (t.attr("srcset", s), 868 n && t.attr("sizes", n)), 869 t.attr("src", o).removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading"), 870 !0 === l.options.adaptiveHeight && l.setPosition(), 871 l.$slider.trigger("lazyLoaded", [l, t, o]), 872 l.progressiveLazyLoad() 873 } 874 , 875 r.onerror = function() { 876 e < 3 ? setTimeout(function() { 877 l.progressiveLazyLoad(e + 1) 878 }, 500) : (t.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"), 879 l.$slider.trigger("lazyLoadError", [l, t, o]), 880 l.progressiveLazyLoad()) 881 } 882 , 883 r.src = o) : l.$slider.trigger("allImagesLoaded", [l]) 884 } 885 , 886 e.prototype.refresh = function(e) { 887 var t, o, s = this; 888 o = s.slideCount - s.options.slidesToShow, 889 !s.options.infinite && s.currentSlide > o && (s.currentSlide = o), 890 s.slideCount <= s.options.slidesToShow && (s.currentSlide = 0), 891 t = s.currentSlide, 892 s.destroy(!0), 893 i.extend(s, s.initials, { 894 currentSlide: t 895 }), 896 s.init(), 897 e || s.changeSlide({ 898 data: { 899 message: "index", 900 index: t 901 } 902 }, !1) 903 } 904 , 905 e.prototype.registerBreakpoints = function() { 906 var e, t, o, s = this, n = s.options.responsive || null; 907 if ("array" === i.type(n) && n.length) { 908 s.respondTo = s.options.respondTo || "window"; 909 for (e in n) 910 if (o = s.breakpoints.length - 1, 911 n.hasOwnProperty(e)) { 912 for (t = n[e].breakpoint; o >= 0; ) 913 s.breakpoints[o] && s.breakpoints[o] === t && s.breakpoints.splice(o, 1), 914 o--; 915 s.breakpoints.push(t), 916 s.breakpointSettings[t] = n[e].settings 917 } 918 s.breakpoints.sort(function(i, e) { 919 return s.options.mobileFirst ? i - e : e - i 920 }) 921 } 922 } 923 , 924 e.prototype.reinit = function() { 925 var e = this; 926 e.$slides = e.$slideTrack.children(e.options.slide).addClass("slick-slide"), 927 e.slideCount = e.$slides.length, 928 e.currentSlide >= e.slideCount && 0 !== e.currentSlide && (e.currentSlide = e.currentSlide - e.options.slidesToScroll), 929 e.slideCount <= e.options.slidesToShow && (e.currentSlide = 0), 930 e.registerBreakpoints(), 931 e.setProps(), 932 e.setupInfinite(), 933 e.buildArrows(), 934 e.updateArrows(), 935 e.initArrowEvents(), 936 e.buildDots(), 937 e.updateDots(), 938 e.initDotEvents(), 939 e.cleanUpSlideEvents(), 940 e.initSlideEvents(), 941 e.checkResponsive(!1, !0), 942 !0 === e.options.focusOnSelect && i(e.$slideTrack).children().on("click.slick", e.selectHandler), 943 e.setSlideClasses("number" == typeof e.currentSlide ? e.currentSlide : 0), 944 e.setPosition(), 945 e.focusHandler(), 946 e.paused = !e.options.autoplay, 947 e.autoPlay(), 948 e.$slider.trigger("reInit", [e]) 949 } 950 , 951 e.prototype.resize = function() { 952 var e = this; 953 i(window).width() !== e.windowWidth && (clearTimeout(e.windowDelay), 954 e.windowDelay = window.setTimeout(function() { 955 e.windowWidth = i(window).width(), 956 e.checkResponsive(), 957 e.unslicked || e.setPosition() 958 }, 50)) 959 } 960 , 961 e.prototype.removeSlide = e.prototype.slickRemove = function(i, e, t) { 962 var o = this; 963 if (i = "boolean" == typeof i ? !0 === (e = i) ? 0 : o.slideCount - 1 : !0 === e ? --i : i, 964 o.slideCount < 1 || i < 0 || i > o.slideCount - 1) 965 return !1; 966 o.unload(), 967 !0 === t ? o.$slideTrack.children().remove() : o.$slideTrack.children(this.options.slide).eq(i).remove(), 968 o.$slides = o.$slideTrack.children(this.options.slide), 969 o.$slideTrack.children(this.options.slide).detach(), 970 o.$slideTrack.append(o.$slides), 971 o.$slidesCache = o.$slides, 972 o.reinit() 973 } 974 , 975 e.prototype.setCSS = function(i) { 976 var e, t, o = this, s = {}; 977 !0 === o.options.rtl && (i = -i), 978 e = "left" == o.positionProp ? Math.ceil(i) + "px" : "0px", 979 t = "top" == o.positionProp ? Math.ceil(i) + "px" : "0px", 980 s[o.positionProp] = i, 981 !1 === o.transformsEnabled ? o.$slideTrack.css(s) : (s = {}, 982 !1 === o.cssTransitions ? (s[o.animType] = "translate(" + e + ", " + t + ")", 983 o.$slideTrack.css(s)) : (s[o.animType] = "translate3d(" + e + ", " + t + ", 0px)", 984 o.$slideTrack.css(s))) 985 } 986 , 987 e.prototype.setDimensions = function() { 988 var i = this; 989 !1 === i.options.vertical ? !0 === i.options.centerMode && i.$list.css({ 990 padding: "0px " + i.options.centerPadding 991 }) : (i.$list.height(i.$slides.first().outerHeight(!0) * i.options.slidesToShow), 992 !0 === i.options.centerMode && i.$list.css({ 993 padding: i.options.centerPadding + " 0px" 994 })), 995 i.listWidth = i.$list.width(), 996 i.listHeight = i.$list.height(), 997 !1 === i.options.vertical && !1 === i.options.variableWidth ? (i.slideWidth = Math.ceil(i.listWidth / i.options.slidesToShow), 998 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), 999 i.$slideTrack.height(Math.ceil(i.$slides.first().outerHeight(!0) * i.$slideTrack.children(".slick-slide").length))); 1000 var e = i.$slides.first().outerWidth(!0) - i.$slides.first().width(); 1001 !1 === i.options.variableWidth && i.$slideTrack.children(".slick-slide").width(i.slideWidth - e) 1002 } 1003 , 1004 e.prototype.setFade = function() { 1005 var e, t = this; 1006 t.$slides.each(function(o, s) { 1007 e = t.slideWidth * o * -1, 1008 !0 === t.options.rtl ? i(s).css({ 1009 position: "relative", 1010 right: e, 1011 top: 0, 1012 zIndex: t.options.zIndex - 2, 1013 opacity: 0 1014 }) : i(s).css({ 1015 position: "relative", 1016 left: e, 1017 top: 0, 1018 zIndex: t.options.zIndex - 2, 1019 opacity: 0 1020 }) 1021 }), 1022 t.$slides.eq(t.currentSlide).css({ 1023 zIndex: t.options.zIndex - 1, 1024 opacity: 1 1025 }) 1026 } 1027 , 1028 e.prototype.setHeight = function() { 1029 var i = this; 1030 if (1 === i.options.slidesToShow && !0 === i.options.adaptiveHeight && !1 === i.options.vertical) { 1031 var e = i.$slides.eq(i.currentSlide).outerHeight(!0); 1032 i.$list.css("height", e) 1033 } 1034 } 1035 , 1036 e.prototype.setOption = e.prototype.slickSetOption = function() { 1037 var e, t, o, s, n, r = this, l = !1; 1038 if ("object" === i.type(arguments[0]) ? (o = arguments[0], 1039 l = arguments[1], 1040 n = "multiple") : "string" === i.type(arguments[0]) && (o = arguments[0], 1041 s = arguments[1], 1042 l = arguments[2], 1043 "responsive" === arguments[0] && "array" === i.type(arguments[1]) ? n = "responsive" : void 0 !== arguments[1] && (n = "single")), 1044 "single" === n) 1045 r.options[o] = s; 1046 else if ("multiple" === n) 1047 i.each(o, function(i, e) { 1048 r.options[i] = e
vendor: 5,071 bytes, lines 1049-1128
1049 }); 1050 else if ("responsive" === n) 1051 for (t in s) 1052 if ("array" !== i.type(r.options.responsive)) 1053 r.options.responsive = [s[t]]; 1054 else { 1055 for (e = r.options.responsive.length - 1; e >= 0; ) 1056 r.options.responsive[e].breakpoint === s[t].breakpoint && r.options.responsive.splice(e, 1), 1057 e--; 1058 r.options.responsive.push(s[t]) 1059 } 1060 l && (r.unload(), 1061 r.reinit()) 1062 } 1063 , 1064 e.prototype.setPosition = function() { 1065 var i = this; 1066 i.setDimensions(), 1067 i.setHeight(), 1068 !1 === i.options.fade ? i.setCSS(i.getLeft(i.currentSlide)) : i.setFade(), 1069 i.$slider.trigger("setPosition", [i]) 1070 } 1071 , 1072 e.prototype.setProps = function() { 1073 var i = this 1074 , e = document.body.style; 1075 i.positionProp = !0 === i.options.vertical ? "top" : "left", 1076 "top" === i.positionProp ? i.$slider.addClass("slick-vertical") : i.$slider.removeClass("slick-vertical"), 1077 void 0 === e.WebkitTransition && void 0 === e.MozTransition && void 0 === e.msTransition || !0 === i.options.useCSS && (i.cssTransitions = !0), 1078 i.options.fade && ("number" == typeof i.options.zIndex ? i.options.zIndex < 3 && (i.options.zIndex = 3) : i.options.zIndex = i.defaults.zIndex), 1079 void 0 !== e.OTransform && (i.animType = "OTransform", 1080 i.transformType = "-o-transform", 1081 i.transitionType = "OTransition", 1082 void 0 === e.perspectiveProperty && void 0 === e.webkitPerspective && (i.animType = !1)), 1083 void 0 !== e.MozTransform && (i.animType = "MozTransform", 1084 i.transformType = "-moz-transform", 1085 i.transitionType = "MozTransition", 1086 void 0 === e.perspectiveProperty && void 0 === e.MozPerspective && (i.animType = !1)), 1087 void 0 !== e.webkitTransform && (i.animType = "webkitTransform", 1088 i.transformType = "-webkit-transform", 1089 i.transitionType = "webkitTransition", 1090 void 0 === e.perspectiveProperty && void 0 === e.webkitPerspective && (i.animType = !1)), 1091 void 0 !== e.msTransform && (i.animType = "msTransform", 1092 i.transformType = "-ms-transform", 1093 i.transitionType = "msTransition", 1094 void 0 === e.msTransform && (i.animType = !1)), 1095 void 0 !== e.transform && !1 !== i.animType && (i.animType = "transform", 1096 i.transformType = "transform", 1097 i.transitionType = "transition"), 1098 i.transformsEnabled = i.options.useTransform && null !== i.animType && !1 !== i.animType 1099 } 1100 , 1101 e.prototype.setSlideClasses = function(i) { 1102 var e, t, o, s, n = this; 1103 if (t = n.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden", "true"), 1104 n.$slides.eq(i).addClass("slick-current"), 1105 !0 === n.options.centerMode) { 1106 var r = n.options.slidesToShow % 2 == 0 ? 1 : 0; 1107 e = Math.floor(n.options.slidesToShow / 2), 1108 !0 === n.options.infinite && (i >= e && i <= n.slideCount - 1 - e ? n.$slides.slice(i - e + r, i + e + 1).addClass("slick-active").attr("aria-hidden", "false") : (o = n.options.slidesToShow + i, 1109 t.slice(o - e + 1 + r, o + e + 2).addClass("slick-active").attr("aria-hidden", "false")), 1110 0 === i ? t.eq(t.length - 1 - n.options.slidesToShow).addClass("slick-center") : i === n.slideCount - 1 && t.eq(n.options.slidesToShow).addClass("slick-center")), 1111 n.$slides.eq(i).addClass("slick-center") 1112 } else 1113 i >= 0 && i <= n.slideCount - n.options.slidesToShow ? n.$slides.slice(i, i + n.options.slidesToShow).addClass("slick-active").attr("aria-hidden", "false") : t.length <= n.options.slidesToShow ? t.addClass("slick-active").attr("aria-hidden", "false") : (s = n.slideCount % n.options.slidesToShow, 1114 o = !0 === n.options.infinite ? n.options.slidesToShow + i : i, 1115 n.options.slidesToShow == n.options.slidesToScroll && n.slideCount - i < n.options.slidesToShow ? t.slice(o - (n.options.slidesToShow - s), o + s).addClass("slick-active").attr("aria-hidden", "false") : t.slice(o, o + n.options.slidesToShow).addClass("slick-active").attr("aria-hidden", "false")); 1116 "ondemand" !== n.options.lazyLoad && "anticipated" !== n.options.lazyLoad || n.lazyLoad() 1117 } 1118 , 1119 e.prototype.setupInfinite = function() { 1120 var e, t, o, s = this; 1121 if (!0 === s.options.fade && (s.options.centerMode = !1), 1122 !0 === s.options.infinite && !1 === s.options.fade && (t = null, 1123 s.slideCount > s.options.slidesToShow)) { 1124 for (o = !0 === s.options.centerMode ? s.options.slidesToShow + 1 : s.options.slidesToShow, 1125 e = s.slideCount; e > s.slideCount - o; e -= 1) 1126 t = e - 1, 1127 i(s.$slides[t]).clone(!0).attr("id", "").attr("data-slick-index", t - s.slideCount).prependTo(s.$slideTrack).addClass("slick-cloned"); 1128 for (e = 0; e < o + s.slideCount;
1128 e += 1) 1129 t = e, 1130 i(s.$slides[t]).clone(!0).attr("id", "").attr("data-slick-index", t + s.slideCount).appendTo(s.$slideTrack).addClass("slick-cloned"); 1131 s.$slideTrack.find(".slick-cloned").find("[id]").each(function() { 1132 i(this).attr("id", "") 1133 }) 1134 } 1135 } 1136 , 1137 e.prototype.interrupt = function(i) { 1138 var e = this; 1139 i || e.autoPlay(), 1140 e.interrupted = i 1141 } 1142 , 1143 e.prototype.selectHandler = function(e) { 1144 var t = this 1145 , o = i(e.target).is(".slick-slide") ? i(e.target) : i(e.target).parents(".slick-slide") 1146 , s = parseInt(o.attr("data-slick-index")); 1147 s || (s = 0), 1148 t.slideCount <= t.options.slidesToShow ? t.slideHandler(s, !1, !0) : t.slideHandler(s) 1149 } 1150 , 1151 e.prototype.slideHandler = function(i, e, t) { 1152 var o, s, n, r, l, d = null, a = this; 1153 if (e = e || !1, 1154 !(!0 === a.animating && !0 === a.options.waitForAnimate || !0 === a.options.fade && a.currentSlide === i)) 1155 if (!1 === e && a.asNavFor(i), 1156 o = i, 1157 d = a.getLeft(o), 1158 r = a.getLeft(a.currentSlide), 1159 a.currentLeft = null === a.swipeLeft ? r : a.swipeLeft, 1160 !1 === a.options.infinite && !1 === a.options.centerMode && (i < 0 || i > a.getDotCount() * a.options.slidesToScroll)) 1161 !1 === a.options.fade && (o = a.currentSlide, 1162 !0 !== t ? a.animateSlide(r, function() { 1163 a.postSlide(o) 1164 }) : a.postSlide(o)); 1165 else if (!1 === a.options.infinite && !0 === a.options.centerMode && (i < 0 || i > a.slideCount - a.options.slidesToScroll)) 1166 !1 === a.options.fade && (o = a.currentSlide, 1167 !0 !== t ? a.animateSlide(r, function() { 1168 a.postSlide(o) 1169 }) : a.postSlide(o)); 1170 else { 1171 if (a.options.autoplay && clearInterval(a.autoPlayTimer), 1172 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, 1173 a.animating = !0, 1174 a.$slider.trigger("beforeChange", [a, a.currentSlide, s]), 1175 n = a.currentSlide, 1176 a.currentSlide = s, 1177 a.setSlideClasses(a.currentSlide), 1178 a.options.asNavFor && (l = (l = a.getNavTarget()).slick("getSlick")).slideCount <= l.options.slidesToShow && l.setSlideClasses(a.currentSlide), 1179 a.updateDots(), 1180 a.updateArrows(), 1181 !0 === a.options.fade) 1182 return !0 !== t ? (a.fadeSlideOut(n), 1183 a.fadeSlide(s, function() { 1184 a.postSlide(s) 1185 })) : a.postSlide(s), 1186 void a.animateHeight(); 1187 !0 !== t ? a.animateSlide(d, function() { 1188 a.postSlide(s) 1189 }) : a.postSlide(s) 1190 } 1191 } 1192 , 1193 e.prototype.startLoad = function() { 1194 var i = this; 1195 !0 === i.options.arrows && i.slideCount > i.options.slidesToShow && (i.$prevArrow.hide(), 1196 i.$nextArrow.hide()), 1197 !0 === i.options.dots && i.slideCount > i.options.slidesToShow && i.$dots.hide(), 1198 i.$slider.addClass("slick-loading") 1199 } 1200 , 1201 e.prototype.swipeDirection = function() { 1202 var i, e, t, o, s = this; 1203 return i = s.touchObject.startX - s.touchObject.curX, 1204 e = s.touchObject.startY - s.touchObject.curY, 1205 t = Math.atan2(e, i), 1206 (o = Math.round(180 * t / Math.PI)) < 0 && (o = 360 - Math.abs(o)), 1207 o <= 45 && o >= 0 ? !1 === s.options.rtl ? "left" : "right" : o <= 360 && o >= 315 ? !1 === s.options.rtl ? "left" : "right" : o >= 135 && o <= 225 ? !1 === s.options.rtl ? "right" : "left" : !0 === s.options.verticalSwiping ? o >= 35 && o <= 135 ? "down" : "up" : "vertical" 1208 } 1209 , 1210 e.prototype.swipeEnd = function(i) { 1211 var e, t, o = this; 1212 if (o.dragging = !1, 1213 o.swiping = !1, 1214 o.scrolling) 1215 return o.scrolling = !1, 1216 !1; 1217 if (o.interrupted = !1, 1218 o.shouldClick = !(o.touchObject.swipeLength > 10), 1219 void 0 === o.touchObject.curX) 1220 return !1; 1221 if (!0 === o.touchObject.edgeHit && o.$slider.trigger("edge", [o, o.swipeDirection()]), 1222 o.touchObject.swipeLength >= o.touchObject.minSwipe) { 1223 switch (t = o.swipeDirection()) {
vendor: 4,674 bytes, lines 1224-1313
1224 case "left": 1225 case "down": 1226 e = o.options.swipeToSlide ? o.checkNavigable(o.currentSlide + o.getSlideCount()) : o.currentSlide + o.getSlideCount(), 1227 o.currentDirection = 0; 1228 break; 1229 case "right": 1230 case "up": 1231 e = o.options.swipeToSlide ? o.checkNavigable(o.currentSlide - o.getSlideCount()) : o.currentSlide - o.getSlideCount(), 1232 o.currentDirection = 1 1233 } 1234 "vertical" != t && (o.slideHandler(e), 1235 o.touchObject = {}, 1236 o.$slider.trigger("swipe", [o, t])) 1237 } else 1238 o.touchObject.startX !== o.touchObject.curX && (o.slideHandler(o.currentSlide), 1239 o.touchObject = {}) 1240 } 1241 , 1242 e.prototype.swipeHandler = function(i) { 1243 var e = this; 1244 if (!(!1 === e.options.swipe || "ontouchend"in document && !1 === e.options.swipe || !1 === e.options.draggable && -1 !== i.type.indexOf("mouse"))) 1245 switch (e.touchObject.fingerCount = i.originalEvent && void 0 !== i.originalEvent.touches ? i.originalEvent.touches.length : 1, 1246 e.touchObject.minSwipe = e.listWidth / e.options.touchThreshold, 1247 !0 === e.options.verticalSwiping && (e.touchObject.minSwipe = e.listHeight / e.options.touchThreshold), 1248 i.data.action) { 1249 case "start": 1250 e.swipeStart(i); 1251 break; 1252 case "move": 1253 e.swipeMove(i); 1254 break; 1255 case "end": 1256 e.swipeEnd(i) 1257 } 1258 } 1259 , 1260 e.prototype.swipeMove = function(i) { 1261 var e, t, o, s, n, r, l = this; 1262 return n = void 0 !== i.originalEvent ? i.originalEvent.touches : null, 1263 !(!l.dragging || l.scrolling || n && 1 !== n.length) && (e = l.getLeft(l.currentSlide), 1264 l.touchObject.curX = void 0 !== n ? n[0].pageX : i.clientX, 1265 l.touchObject.curY = void 0 !== n ? n[0].pageY : i.clientY, 1266 l.touchObject.swipeLength = Math.round(Math.sqrt(Math.pow(l.touchObject.curX - l.touchObject.startX, 2))), 1267 r = Math.round(Math.sqrt(Math.pow(l.touchObject.curY - l.touchObject.startY, 2))), 1268 !l.options.verticalSwiping && !l.swiping && r > 4 ? (l.scrolling = !0, 1269 !1) : (!0 === l.options.verticalSwiping && (l.touchObject.swipeLength = r), 1270 t = l.swipeDirection(), 1271 void 0 !== i.originalEvent && l.touchObject.swipeLength > 4 && (l.swiping = !0, 1272 i.preventDefault()), 1273 s = (!1 === l.options.rtl ? 1 : -1) * (l.touchObject.curX > l.touchObject.startX ? 1 : -1), 1274 !0 === l.options.verticalSwiping && (s = l.touchObject.curY > l.touchObject.startY ? 1 : -1), 1275 o = l.touchObject.swipeLength, 1276 l.touchObject.edgeHit = !1, 1277 !1 === l.options.infinite && (0 === l.currentSlide && "right" === t || l.currentSlide >= l.getDotCount() && "left" === t) && (o = l.touchObject.swipeLength * l.options.edgeFriction, 1278 l.touchObject.edgeHit = !0), 1279 !1 === l.options.vertical ? l.swipeLeft = e + o * s : l.swipeLeft = e + o * (l.$list.height() / l.listWidth) * s, 1280 !0 === l.options.verticalSwiping && (l.swipeLeft = e + o * s), 1281 !0 !== l.options.fade && !1 !== l.options.touchMove && (!0 === l.animating ? (l.swipeLeft = null, 1282 !1) : void l.setCSS(l.swipeLeft)))) 1283 } 1284 , 1285 e.prototype.swipeStart = function(i) { 1286 var e, t = this; 1287 if (t.interrupted = !0, 1288 1 !== t.touchObject.fingerCount || t.slideCount <= t.options.slidesToShow) 1289 return t.touchObject = {}, 1290 !1; 1291 void 0 !== i.originalEvent && void 0 !== i.originalEvent.touches && (e = i.originalEvent.touches[0]), 1292 t.touchObject.startX = t.touchObject.curX = void 0 !== e ? e.pageX : i.clientX, 1293 t.touchObject.startY = t.touchObject.curY = void 0 !== e ? e.pageY : i.clientY, 1294 t.dragging = !0 1295 } 1296 , 1297 e.prototype.unfilterSlides = e.prototype.slickUnfilter = function() { 1298 var i = this; 1299 null !== i.$slidesCache && (i.unload(), 1300 i.$slideTrack.children(this.options.slide).detach(), 1301 i.$slidesCache.appendTo(i.$slideTrack), 1302 i.reinit()) 1303 } 1304 , 1305 e.prototype.unload = function() { 1306 var e = this; 1307 i(".slick-cloned", e.$slider).remove(), 1308 e.$dots && e.$dots.remove(), 1309 e.$prevArrow && e.htmlExpr.test(e.options.prevArrow) && e.$prevArrow.remove(), 1310 e.$nextArrow && e.htmlExpr.test(e.options.nextArrow) && e.$nextArrow.remove(), 1311 e.$slides.removeClass("slick-slide slick-active slick-visible slick-current").attr("aria-hidden", "true").css("width", "") 1312 } 1313 ,
1314 e.prototype.unslick = function(i) { 1315 var e = this; 1316 e.$slider.trigger("unslick", [e, i]), 1317 e.destroy() 1318 } 1319 , 1320 e.prototype.updateArrows = function() { 1321 var i = this; 1322 Math.floor(i.options.slidesToShow / 2), 1323 !0 === i.options.arrows && i.slideCount > i.options.slidesToShow && !i.options.infinite && (i.$prevArrow.removeClass("slick-disabled").attr("aria-disabled", "false"), 1324 i.$nextArrow.removeClass("slick-disabled").attr("aria-disabled", "false"), 1325 0 === i.currentSlide ? (i.$prevArrow.addClass("slick-disabled").attr("aria-disabled", "true"), 1326 i.$nextArrow.removeClass("slick-disabled").attr("aria-disabled", "false")) : i.currentSlide >= i.slideCount - i.options.slidesToShow && !1 === i.options.centerMode ? (i.$nextArrow.addClass("slick-disabled").attr("aria-disabled", "true"), 1327 i.$prevArrow.removeClass("slick-disabled").attr("aria-disabled", "false")) : i.currentSlide >= i.slideCount - 1 && !0 === i.options.centerMode && (i.$nextArrow.addClass("slick-disabled").attr("aria-disabled", "true"), 1328 i.$prevArrow.removeClass("slick-disabled").attr("aria-disabled", "false"))) 1329 } 1330 , 1331 e.prototype.updateDots = function() { 1332 var i = this; 1333 null !== i.$dots && (i.$dots.find("li").removeClass("slick-active").end(), 1334 i.$dots.find("li").eq(Math.floor(i.currentSlide / i.options.slidesToScroll)).addClass("slick-active")) 1335 } 1336 , 1337 e.prototype.visibility = function() { 1338 var i = this; 1339 i.options.autoplay && (document[i.hidden] ? i.interrupted = !0 : i.interrupted = !1) 1340 } 1341 , 1342 i.fn.slick = function() { 1343 var i, t, o = this, s = arguments[0], n = Array.prototype.slice.call(arguments, 1), r = o.length; 1344 for (i = 0; i < r; i++) 1345 if ("object" == typeof s || void 0 === s ? o[i].slick = new e(o[i],s) : t = o[i].slick[s].apply(o[i].slick, n), 1346 void 0 !== t) 1347 return t; 1348 return o 1349 }, 1350 i.fn.unslick=function(){ 1351 var a=this; 1352 return a.each(function(a,b){ 1353 b.slick.destroy() 1354 }) 1355 } 1356});
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.