1(function ($) { 2 var Assurone; 3 !(function (e) { 4 "use strict"; 5 "function" == typeof define && define.amd ? define(["jquery"], e) : "undefined" != typeof exports ? (module.exports = e(require("jquery"))) : e(jQuery); 6 })(function (e) { 7 "use strict"; 8 var i = window.Slick || {}; 9 ((i = (function () { 10 var i = 0; 11 return function (t, s) { 12 var o, 13 n = this; 14 (n.defaults = { 15 accessibility: !0, 16 adaptiveHeight: !1, 17 appendArrows: e(t), 18 appendDots: e(t), 19 arrows: !0, 20 asNavFor: null, 21 prevArrow: '<button class="slick-prev" aria-label="Previous" type="button">Previous</button>', 22 nextArrow: '<button class="slick-next" aria-label="Next" type="button">Next</button>', 23 autoplay: !1, 24 autoplaySpeed: 3e3, 25 centerMode: !1, 26 centerPadding: "50px", 27 cssEase: "ease", 28 customPaging: function (i, t) { 29 return e('<button type="button" />').text(t + 1); 30 }, 31 dots: !1, 32 dotsClass: "slick-dots", 33 draggable: !0, 34 easing: "linear", 35 edgeFriction: 0.35, 36 fade: !1, 37 focusOnSelect: !1, 38 focusOnChange: !1, 39 infinite: !0, 40 initialSlide: 0, 41 lazyLoad: "ondemand", 42 mobileFirst: !1, 43 pauseOnHover: !0, 44 pauseOnFocus: !0, 45 pauseOnDotsHover: !1, 46 respondTo: "window", 47 responsive: null, 48 rows: 1, 49 rtl: !1, 50 slide: "", 51 slidesPerRow: 1, 52 slidesToShow: 1, 53 slidesToScroll: 1, 54 speed: 500, 55 swipe: !0, 56 swipeToSlide: !1, 57 touchMove: !0, 58 touchThreshold: 5, 59 useCSS: !0, 60 useTransform: !0, 61 variableWidth: !1, 62 vertical: !1, 63 verticalSwiping: !1, 64 waitForAnimate: !0, 65 zIndex: 1e3, 66 }), 67 (n.initials = { 68 animating: !1, 69 dragging: !1, 70 autoPlayTimer: null, 71 currentDirection: 0, 72 currentLeft: null, 73 currentSlide: 0, 74 direction: 1, 75 $dots: null, 76 listWidth: null, 77 listHeight: null, 78 loadIndex: 0, 79 $nextArrow: null, 80 $prevArrow: null, 81 scrolling: !1, 82 slideCount: null, 83 slideWidth: null, 84 $slideTrack: null, 85 $slides: null, 86 sliding: !1, 87 slideOffset: 0, 88 swipeLeft: null, 89 swiping: !1, 90 $list: null, 91 touchObject: {}, 92 transformsEnabled: !1, 93 unslicked: !1, 94 }), 95 e.extend(n, n.initials), 96 (n.activeBreakpoint = null), 97 (n.animType = null), 98 (n.animProp = null), 99 (n.breakpoints = []), 100 (n.breakpointSettings = []), 101 (n.cssTransitions = !1), 102 (n.focussed = !1), 103 (n.interrupted = !1), 104 (n.hidden = "hidden"), 105 (n.paused = !0), 106 (n.positionProp = null),
107 (n.respondTo = null), 108 (n.rowCount = 1), 109 (n.shouldClick = !0), 110 (n.$slider = e(t)), 111 (n.$slidesCache = null), 112 (n.transformType = null), 113 (n.transitionType = null), 114 (n.visibilityChange = "visibilitychange"), 115 (n.windowWidth = 0), 116 (n.windowTimer = null), 117 (o = e(t).data("slick") || {}), 118 (n.options = e.extend({}, n.defaults, s, o)), 119 (n.currentSlide = n.options.initialSlide), 120 (n.originalSettings = n.options), 121 void 0 !== document.mozHidden ? ((n.hidden = "mozHidden"), (n.visibilityChange = "mozvisibilitychange")) : void 0 !== document.webkitHidden && ((n.hidden = "webkitHidden"), (n.visibilityChange = "webkitvisibilitychange")), 122 (n.autoPlay = e.proxy(n.autoPlay, n)), 123 (n.autoPlayClear = e.proxy(n.autoPlayClear, n)), 124 (n.autoPlayIterator = e.proxy(n.autoPlayIterator, n)), 125 (n.changeSlide = e.proxy(n.changeSlide, n)), 126 (n.clickHandler = e.proxy(n.clickHandler, n)), 127 (n.selectHandler = e.proxy(n.selectHandler, n)), 128 (n.setPosition = e.proxy(n.setPosition, n)), 129 (n.swipeHandler = e.proxy(n.swipeHandler, n)), 130 (n.dragHandler = e.proxy(n.dragHandler, n)), 131 (n.keyHandler = e.proxy(n.keyHandler, n)), 132 (n.instanceUid = i++), 133 (n.htmlExpr = /^(?:\s*(<[\w\W]+>)[^>]*)$/), 134 n.registerBreakpoints(), 135 n.init(!0); 136 }; 137 })()).prototype.activateADA = function () { 138 this.$slideTrack.find(".slick-active").attr({ "aria-hidden": "false" }).find("a, input, button, select").attr({ tabindex: "0" }); 139 }), 140 (i.prototype.addSlide = i.prototype.slickAdd = function (i, t, s) { 141 var o = this; 142 if ("boolean" == typeof t) (s = t), (t = null); 143 else if (t < 0 || t >= o.slideCount) return !1; 144 o.unload(), 145 "number" == typeof t ? 146 0 === t && 0 === o.$slides.length ? 147 e(i).appendTo(o.$slideTrack) : 148 s ? 149 e(i).insertBefore(o.$slides.eq(t)) : 150 e(i).insertAfter(o.$slides.eq(t)) : 151 !0 === s ? 152 e(i).prependTo(o.$slideTrack) : 153 e(i).appendTo(o.$slideTrack), 154 (o.$slides = o.$slideTrack.children(this.options.slide)), 155 o.$slideTrack.children(this.options.slide).detach(), 156 o.$slideTrack.append(o.$slides), 157 o.$slides.each(function (i, t) { 158 e(t).attr("data-slick-index", i); 159 }), 160 (o.$slidesCache = o.$slides), 161 o.reinit(); 162 }), 163 (i.prototype.animateHeight = function () { 164 var e = this; 165 if (1 === e.options.slidesToShow && !0 === e.options.adaptiveHeight && !1 === e.options.vertical) { 166 var i = e.$slides.eq(e.currentSlide).outerHeight(!0); 167 e.$list.animate({ height: i }, e.options.speed); 168 } 169 }), 170 (i.prototype.animateSlide = function (i, t) { 171 var s = {}, 172 o = this; 173 o.animateHeight(), !0 === o.options.rtl && !1 === o.options.vertical && (i = -i), !1 === o.transformsEnabled ? 174 !1 === o.options.vertical ? 175 o.$slideTrack.animate({ left: i }, o.options.speed, o.options.easing, t) : 176 o.$slideTrack.animate({ top: i }, o.options.speed, o.options.easing, t) : 177 !1 === o.cssTransitions ? 178 (!0 === o.options.rtl && (o.currentLeft = -o.currentLeft), 179 e({ animStart: o.currentLeft }).animate({ animStart: i }, { 180 duration: o.options.speed, 181 easing: o.options.easing, 182 step: function (e) {
183 (e = Math.ceil(e)), !1 === o.options.vertical ? ((s[o.animType] = "translate(" + e + "px, 0px)"), o.$slideTrack.css(s)) : ((s[o.animType] = "translate(0px," + e + "px)"), o.$slideTrack.css(s)); 184 }, 185 complete: function () { 186 t && t.call(); 187 }, 188 })) : 189 (o.applyTransition(), 190 (i = Math.ceil(i)), !1 === o.options.vertical ? (s[o.animType] = "translate3d(" + i + "px, 0px, 0px)") : (s[o.animType] = "translate3d(0px," + i + "px, 0px)"), 191 o.$slideTrack.css(s), 192 t && 193 setTimeout(function () { 194 o.disableTransition(), t.call(); 195 }, o.options.speed)); 196 }), 197 (i.prototype.getNavTarget = function () { 198 var i = this.options.asNavFor; 199 return i && null !== i && (i = e(i).not(this.$slider)), i; 200 }), 201 (i.prototype.asNavFor = function (i) { 202 var t = this.getNavTarget(); 203 null !== t && 204 "object" == typeof t && 205 t.each(function () { 206 var t = e(this).slick("getSlick"); 207 t.unslicked || t.slideHandler(i, !0); 208 }); 209 }), 210 (i.prototype.applyTransition = function (e) { 211 var i = this, 212 t = {}; 213 !1 === i.options.fade ? (t[i.transitionType] = i.transformType + " " + i.options.speed + "ms " + i.options.cssEase) : (t[i.transitionType] = "opacity " + i.options.speed + "ms " + i.options.cssEase), !1 === i.options.fade ? i.$slideTrack.css(t) : i.$slides.eq(e).css(t); 214 }), 215 (i.prototype.autoPlay = function () { 216 var e = this; 217 e.autoPlayClear(), e.slideCount > e.options.slidesToShow && (e.autoPlayTimer = setInterval(e.autoPlayIterator, e.options.autoplaySpeed)); 218 }), 219 (i.prototype.autoPlayClear = function () { 220 this.autoPlayTimer && clearInterval(this.autoPlayTimer); 221 }), 222 (i.prototype.autoPlayIterator = function () { 223 var e = this, 224 i = e.currentSlide + e.options.slidesToScroll; 225 e.paused || 226 e.interrupted || 227 e.focussed || 228 (!1 === e.options.infinite && 229 (1 === e.direction && e.currentSlide + 1 === e.slideCount - 1 ? (e.direction = 0) : 0 === e.direction && ((i = e.currentSlide - e.options.slidesToScroll), e.currentSlide - 1 == 0 && (e.direction = 1))), 230 e.slideHandler(i)); 231 }), 232 (i.prototype.buildArrows = function () { 233 var i = this; 234 !0 === i.options.arrows && 235 ((i.$prevArrow = e(i.options.prevArrow).addClass("slick-arrow")), 236 (i.$nextArrow = e(i.options.nextArrow).addClass("slick-arrow")), 237 i.slideCount > i.options.slidesToShow ? 238 (i.$prevArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"), 239 i.$nextArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"), 240 i.htmlExpr.test(i.options.prevArrow) && i.$prevArrow.prependTo(i.options.appendArrows), 241 i.htmlExpr.test(i.options.nextArrow) && i.$nextArrow.appendTo(i.options.appendArrows), !0 !== i.options.infinite && i.$prevArrow.addClass("slick-disabled").attr("aria-disabled", "true")) : 242 i.$prevArrow.add(i.$nextArrow).addClass("slick-hidden").attr({ "aria-disabled": "true", tabindex: "-1" })); 243 }), 244 (i.prototype.buildDots = function () { 245 var i, 246 t, 247 s = this; 248 if (!0 === s.options.dots && s.slideCount > s.options.slidesToShow) { 249 for (s.$slider.addClass("slick-dotted"), t = e("<ul />").addClass(s.options.dotsClass), i = 0; i <= s.getDotCount(); i += 1) t.append(e("<li />").append(s.options.customPaging.call(this, s, i))); 250 (s.$dots = t.appendTo(s.options.appendDots)), s.$dots.find("li").first().addClass("slick-active"); 251 } 252 }), 253 (i.prototype.buildOut = function () { 254 var i = this; 255 (i.$slides = i.$slider.children(i.options.slide + ":not(.slick-cloned)").addClass("slick-slide")), 256 (i.slideCount = i.$slides.length), 257 i.$slides.each(function (i, t) { 258 e(t) 259 .attr("data-slick-index", i) 260 .data("originalStyling", e(t).attr("style") || ""); 261 }), 262 i.$slider.addClass("slick-slider"), 263 (i.$slideTrack = 0 === i.slideCount ? e('<div class="slick-track"/>').appendTo(i.$slider) : i.$slides.wrapAll('<div class="slick-track"/>').parent()), 264 (i.$list = i.$slideTrack.wrap('<div class="slick-list"/>').parent()), 265 i.$slideTrack.css("opacity", 0), 266 (!0 !== i.options.centerMode && !0 !== i.options.swipeToSlide) || (i.options.slidesToScroll = 1), 267 e("img[data-lazy]", i.$slider).not("[src]").addClass("slick-loading"), 268 i.setupInfinite(), 269 i.buildArrows(), 270 i.buildDots(), 271 i.updateDots(), 272 i.setSlideClasses("number" == typeof i.currentSlide ? i.currentSlide : 0), !0 === i.options.draggable && i.$list.addClass("draggable"); 273 }), 274 (i.prototype.buildRows = function () { 275 var e, 276 i, 277 t, 278 s, 279 o, 280 n, 281 r, 282 a = this; 283 if (((s = document.createDocumentFragment()), (n = a.$slider.children()), a.options.rows > 0)) { 284 for (r = a.options.slidesPerRow * a.options.rows, o = Math.ceil(n.length / r), e = 0; e < o; e++) { 285 var l = document.createElement("div"); 286 for (i = 0; i < a.options.rows; i++) { 287 var d = document.createElement("div"); 288 for (t = 0; t < a.options.slidesPerRow; t++) { 289 var c = e * r + (i * a.options.slidesPerRow + t); 290 n.get(c) && d.appendChild(n.get(c)); 291 } 292 l.appendChild(d); 293 } 294 s.appendChild(l); 295 } 296 a.$slider.empty().append(s), 297 a.$slider 298 .children() 299 .children() 300 .children() 301 .css({ width: 100 / a.options.slidesPerRow + "%", display: "inline-block" }); 302 } 303 }), 304 (i.prototype.checkResponsive = function (i, t) { 305 var s, 306 o, 307 n, 308 r = this, 309 a = !1, 310 l = r.$slider.width(), 311 d = window.innerWidth || e(window).width(); 312 if (("window" === r.respondTo ? (n = d) : "slider" === r.respondTo ? (n = l) : "min" === r.respondTo && (n = Math.min(d, l)), r.options.responsive && r.options.responsive.length && null !== r.options.responsive)) { 313 for (s in ((o = null), r.breakpoints)) r.breakpoints.hasOwnProperty(s) && (!1 === r.originalSettings.mobileFirst ? n < r.breakpoints[s] && (o = r.breakpoints[s]) : n >
313 r.breakpoints[s] && (o = r.breakpoints[s])); 314 null !== o ? 315 null !== r.activeBreakpoint ? 316 (o !== r.activeBreakpoint || t) && 317 ((r.activeBreakpoint = o), 318 "unslick" === r.breakpointSettings[o] ? r.unslick(o) : ((r.options = e.extend({}, r.originalSettings, r.breakpointSettings[o])), !0 === i && (r.currentSlide = r.options.initialSlide), r.refresh(i)), 319 (a = o)) : 320 ((r.activeBreakpoint = o), 321 "unslick" === r.breakpointSettings[o] ? r.unslick(o) : ((r.options = e.extend({}, r.originalSettings, r.breakpointSettings[o])), !0 === i && (r.currentSlide = r.options.initialSlide), r.refresh(i)), 322 (a = o)) : 323 null !== r.activeBreakpoint && ((r.activeBreakpoint = null), (r.options = r.originalSettings), !0 === i && (r.currentSlide = r.options.initialSlide), r.refresh(i), (a = o)), 324 i || !1 === a || r.$slider.trigger("breakpoint", [r, a]); 325 } 326 }), 327 (i.prototype.changeSlide = function (i, t) { 328 var s, 329 o, 330 n = this, 331 r = e(i.currentTarget); 332 switch ((r.is("a") && i.preventDefault(), r.is("li") || (r = r.closest("li")), (s = n.slideCount % n.options.slidesToScroll != 0 ? 0 : (n.slideCount - n.currentSlide) % n.options.slidesToScroll), i.data.message)) { 333 case "previous": 334 (o = 0 === s ? n.options.slidesToScroll : n.options.slidesToShow - s), n.slideCount > n.options.slidesToShow && n.slideHandler(n.currentSlide - o, !1, t); 335 break; 336 case "next": 337 (o = 0 === s ? n.options.slidesToScroll : s), n.slideCount > n.options.slidesToShow && n.slideHandler(n.currentSlide + o, !1, t); 338 break; 339 case "index": 340 var a = 0 === i.data.index ? 0 : i.data.index || r.index() * n.options.slidesToScroll; 341 n.slideHandler(n.checkNavigable(a), !1, t), r.children().trigger("focus"); 342 break; 343 default: 344 return; 345 } 346 }), 347 (i.prototype.checkNavigable = function (e) { 348 var i, t; 349 if (((t = 0), e > (i = this.getNavigableIndexes())[i.length - 1])) e = i[i.length - 1]; 350 else 351 for (var s in i) { 352 if (e < i[s]) { 353 e = t; 354 break; 355 } 356 t = i[s]; 357 } 358 return e; 359 }), 360 (i.prototype.cleanUpEvents = function () { 361 var i = this; 362 i.options.dots && 363 null !== i.$dots && 364 (e("li", i.$dots).off("click.slick", i.changeSlide).off("mouseenter.slick", e.proxy(i.interrupt, i, !0)).off("mouseleave.slick", e.proxy(i.interrupt, i, !1)), !0 === i.options.accessibility && i.$dots.off("keydown.slick", i.keyHandler)), 365 i.$slider.off("focus.slick blur.slick"), !0 === i.options.arrows && 366 i.slideCount > i.options.slidesToShow && 367 (i.$prevArrow && i.$prevArrow.off("click.slick", i.changeSlide), 368 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))), 369 i.$list.off("touchstart.slick mousedown.slick", i.swipeHandler), 370 i.$list.off("touchmove.slick mousemove.slick", i.swipeHandler), 371 i.$list.off("touchend.slick mouseup.slick", i.swipeHandler),
372 i.$list.off("touchcancel.slick mouseleave.slick", i.swipeHandler), 373 i.$list.off("click.slick", i.clickHandler), 374 e(document).off(i.visibilityChange, i.visibility), 375 i.cleanUpSlideEvents(), !0 === i.options.accessibility && i.$list.off("keydown.slick", i.keyHandler), !0 === i.options.focusOnSelect && e(i.$slideTrack).children().off("click.slick", i.selectHandler), 376 e(window).off("orientationchange.slick.slick-" + i.instanceUid, i.orientationChange), 377 e(window).off("resize.slick.slick-" + i.instanceUid, i.resize), 378 e("[draggable!=true]", i.$slideTrack).off("dragstart", i.preventDefault), 379 e(window).off("load.slick.slick-" + i.instanceUid, i.setPosition); 380 }), 381 (i.prototype.cleanUpSlideEvents = function () { 382 var i = this; 383 i.$list.off("mouseenter.slick", e.proxy(i.interrupt, i, !0)), i.$list.off("mouseleave.slick", e.proxy(i.interrupt, i, !1)); 384 }), 385 (i.prototype.cleanUpRows = function () { 386 var e, 387 i = this; 388 i.options.rows > 0 && ((e = i.$slides.children().children()).removeAttr("style"), i.$slider.empty().append(e)); 389 }), 390 (i.prototype.clickHandler = function (e) { 391 !1 === this.shouldClick && (e.stopImmediatePropagation(), e.stopPropagation(), e.preventDefault()); 392 }), 393 (i.prototype.destroy = function (i) { 394 var t = this; 395 t.autoPlayClear(), 396 (t.touchObject = {}), 397 t.cleanUpEvents(), 398 e(".slick-cloned", t.$slider).detach(), 399 t.$dots && t.$dots.remove(), 400 t.$prevArrow && 401 t.$prevArrow.length && 402 (t.$prevArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display", ""), t.htmlExpr.test(t.options.prevArrow) && t.$prevArrow.remove()), 403 t.$nextArrow && 404 t.$nextArrow.length && 405 (t.$nextArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display", ""), t.htmlExpr.test(t.options.nextArrow) && t.$nextArrow.remove()), 406 t.$slides && 407 (t.$slides 408 .removeClass("slick-slide slick-active slick-center slick-visible slick-current") 409 .removeAttr("aria-hidden") 410 .removeAttr("data-slick-index") 411 .each(function () { 412 e(this).attr("style", e(this).data("originalStyling")); 413 }), 414 t.$slideTrack.children(this.options.slide).detach(), 415 t.$slideTrack.detach(), 416 t.$list.detach(), 417 t.$slider.append(t.$slides)), 418 t.cleanUpRows(), 419 t.$slider.removeClass("slick-slider"), 420 t.$slider.removeClass("slick-initialized"), 421 t.$slider.removeClass("slick-dotted"), 422 (t.unslicked = !0), 423 i || t.$slider.trigger("destroy", [t]); 424 }), 425 (i.prototype.disableTransition = function (e) { 426 var i = this, 427 t = {}; 428 (t[i.transitionType] = ""), !1 === i.options.fade ? i.$slideTrack.css(t) : i.$slides.eq(e).css(t); 429 }), 430 (i.prototype.fadeSlide = function (e, i) { 431 var t = this; 432 !1 === t.cssTransitions ? 433 (t.$slides.eq(e).css({ zIndex: t.options.zIndex }), t.$slides.eq(e).animate({ opacity: 1 }, t.options.speed, t.options.easing, i)) : 434 (t.applyTransition(e), 435 t.$slides.eq(e).css({ opacity: 1, zIndex: t.options.zIndex }), 436 i && 437 setTimeout(function () { 438 t.disableTransition(e), i.call(); 439 }, t.options.speed)); 440 }), 441 (i.prototype.fadeSlideOut = function (e) { 442 var i = this; 443 !1 === i.cssTransitions ? i.$slides.eq(e).animate({ opacity: 0, zIndex: i.options.zIndex - 2 }, i.options.speed, i.options.easing) : (i.applyTransition(e), i.$slides.eq(e).css({ opacity: 0, zIndex: i.options.zIndex - 2 })); 444 }),
445 (i.prototype.filterSlides = i.prototype.slickFilter = function (e) { 446 var i = this; 447 null !== e && ((i.$slidesCache = i.$slides), i.unload(), i.$slideTrack.children(this.options.slide).detach(), i.$slidesCache.filter(e).appendTo(i.$slideTrack), i.reinit()); 448 }), 449 (i.prototype.focusHandler = function () { 450 var i = this; 451 i.$slider 452 .off("focus.slick blur.slick") 453 .on("focus.slick", "*", function (t) { 454 var s = e(this); 455 setTimeout(function () { 456 i.options.pauseOnFocus && s.is(":focus") && ((i.focussed = !0), i.autoPlay()); 457 }, 0); 458 }) 459 .on("blur.slick", "*", function (t) { 460 e(this), i.options.pauseOnFocus && ((i.focussed = !1), i.autoPlay()); 461 }); 462 }), 463 (i.prototype.getCurrent = i.prototype.slickCurrentSlide = function () { 464 return this.currentSlide; 465 }), 466 (i.prototype.getDotCount = function () { 467 var e = this, 468 i = 0, 469 t = 0, 470 s = 0; 471 if (!0 === e.options.infinite) 472 if (e.slideCount <= e.options.slidesToShow) ++s; 473 else 474 for (; i < e.slideCount;) ++s, (i = t + e.options.slidesToScroll), (t += e.options.slidesToScroll <= e.options.slidesToShow ? e.options.slidesToScroll : e.options.slidesToShow); 475 else if (!0 === e.options.centerMode) s = e.slideCount; 476 else if (e.options.asNavFor) 477 for (; i < e.slideCount;) ++s, (i = t + e.options.slidesToScroll), (t += e.options.slidesToScroll <= e.options.slidesToShow ? e.options.slidesToScroll : e.options.slidesToShow); 478 else s = 1 + Math.ceil((e.slideCount - e.options.slidesToShow) / e.options.slidesToScroll); 479 return s - 1; 480 }), 481 (i.prototype.getLeft = function (e) { 482 var i, 483 t, 484 s, 485 o, 486 n = this, 487 r = 0; 488 return ( 489 (n.slideOffset = 0), 490 (t = n.$slides.first().outerHeight(!0)), !0 === n.options.infinite ? 491 (n.slideCount > n.options.slidesToShow && 492 ((n.slideOffset = n.slideWidth * n.options.slidesToShow * -1), 493 (o = -1), !0 === n.options.vertical && !0 === n.options.centerMode && (2 === n.options.slidesToShow ? (o = -1.5) : 1 === n.options.slidesToShow && (o = -2)), 494 (r = t * n.options.slidesToShow * o)), 495 n.slideCount % n.options.slidesToScroll != 0 && 496 e + n.options.slidesToScroll > n.slideCount && 497 n.slideCount > n.options.slidesToShow && 498 (e > n.slideCount ? 499 ((n.slideOffset = (n.options.slidesToShow - (e - n.slideCount)) * n.slideWidth * -1), (r = (n.options.slidesToShow - (e - n.slideCount)) * t * -1)) : 500 ((n.slideOffset = (n.slideCount % n.options.slidesToScroll) * n.slideWidth * -1), (r = (n.slideCount % n.options.slidesToScroll) * t * -1)))) : 501 e + n.options.slidesToShow > n.slideCount && ((n.slideOffset = (e + n.options.slidesToShow - n.slideCount) * n.slideWidth), (r = (e + n.options.slidesToShow - n.slideCount) * t)), 502 n.slideCount <= n.options.slidesToShow && ((n.slideOffset = 0), (r = 0)), !0 === n.options.centerMode && n.slideCount <= n.options.slidesToShow ? 503 (n.slideOffset = (n.slideWidth * Math.floor(n.options.slidesToShow)) / 2 - (n.slideWidth * n.slideCount) / 2) : 504 !0 === n.options.centerMode && !0 === n.options.infinite ? 505 (n.slideOffset += n.slideWidth * Math.floor(n.options.slidesToShow / 2) - n.slideWidth) : 506 !0 === n.options.centerMode && ((n.slideOffset = 0), (n.slideOffset += n.slideWidth * Math.floor(n.options.slidesToShow / 2))), 507 (i = !1 === n.options.vertical ? e * n.slideWidth * -1 + n.slideOffset : e * t * -1 + r), !0 === n.options.variableWidth && 508 ((s = n.slideCount <= n.options.slidesToShow || !1 === n.options.infinite ? n.$slideTrack.children(".slick-slide").eq(e) : n.$slideTrack.children(".slick-slide").eq(e + n.options.slidesToShow)), 509 (i = !0 === n.options.rtl ? (s[0] ? -1 * (n.$slideTrack.width() - s[0].offsetLeft - s.width()) : 0) : s[0] ? -1 * s[0].offsetLeft : 0), !0 === n.options.centerMode && 510 ((s = n.slideCount <= n.options.slidesToShow || !1 === n.options.infinite ? n.$slideTrack.children(".slick-slide").eq(e) : n.$slideTrack.children(".slick-slide").eq(e + n.options.slidesToShow + 1)), 511 (i = !0 === n.options.rtl ? (s[0] ? -1 * (n.$slideTrack.width() - s[0].offsetLeft - s.width()) : 0) : s[0] ? -1 * s[0].offsetLeft : 0), 512 (i += (n.$list.width() - s.outerWidth()) / 2))), 513 i 514 ); 515 }), 516 (i.prototype.getOption = i.prototype.slickGetOption = function (e) { 517 return this.options[e]; 518 }), 519 (i.prototype.getNavigableIndexes = function () { 520 var e, 521 i = this, 522 t = 0, 523 s = 0, 524 o = []; 525 for (!1 === i.options.infinite ? (e = i.slideCount) : ((t = -1 * i.options.slidesToScroll), (s = -1 * i.options.slidesToScroll), (e = 2 * i.slideCount)); t < e;) 526 o.push(t), (t = s + i.options.slidesToScroll), (s += i.options.slidesToScroll <= i.options.slidesToShow ? i.options.slidesToScroll : i.options.slidesToShow); 527 return o; 528 }), 529 (i.prototype.getSlick = function () { 530 return this; 531 }), 532 (i.prototype.getSlideCount = function () { 533 var i, 534 t, 535 s, 536 o = this; 537 return ( 538 (s = !0 === o.options.centerMode ? Math.floor(o.$list.width() / 2) : 0), 539 (t = -1 * o.swipeLeft + s), !0 === o.options.swipeToSlide ? 540 (o.$slideTrack.find(".slick-slide").each(function (s, n) { 541 var r, a; 542 if (((r = e(n).outerWidth()), (a = n.offsetLeft), !0 !== o.options.centerMode && (a += r / 2), t < a + r)) return (i = n), !1; 543 }), 544 Math.abs(e(i).attr("data-slick-index") - o.currentSlide) || 1) : 545 o.options.slidesToScroll 546 ); 547 }), 548 (i.prototype.goTo = i.prototype.slickGoTo = function (e, i) { 549 this.changeSlide({ data: { message: "index", index: parseInt(e) } }, i); 550 }), 551 (i.prototype.init = function (i) { 552 var t = this; 553 e(t.$slider).hasClass("slick-initialized") || 554 (e(t.$slider).addClass("slick-initialized"), t.buildRows(), t.buildOut(), t.setProps(), t.startLoad(), t.loadSlider(), t.initializeEvents(), t.updateArrows(), t.updateDots(), t.checkResponsive(!0), t.focusHandler()), 555 i && t.$slider.trigger("init", [t]), !0 === t.options.accessibility && t.initADA(), 556 t.options.autoplay && ((t.paused = !1), t.autoPlay()); 557 }), 558 (i.prototype.initADA = function () { 559 var i = this,
560 t = Math.ceil(i.slideCount / i.options.slidesToShow), 561 s = i.getNavigableIndexes().filter(function (e) { 562 return e >= 0 && e < i.slideCount; 563 }); 564 i.$slides.add(i.$slideTrack.find(".slick-cloned")).attr({ "aria-hidden": "true", tabindex: "-1" }).find("a, input, button, select").attr({ tabindex: "-1" }), 565 null !== i.$dots && 566 (i.$slides.not(i.$slideTrack.find(".slick-cloned")).each(function (t) { 567 var o = s.indexOf(t); 568 if ((e(this).attr({ role: "tabpanel", id: "slick-slide" + i.instanceUid + t, tabindex: -1 }), -1 !== o)) { 569 var n = "slick-slide-control" + i.instanceUid + o; 570 e("#" + n).length && e(this).attr({ "aria-describedby": n }); 571 } 572 }), 573 i.$dots 574 .attr("role", "tablist") 575 .find("li") 576 .each(function (o) { 577 var n = s[o]; 578 e(this).attr({ role: "presentation" }), 579 e(this) 580 .find("button") 581 .first() 582 .attr({ role: "tab", id: "slick-slide-control" + i.instanceUid + o, "aria-controls": "slick-slide" + i.instanceUid + n, "aria-label": o + 1 + " of " + t, "aria-selected": null, tabindex: "-1" }); 583 }) 584 .eq(i.currentSlide) 585 .find("button") 586 .attr({ "aria-selected": "true", tabindex: "0" }) 587 .end()); 588 for (var o = i.currentSlide, n = o + i.options.slidesToShow; o < n; o++) i.options.focusOnChange ? i.$slides.eq(o).attr({ tabindex: "0" }) : i.$slides.eq(o).removeAttr("tabindex"); 589 i.activateADA(); 590 }), 591 (i.prototype.initArrowEvents = function () { 592 var e = this; 593 !0 === e.options.arrows && 594 e.slideCount > e.options.slidesToShow && 595 (e.$prevArrow.off("click.slick").on("click.slick", { message: "previous" }, e.changeSlide), 596 e.$nextArrow.off("click.slick").on("click.slick", { message: "next" }, e.changeSlide), !0 === e.options.accessibility && (e.$prevArrow.on("keydown.slick", e.keyHandler), e.$nextArrow.on("keydown.slick", e.keyHandler))); 597 }), 598 (i.prototype.initDotEvents = function () { 599 var i = this; 600 !0 === i.options.dots && i.slideCount > i.options.slidesToShow && (e("li", i.$dots).on("click.slick", { message: "index" }, 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 && e("li", i.$dots).on("mouseenter.slick", e.proxy(i.interrupt, i, !0)).on("mouseleave.slick", e.proxy(i.interrupt, i, !1)); 601 }), 602 (i.prototype.initSlideEvents = function () { 603 var i = this; 604 i.options.pauseOnHover && (i.$list.on("mouseenter.slick", e.proxy(i.interrupt, i, !0)), i.$list.on("mouseleave.slick", e.proxy(i.interrupt, i, !1))); 605 }), 606 (i.prototype.initializeEvents = function () { 607 var i = this; 608 i.initArrowEvents(), 609 i.initDotEvents(), 610 i.initSlideEvents(), 611 i.$list.on("touchstart.slick mousedown.slick", { action: "start" }, i.swipeHandler), 612 i.$list.on("touchmove.slick mousemove.slick", { action: "move" }, i.swipeHandler), 613 i.$list.on("touchend.slick mouseup.slick", { action: "end" }, i.swipeHandler),
614 i.$list.on("touchcancel.slick mouseleave.slick", { action: "end" }, i.swipeHandler), 615 i.$list.on("click.slick", i.clickHandler), 616 e(document).on(i.visibilityChange, e.proxy(i.visibility, i)), !0 === i.options.accessibility && i.$list.on("keydown.slick", i.keyHandler), !0 === i.options.focusOnSelect && e(i.$slideTrack).children().on("click.slick", i.selectHandler), 617 e(window).on("orientationchange.slick.slick-" + i.instanceUid, e.proxy(i.orientationChange, i)), 618 e(window).on("resize.slick.slick-" + i.instanceUid, e.proxy(i.resize, i)), 619 e("[draggable!=true]", i.$slideTrack).on("dragstart", i.preventDefault), 620 e(window).on("load.slick.slick-" + i.instanceUid, i.setPosition), 621 e(i.setPosition); 622 }), 623 (i.prototype.initUI = function () { 624 var e = this; 625 !0 === e.options.arrows && e.slideCount > e.options.slidesToShow && (e.$prevArrow.show(), e.$nextArrow.show()), !0 === e.options.dots && e.slideCount > e.options.slidesToShow && e.$dots.show(); 626 }), 627 (i.prototype.keyHandler = function (e) { 628 var i = this; 629 e.target.tagName.match("TEXTAREA|INPUT|SELECT") || 630 (37 === e.keyCode && !0 === i.options.accessibility ? 631 i.changeSlide({ data: { message: !0 === i.options.rtl ? "next" : "previous" } }) : 632 39 === e.keyCode && !0 === i.options.accessibility && i.changeSlide({ data: { message: !0 === i.options.rtl ? "previous" : "next" } })); 633 }), 634 (i.prototype.lazyLoad = function () { 635 function i(i) { 636 e("img[data-lazy]", i).each(function () { 637 var i = e(this), 638 t = e(this).attr("data-lazy"), 639 s = e(this).attr("data-srcset"), 640 o = e(this).attr("data-sizes") || n.$slider.attr("data-sizes"), 641 r = document.createElement("img"); 642 (r.onload = function () { 643 i.animate({ opacity: 0 }, 100, function () { 644 s && (i.attr("srcset", s), o && i.attr("sizes", o)), 645 i.attr("src", t).animate({ opacity: 1 }, 200, function () { 646 i.removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading"); 647 }), 648 n.$slider.trigger("lazyLoaded", [n, i, t]); 649 }); 650 }), 651 (r.onerror = function () { 652 i.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"), n.$slider.trigger("lazyLoadError", [n, i, t]); 653 }), 654 (r.src = t); 655 }); 656 } 657 var t, 658 s, 659 o, 660 n = this; 661 if ( 662 (!0 === n.options.centerMode ? 663 !0 === n.options.infinite ? 664 (o = (s = n.currentSlide + (n.options.slidesToShow / 2 + 1)) + n.options.slidesToShow + 2) : 665 ((s = Math.max(0, n.currentSlide - (n.options.slidesToShow / 2 + 1))), (o = n.options.slidesToShow / 2 + 1 + 2 + n.currentSlide)) : 666 ((s = n.options.infinite ? n.options.slidesToShow + n.currentSlide : n.currentSlide), (o = Math.ceil(s + n.options.slidesToShow)), !0 === n.options.fade && (s > 0 && s--, o <= n.slideCount && o++)), 667 (t = n.$slider.find(".slick-slide").slice(s, o)), 668 "anticipated" === n.options.lazyLoad) 669 ) 670 for (var r = s - 1, a = o, l = n.$slider.find(".slick-slide"), d = 0; d < n.options.slidesToScroll; d++) r < 0 && (r = n.slideCount - 1), (t = (t = t.add(l.eq(r))).add(l.eq(a))), r--, a++; 671 i(t), 672 n.slideCount <= n.options.slidesToShow ? 673 i(n.$slider.find(".slick-slide")) : 674 n.currentSlide >= n.slideCount - n.options.slidesToShow ? 675 i(n.$slider.find(".slick-cloned").slice(0, n.options.slidesToShow)) : 676 0 === n.currentSlide && i(n.$slider.find(".slick-cloned").slice(-1 * n.options.slidesToShow)); 677 }), 678 (i.prototype.loadSlider = function () { 679 var e = this; 680 e.setPosition(), e.$slideTrack.css({ opacity: 1 }), e.$slider.removeClass("slick-loading"), e.initUI(), "progressive" === e.options.lazyLoad && e.progressiveLazyLoad(); 681 }), 682 (i.prototype.next = i.prototype.slickNext = function () { 683 this.changeSlide({ data: { message: "next" } }); 684 }), 685 (i.prototype.orientationChange = function () { 686 this.checkResponsive(), this.setPosition(); 687 }), 688 (i.prototype.pause = i.prototype.slickPause = function () { 689 this.autoPlayClear(), (this.paused = !0); 690 }), 691 (i.prototype.play = i.prototype.slickPlay = function () { 692 var e = this; 693 e.autoPlay(), (e.options.autoplay = !0), (e.paused = !1), (e.focussed = !1), (e.interrupted = !1); 694 }), 695 (i.prototype.postSlide = function (i) { 696 var t = this; 697 !t.unslicked && 698 (t.$slider.trigger("afterChange", [t, i]), 699 (t.animating = !1), 700 t.slideCount > t.options.slidesToShow && t.setPosition(), 701 (t.swipeLeft = null),
702 t.options.autoplay && t.autoPlay(), !0 === t.options.accessibility && (t.initADA(), t.options.focusOnChange)) && 703 e(t.$slides.get(t.currentSlide)).attr("tabindex", 0).focus(); 704 }), 705 (i.prototype.prev = i.prototype.slickPrev = function () { 706 this.changeSlide({ data: { message: "previous" } }); 707 }), 708 (i.prototype.preventDefault = function (e) { 709 e.preventDefault(); 710 }), 711 (i.prototype.progressiveLazyLoad = function (i) { 712 i = i || 1; 713 var t, 714 s, 715 o, 716 n, 717 r, 718 a = this, 719 l = e("img[data-lazy]", a.$slider); 720 l.length ? 721 ((t = l.first()), 722 (s = t.attr("data-lazy")), 723 (o = t.attr("data-srcset")), 724 (n = t.attr("data-sizes") || a.$slider.attr("data-sizes")), 725 ((r = document.createElement("img")).onload = function () { 726 o && (t.attr("srcset", o), n && t.attr("sizes", n)), 727 t.attr("src", s).removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading"), !0 === a.options.adaptiveHeight && a.setPosition(), 728 a.$slider.trigger("lazyLoaded", [a, t, s]), 729 a.progressiveLazyLoad(); 730 }), 731 (r.onerror = function () { 732 i < 3 ? 733 setTimeout(function () { 734 a.progressiveLazyLoad(i + 1); 735 }, 500) : 736 (t.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"), a.$slider.trigger("lazyLoadError", [a, t, s]), a.progressiveLazyLoad()); 737 }), 738 (r.src = s)) : 739 a.$slider.trigger("allImagesLoaded", [a]); 740 }), 741 (i.prototype.refresh = function (i) { 742 var t, 743 s, 744 o = this; 745 (s = o.slideCount - o.options.slidesToShow), !o.options.infinite && o.currentSlide > s && (o.currentSlide = s), 746 o.slideCount <= o.options.slidesToShow && (o.currentSlide = 0), 747 (t = o.currentSlide), 748 o.destroy(!0), 749 e.extend(o, o.initials, { currentSlide: t }), 750 o.init(), 751 i || o.changeSlide({ data: { message: "index", index: t } }, !1); 752 }), 753 (i.prototype.registerBreakpoints = function () { 754 var i, 755 t, 756 s, 757 o = this, 758 n = o.options.responsive || null; 759 if ("array" === e.type(n) && n.length) { 760 for (i in ((o.respondTo = o.options.respondTo || "window"), n)) 761 if (((s = o.breakpoints.length - 1), n.hasOwnProperty(i))) { 762 for (t = n[i].breakpoint; s >= 0;) o.breakpoints[s] && o.breakpoints[s] === t && o.breakpoints.splice(s, 1), s--; 763 o.breakpoints.push(t), (o.breakpointSettings[t] = n[i].settings); 764 } 765 o.breakpoints.sort(function (e, i) { 766 return o.options.mobileFirst ? e - i : i - e; 767 }); 768 } 769 }), 770 (i.prototype.reinit = function () { 771 var i = this; 772 (i.$slides = i.$slideTrack.children(i.options.slide).addClass("slick-slide")), 773 (i.slideCount = i.$slides.length), 774 i.currentSlide >= i.slideCount && 0 !== i.currentSlide && (i.currentSlide = i.currentSlide - i.options.slidesToScroll), 775 i.slideCount <= i.options.slidesToShow && (i.currentSlide = 0), 776 i.registerBreakpoints(), 777 i.setProps(), 778 i.setupInfinite(), 779 i.buildArrows(), 780 i.updateArrows(), 781 i.initArrowEvents(), 782 i.buildDots(), 783 i.updateDots(), 784 i.initDotEvents(), 785 i.cleanUpSlideEvents(), 786 i.initSlideEvents(), 787 i.checkResponsive(!1, !0), !0 === i.options.focusOnSelect && e(i.$slideTrack).children().on("click.slick", i.selectHandler), 788 i.setSlideClasses("number" == typeof i.currentSlide ? i.currentSlide : 0), 789 i.setPosition(), 790 i.focusHandler(), 791 (i.paused = !i.options.autoplay), 792 i.autoPlay(), 793 i.$slider.trigger("reInit", [i]); 794 }), 795 (i.prototype.resize = function () { 796 var i = this; 797 e(window).width() !== i.windowWidth && 798 (clearTimeout(i.windowDelay), 799 (i.windowDelay = window.setTimeout(function () { 800 (i.windowWidth = e(window).width()), i.checkResponsive(), i.unslicked || i.setPosition(); 801 }, 50))); 802 }), 803 (i.prototype.removeSlide = i.prototype.slickRemove = function (e, i, t) { 804 var s = this; 805 return ( 806 "boolean" == typeof e ? (e = !0 === (i = e) ? 0 : s.slideCount - 1) : (e = !0 === i ? --e : e), !(s.slideCount < 1 || e < 0 || e > s.slideCount - 1) && 807 (s.unload(), !0 === t ? s.$slideTrack.children().remove() : s.$slideTrack.children(this.options.slide).eq(e).remove(), 808 (s.$slides = s.$slideTrack.children(this.options.slide)), 809 s.$slideTrack.children(this.options.slide).detach(), 810 s.$slideTrack.append(s.$slides), 811 (s.$slidesCache = s.$slides), 812 void s.reinit()) 813 ); 814 }), 815 (i.prototype.setCSS = function (e) { 816 var i, 817 t, 818 s = this, 819 o = {}; 820 !0 === s.options.rtl && (e = -e), 821 (i = "left" == s.positionProp ? Math.ceil(e) + "px" : "0px"), 822 (t = "top" == s.positionProp ? Math.ceil(e) + "px" : "0px"), 823 (o[s.positionProp] = e), !1 === s.transformsEnabled ? 824 s.$slideTrack.css(o) : 825 ((o = {}), !1 === s.cssTransitions ? ((o[s.animType] = "translate(" + i + ", " + t + ")"), s.$slideTrack.css(o)) : ((o[s.animType] = "translate3d(" + i + ", " + t + ", 0px)"), s.$slideTrack.css(o))); 826 }), 827 (i.prototype.setDimensions = function () { 828 var e = this; 829 !1 === e.options.vertical ? 830 !0 === e.options.centerMode && e.$list.css({ padding: "0px " + e.options.centerPadding }) : 831 (e.$list.height(e.$slides.first().outerHeight(!0) * e.options.slidesToShow), !0 === e.options.centerMode && e.$list.css({ padding: e.options.centerPadding + " 0px" })), 832 (e.listWidth = e.$list.width()), 833 (e.listHeight = e.$list.height()), !1 === e.options.vertical && !1 === e.options.variableWidth ? 834 ((e.slideWidth = Math.ceil(e.listWidth / e.options.slidesToShow)), e.$slideTrack.width(Math.ceil(e.slideWidth * e.$slideTrack.children(".slick-slide").length))) : 835 !0 === e.options.variableWidth ? 836 e.$slideTrack.width(5e3 * e.slideCount) : 837 ((e.slideWidth = Math.ceil(e.listWidth)), e.$slideTrack.height(Math.ceil(e.$slides.first().outerHeight(!0) * e.$slideTrack.children(".slick-slide").length))); 838 var i = e.$slides.first().outerWidth(!0) - e.$slides.first().width(); 839 !1 === e.options.variableWidth && e.$slideTrack.children(".slick-slide").width(e.slideWidth - i); 840 }), 841 (i.prototype.setFade = function () { 842 var i, 843 t = this; 844 t.$slides.each(function (s, o) { 845 (i = t.slideWidth * s * -1), !0 === t.options.rtl ? e(o).css({ position: "relative", right: i, top: 0, zIndex: t.options.zIndex - 2, opacity: 0 }) : e(o).css({ position: "relative", left: i, top: 0, zIndex: t.options.zIndex - 2, opacity: 0 }); 846 }), 847 t.$slides.eq(t.currentSlide).css({ zIndex: t.options.zIndex - 1, opacity: 1 }); 848 }), 849 (i.prototype.setHeight = function () { 850 var e = this; 851 if (1 === e.options.slidesToShow && !0 === e.options.adaptiveHeight && !1 === e.options.vertical) { 852 var i = e.$slides.eq(e.currentSlide).outerHeight(!0); 853 e.$list.css("height", i); 854 } 855 }), 856 (i.prototype.setOption = i.prototype.slickSetOption = function () { 857 var i, 858 t, 859 s, 860 o, 861 n, 862 r = this, 863 a = !1; 864 if ( 865 ("object" === e.type(arguments[0]) ? 866 ((s = arguments[0]), (a = arguments[1]), (n = "multiple")) : 867 "string" === e.type(arguments[0]) && 868 ((s = arguments[0]), (o = arguments[1]), (a = arguments[2]), "responsive" === arguments[0] && "array" === e.type(arguments[1]) ? (n = "responsive") : void 0 !== arguments[1] && (n = "single")), 869 "single" === n) 870 ) 871 r.options[s] = o; 872 else if ("multiple" === n) 873 e.each(s, function (e, i) { 874 r.options[e] = i; 875 }); 876 else if ("responsive" === n) 877 for (t in o) 878 if ("array" !== e.type(r.options.responsive)) r.options.responsive = [o[t]]; 879 else { 880 for (i = r.options.responsive.length - 1; i >= 0;) r.options.responsive[i].breakpoint === o[t].breakpoint && r.options.responsive.splice(i, 1), i--; 881 r.options.responsive.push(o[t]); 882 } 883 a && (r.unload(), r.reinit()); 884 }), 885 (i.prototype.setPosition = function () { 886 var e = this; 887 e.setDimensions(), e.setHeight(), !1 === e.options.fade ? e.setCSS(e.getLeft(e.currentSlide)) : e.setFade(), e.$slider.trigger("setPosition", [e]); 888 }), 889 (i.prototype.setProps = function () { 890 var e = this, 891 i = document.body.style; 892 (e.positionProp = !0 === e.options.vertical ? "top" : "left"), 893 "top" === e.positionProp ? e.$slider.addClass("slick-vertical") : e.$slider.removeClass("slick-vertical"), 894 (void 0 === i.WebkitTransition && void 0 === i.MozTransition && void 0 === i.msTransition) || (!0 === e.options.useCSS && (e.cssTransitions = !0)),
895 e.options.fade && ("number" == typeof e.options.zIndex ? e.options.zIndex < 3 && (e.options.zIndex = 3) : (e.options.zIndex = e.defaults.zIndex)), 896 void 0 !== i.OTransform && ((e.animType = "OTransform"), (e.transformType = "-o-transform"), (e.transitionType = "OTransition"), void 0 === i.perspectiveProperty && void 0 === i.webkitPerspective && (e.animType = !1)), 897 void 0 !== i.MozTransform && ((e.animType = "MozTransform"), (e.transformType = "-moz-transform"), (e.transitionType = "MozTransition"), void 0 === i.perspectiveProperty && void 0 === i.MozPerspective && (e.animType = !1)), 898 void 0 !== i.webkitTransform && 899 ((e.animType = "webkitTransform"), (e.transformType = "-webkit-transform"), (e.transitionType = "webkitTransition"), void 0 === i.perspectiveProperty && void 0 === i.webkitPerspective && (e.animType = !1)), 900 void 0 !== i.msTransform && ((e.animType = "msTransform"), (e.transformType = "-ms-transform"), (e.transitionType = "msTransition"), void 0 === i.msTransform && (e.animType = !1)), 901 void 0 !== i.transform && !1 !== e.animType && ((e.animType = "transform"), (e.transformType = "transform"), (e.transitionType = "transition")), 902 (e.transformsEnabled = e.options.useTransform && null !== e.animType && !1 !== e.animType); 903 }), 904 (i.prototype.setSlideClasses = function (e) { 905 var i, 906 t, 907 s, 908 o, 909 n = this; 910 if (((t = n.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden", "true")), n.$slides.eq(e).addClass("slick-current"), !0 === n.options.centerMode)) { 911 var r = n.options.slidesToShow % 2 == 0 ? 1 : 0; 912 (i = Math.floor(n.options.slidesToShow / 2)), !0 === n.options.infinite && 913 (e >= i && e <= n.slideCount - 1 - i ? 914 n.$slides 915 .slice(e - i + r, e + i + 1) 916 .addClass("slick-active") 917 .attr("aria-hidden", "false") : 918 ((s = n.options.slidesToShow + e), 919 t 920 .slice(s - i + 1 + r, s + i + 2) 921 .addClass("slick-active") 922 .attr("aria-hidden", "false")), 923 0 === e ? t.eq(t.length - 1 - n.options.slidesToShow).addClass("slick-center") : e === n.slideCount - 1 && t.eq(n.options.slidesToShow).addClass("slick-center")), 924 n.$slides.eq(e).addClass("slick-center"); 925 } else 926 e >= 0 && e <= n.slideCount - n.options.slidesToShow ? 927 n.$slides 928 .slice(e, e + n.options.slidesToShow) 929 .addClass("slick-active") 930 .attr("aria-hidden", "false") : 931 t.length <= n.options.slidesToShow ? 932 t.addClass("slick-active").attr("aria-hidden", "false") : 933 ((o = n.slideCount % n.options.slidesToShow), 934 (s = !0 === n.options.infinite ? n.options.slidesToShow + e : e), 935 n.options.slidesToShow == n.options.slidesToScroll && n.slideCount - e < n.options.slidesToShow ? 936 t 937 .slice(s - (n.options.slidesToShow - o), s + o) 938 .addClass("slick-active") 939 .attr("aria-hidden", "false") : 940 t 941 .slice(s, s + n.options.slidesToShow) 942 .addClass("slick-active") 943 .attr("aria-hidden", "false")); 944 ("ondemand" !== n.options.lazyLoad && "anticipated" !== n.options.lazyLoad) || n.lazyLoad(); 945 }), 946 (i.prototype.setupInfinite = function () { 947 var i, 948 t, 949 s, 950 o = this; 951 if ((!0 === o.options.fade && (o.options.centerMode = !1), !0 === o.options.infinite && !1 === o.options.fade && ((t = null), o.slideCount > o.options.slidesToShow))) { 952 for (s = !0 === o.options.centerMode ? o.options.slidesToShow + 1 : o.options.slidesToShow, i = o.slideCount; i > o.slideCount - s; i -= 1) 953 (t = i - 1), 954 e(o.$slides[t]) 955 .clone(!0) 956 .attr("id", "") 957 .attr("data-slick-index", t - o.slideCount) 958 .prependTo(o.$slideTrack) 959 .addClass("slick-cloned"); 960 for (i = 0; i < s + o.slideCount; i += 1) 961 (t = i), 962 e(o.$slides[t]) 963 .clone(!0) 964 .attr("id", "") 965 .attr("data-slick-index", t + o.slideCount) 966 .appendTo(o.$slideTrack) 967 .addClass("slick-cloned"); 968 o.$slideTrack 969 .find(".slick-cloned") 970 .find("[id]") 971 .each(function () { 972 e(this).attr("id", ""); 973 }); 974 } 975 }), 976 (i.prototype.interrupt = function (e) { 977 e || this.autoPlay(), (this.interrupted = e); 978 }), 979 (i.prototype.selectHandler = function (i) { 980 var t = this, 981 s = e(i.target).is(".slick-slide") ? e(i.target) : e(i.target).parents(".slick-slide"), 982 o = parseInt(s.attr("data-slick-index"));
983 return o || (o = 0), t.slideCount <= t.options.slidesToShow ? void t.slideHandler(o, !1, !0) : void t.slideHandler(o); 984 }), 985 (i.prototype.slideHandler = function (e, i, t) { 986 var s, 987 o, 988 n, 989 r, 990 a, 991 l = null, 992 d = this; 993 if (((i = i || !1), !((!0 === d.animating && !0 === d.options.waitForAnimate) || (!0 === d.options.fade && d.currentSlide === e)))) 994 return (!1 === i && d.asNavFor(e), 995 (s = e), 996 (l = d.getLeft(s)), 997 (r = d.getLeft(d.currentSlide)), 998 (d.currentLeft = null === d.swipeLeft ? r : d.swipeLeft), !1 === d.options.infinite && !1 === d.options.centerMode && (e < 0 || e > d.getDotCount() * d.options.slidesToScroll) ? 999 void (!1 === d.options.fade && 1000 ((s = d.currentSlide), !0 !== t && d.slideCount > d.options.slidesToShow ? 1001 d.animateSlide(r, function () { 1002 d.postSlide(s); 1003 }) : 1004 d.postSlide(s)) 1005 ) : 1006 !1 === d.options.infinite && !0 === d.options.centerMode && (e < 0 || e > d.slideCount - d.options.slidesToScroll) ? 1007 void (!1 === d.options.fade && 1008 ((s = d.currentSlide), !0 !== t && d.slideCount > d.options.slidesToShow ? 1009 d.animateSlide(r, function () { 1010 d.postSlide(s); 1011 }) : 1012 d.postSlide(s)) 1013 ) : 1014 (d.options.autoplay && clearInterval(d.autoPlayTimer), 1015 (o = 1016 s < 0 ? 1017 d.slideCount % d.options.slidesToScroll != 0 ? 1018 d.slideCount - (d.slideCount % d.options.slidesToScroll) : 1019 d.slideCount + s : 1020 s >= d.slideCount ? 1021 d.slideCount % d.options.slidesToScroll != 0 ? 1022 0 : 1023 s - d.slideCount : 1024 s), 1025 (d.animating = !0), 1026 d.$slider.trigger("beforeChange", [d, d.currentSlide, o]), 1027 (n = d.currentSlide), 1028 (d.currentSlide = o), 1029 d.setSlideClasses(d.currentSlide), 1030 d.options.asNavFor && (a = (a = d.getNavTarget()).slick("getSlick")).slideCount <= a.options.slidesToShow && a.setSlideClasses(d.currentSlide), 1031 d.updateDots(), 1032 d.updateArrows(), !0 === d.options.fade ? 1033 (!0 !== t ? 1034 (d.fadeSlideOut(n), 1035 d.fadeSlide(o, function () { 1036 d.postSlide(o); 1037 })) : 1038 d.postSlide(o), 1039 void d.animateHeight()) : 1040 void (!0 !== t && d.slideCount > d.options.slidesToShow ? 1041 d.animateSlide(l, function () { 1042 d.postSlide(o); 1043 }) : 1044 d.postSlide(o))) 1045 ); 1046 }), 1047 (i.prototype.startLoad = function () { 1048 var e = this; 1049 !0 === e.options.arrows && e.slideCount > e.options.slidesToShow && (e.$prevArrow.hide(), e.$nextArrow.hide()), !0 === e.options.dots && e.slideCount > e.options.slidesToShow && e.$dots.hide(), 1050 e.$slider.addClass("slick-loading"); 1051 }), 1052 (i.prototype.swipeDirection = function () { 1053 var e, 1054 i, 1055 t, 1056 s, 1057 o = this; 1058 return ( 1059 (e = o.touchObject.startX - o.touchObject.curX), 1060 (i = o.touchObject.startY - o.touchObject.curY), 1061 (t = Math.atan2(i, e)), 1062 (s = Math.round((180 * t) / Math.PI)) < 0 && (s = 360 - Math.abs(s)), 1063 s <= 45 && s >= 0 ? 1064 !1 === o.options.rtl ? 1065 "left" : 1066 "right" : 1067 s <= 360 && s >= 315 ? 1068 !1 === o.options.rtl ? 1069 "left" : 1070 "right" : 1071 s >= 135 && s <= 225 ? 1072 !1 === o.options.rtl ? 1073 "right" : 1074 "left" : 1075 !0 === o.options.verticalSwiping ? 1076 s >= 35 && s <= 135 ? 1077 "down" : 1078 "up" : 1079 "vertical" 1080 ); 1081 }), 1082 (i.prototype.swipeEnd = function (e) { 1083 var i, 1084 t, 1085 s = this; 1086 if (((s.dragging = !1), (s.swiping = !1), s.scrolling)) return (s.scrolling = !1), !1; 1087 if (((s.interrupted = !1), (s.shouldClick = !(s.touchObject.swipeLength > 10)), void 0 === s.touchObject.curX)) return !1; 1088 if ((!0 === s.touchObject.edgeHit && s.$slider.trigger("edge", [s, s.swipeDirection()]), s.touchObject.swipeLength >= s.touchObject.minSwipe)) { 1089 switch ((t = s.swipeDirection())) {
1090 case "left": 1091 case "down": 1092 (i = s.options.swipeToSlide ? s.checkNavigable(s.currentSlide + s.getSlideCount()) : s.currentSlide + s.getSlideCount()), (s.currentDirection = 0); 1093 break; 1094 case "right": 1095 case "up": 1096 (i = s.options.swipeToSlide ? s.checkNavigable(s.currentSlide - s.getSlideCount()) : s.currentSlide - s.getSlideCount()), (s.currentDirection = 1); 1097 } 1098 "vertical" != t && (s.slideHandler(i), (s.touchObject = {}), s.$slider.trigger("swipe", [s, t])); 1099 } else s.touchObject.startX !== s.touchObject.curX && (s.slideHandler(s.currentSlide), (s.touchObject = {})); 1100 }), 1101 (i.prototype.swipeHandler = function (e) { 1102 var i = this; 1103 if (!(!1 === i.options.swipe || ("ontouchend" in document && !1 === i.options.swipe) || (!1 === i.options.draggable && -1 !== e.type.indexOf("mouse")))) 1104 switch ( 1105 ((i.touchObject.fingerCount = e.originalEvent && void 0 !== e.originalEvent.touches ? e.originalEvent.touches.length : 1), 1106 (i.touchObject.minSwipe = i.listWidth / i.options.touchThreshold), !0 === i.options.verticalSwiping && (i.touchObject.minSwipe = i.listHeight / i.options.touchThreshold), 1107 e.data.action) 1108 ) { 1109 case "start": 1110 i.swipeStart(e); 1111 break; 1112 case "move": 1113 i.swipeMove(e); 1114 break; 1115 case "end": 1116 i.swipeEnd(e); 1117 } 1118 }), 1119 (i.prototype.swipeMove = function (e) { 1120 var i, 1121 t, 1122 s, 1123 o, 1124 n, 1125 r, 1126 a = this; 1127 return ( 1128 (n = void 0 !== e.originalEvent ? e.originalEvent.touches : null), !(!a.dragging || a.scrolling || (n && 1 !== n.length)) && 1129 ((i = a.getLeft(a.currentSlide)), 1130 (a.touchObject.curX = void 0 !== n ? n[0].pageX : e.clientX), 1131 (a.touchObject.curY = void 0 !== n ? n[0].pageY : e.clientY), 1132 (a.touchObject.swipeLength = Math.round(Math.sqrt(Math.pow(a.touchObject.curX - a.touchObject.startX, 2)))), 1133 (r = Math.round(Math.sqrt(Math.pow(a.touchObject.curY - a.touchObject.startY, 2)))), !a.options.verticalSwiping && !a.swiping && r > 4 ? 1134 ((a.scrolling = !0), !1) : 1135 (!0 === a.options.verticalSwiping && (a.touchObject.swipeLength = r), 1136 (t = a.swipeDirection()), 1137 void 0 !== e.originalEvent && a.touchObject.swipeLength > 4 && ((a.swiping = !0), e.preventDefault()), 1138 (o = (!1 === a.options.rtl ? 1 : -1) * (a.touchObject.curX > a.touchObject.startX ? 1 : -1)), !0 === a.options.verticalSwiping && (o = a.touchObject.curY > a.touchObject.startY ? 1 : -1), 1139 (s = a.touchObject.swipeLength), 1140 (a.touchObject.edgeHit = !1), !1 === a.options.infinite && 1141 ((0 === a.currentSlide && "right" === t) || (a.currentSlide >= a.getDotCount() && "left" === t)) && 1142 ((s = a.touchObject.swipeLength * a.options.edgeFriction), (a.touchObject.edgeHit = !0)), !1 === a.options.vertical ? (a.swipeLeft = i + s * o) : (a.swipeLeft = i + s * (a.$list.height() / a.listWidth) * o), !0 === a.options.verticalSwiping && (a.swipeLeft = i + s * o), !0 !== a.options.fade && !1 !== a.options.touchMove && (!0 === a.animating ? ((a.swipeLeft = null), !1) : void a.setCSS(a.swipeLeft)))) 1143 ); 1144 }), 1145 (i.prototype.swipeStart = function (e) { 1146 var i, 1147 t = this; 1148 return ( 1149 (t.interrupted = !0), 1150 1 !== t.touchObject.fingerCount || t.slideCount <= t.options.slidesToShow ? 1151 ((t.touchObject = {}), !1) : 1152 (void 0 !== e.originalEvent && void 0 !== e.originalEvent.touches && (i = e.originalEvent.touches[0]), 1153 (t.touchObject.startX = t.touchObject.curX = void 0 !== i ? i.pageX : e.clientX), 1154 (t.touchObject.startY = t.touchObject.curY = void 0 !== i ? i.pageY : e.clientY), 1155 void (t.dragging = !0)) 1156 ); 1157 }), 1158 (i.prototype.unfilterSlides = i.prototype.slickUnfilter = function () { 1159 var e = this; 1160 null !== e.$slidesCache && (e.unload(), e.$slideTrack.children(this.options.slide).detach(), e.$slidesCache.appendTo(e.$slideTrack), e.reinit()); 1161 }), 1162 (i.prototype.unload = function () { 1163 var i = this; 1164 e(".slick-cloned", i.$slider).remove(), 1165 i.$dots && i.$dots.remove(), 1166 i.$prevArrow && i.htmlExpr.test(i.options.prevArrow) && i.$prevArrow.remove(), 1167 i.$nextArrow && i.htmlExpr.test(i.options.nextArrow) && i.$nextArrow.remove(), 1168 i.$slides.removeClass("slick-slide slick-active slick-visible slick-current").attr("aria-hidden", "true").css("width", ""); 1169 }),
1170 (i.prototype.unslick = function (e) { 1171 var i = this; 1172 i.$slider.trigger("unslick", [i, e]), i.destroy(); 1173 }), 1174 (i.prototype.updateArrows = function () { 1175 var e = this; 1176 Math.floor(e.options.slidesToShow / 2), !0 === e.options.arrows && 1177 e.slideCount > e.options.slidesToShow && 1178 !e.options.infinite && 1179 (e.$prevArrow.removeClass("slick-disabled").attr("aria-disabled", "false"), 1180 e.$nextArrow.removeClass("slick-disabled").attr("aria-disabled", "false"), 1181 0 === e.currentSlide ? 1182 (e.$prevArrow.addClass("slick-disabled").attr("aria-disabled", "true"), e.$nextArrow.removeClass("slick-disabled").attr("aria-disabled", "false")) : 1183 e.currentSlide >= e.slideCount - e.options.slidesToShow && !1 === e.options.centerMode ? 1184 (e.$nextArrow.addClass("slick-disabled").attr("aria-disabled", "true"), e.$prevArrow.removeClass("slick-disabled").attr("aria-disabled", "false")) : 1185 e.currentSlide >= e.slideCount - 1 && 1186 !0 === e.options.centerMode && 1187 (e.$nextArrow.addClass("slick-disabled").attr("aria-disabled", "true"), e.$prevArrow.removeClass("slick-disabled").attr("aria-disabled", "false"))); 1188 }), 1189 (i.prototype.updateDots = function () { 1190 var e = this; 1191 null !== e.$dots && 1192 (e.$dots.find("li").removeClass("slick-active").end(), 1193 e.$dots 1194 .find("li") 1195 .eq(Math.floor(e.currentSlide / e.options.slidesToScroll)) 1196 .addClass("slick-active")); 1197 }), 1198 (i.prototype.visibility = function () { 1199 var e = this; 1200 e.options.autoplay && (document[e.hidden] ? (e.interrupted = !0) : (e.interrupted = !1)); 1201 }), 1202 (e.fn.slick = function () { 1203 var e, 1204 t, 1205 s = this, 1206 o = arguments[0], 1207 n = Array.prototype.slice.call(arguments, 1), 1208 r = s.length; 1209 for (e = 0; e < r; e++) 1210 if (("object" == typeof o || void 0 === o ? (s[e].slick = new i(s[e], o)) : (t = s[e].slick[o].apply(s[e].slick, n)), void 0 !== t)) return t; 1211 return s; 1212 }); 1213 }), 1214 (function (e) { 1215 "use strict"; 1216 "function" == typeof define && define.amd ? define(["jquery"], e) : "undefined" != typeof exports ? (module.exports = e(require("jquery"))) : e(jQuery); 1217 })(function (e) { 1218 e.fn.tSelect = function (i) { 1219 e("html").addClass("has-ts-select"); 1220 var t = { 1221 placeholder: "Select", 1222 filter: !1, 1223 filterPlaceholder: "Filterâ¦", 1224 filterNoMatches: "No matchesâ¦", 1225 customScroll: !1, 1226 dom: { wrapperClass: "ts-wrap", triggerClass: "ts-trigger", optionsWrapClass: "ts-options-wrap", optionClass: "ts-option", activeOptionClass: "ts-active" }, 1227 onOptionSelect: function () { }, 1228 onActive: function () { }, 1229 }; 1230 return this.each(function () { 1231 var s = e.extend(t, i), 1232 o = e(this), 1233 n = o.find("option"), 1234 r = o.attr("data-placeholder") ? o.attr("data-placeholder") : s.placeholder, 1235 a = e('<div class="' + s.dom.wrapperClass + (o.is(":disabled") ? " ts-disabled" : "") + '"></div>'), 1236 l = e('<a href="#" class="' + s.dom.triggerClass + '">' + r + "</a>"), 1237 d = e('<span class="ts-filter"><input type="text" placeholder="' + s.filterPlaceholder + '" /></span>'), 1238 c = e('<div class="' + s.dom.optionsWrapClass + '"><div class="ts-scroll"></div></div>'); 1239 if ( 1240 (e(this).data("ts-options", s), 1241 (e(this).init.prototype.reload = function () { 1242 e(this).next(".ts-wrap").remove(), e(this).tSelect(e(this).data("ts-options")); 1243 }), !(e(this).next(".ts-wrap").length > 0)) 1244 ) { 1245 o.hide(), 1246 a.insertAfter(o), 1247 l.appendTo(a), 1248 c.appendTo(a), 1249 n.each(function () { 1250 (val = e(this).val()), 1251 (optGroup = e(this).parents("optgroup")), 1252 (html = e(this).html()), 1253 (opt = e("<a />", { class: e(this).attr("selected") ? s.dom.activeOptionClass : "", href: "#", "data-val": val, html: html })), 1254 e(this).attr("selected") && l.text(e(this).text()).attr("data-val", e(this).val()), 1255 "" != val && 1256 (optGroup.length > 0 ? 1257 ((currGroup = e(".ts-group-" + optGroup.index())), 1258 currGroup.length < 1 && e('<span class="ts-optgroup ts-group-' + optGroup.index() + '"><span class="ts-group-title">' + optGroup.attr("label") + "</span></span>").appendTo(c), 1259 opt.appendTo(currGroup)) : 1260 opt.appendTo(c.find(".ts-scroll"))); 1261 }), 1262 1 == s.filter && (d.prependTo(c), e('<span class="ts-error">' + s.filterNoMatches + "</span>").insertAfter(d)), 1263 1 == s.customScroll && 1264 (e.mCustomScrollbar ? 1265 c.find(".ts-scroll").mCustomScrollbar() : 1266 (e("<link/>", { rel: "stylesheet", type: "text/css", href: "https://cdnjs.cloudflare.com/ajax/libs/malihu-custom-scrollbar-plugin/3.1.5/jquery.mCustomScrollbar.min.css" }).appendTo("head"), 1267 e.getScript("https://cdnjs.cloudflare.com/ajax/libs/malihu-custom-scrollbar-plugin/3.1.5/jquery.mCustomScrollbar.min.js", function (e) { 1268 c.find(".ts-scroll").mCustomScrollbar(); 1269 }))), 1270 l.on("click", function (i) { 1271 (_self = e(this)), 1272 (_elWrap = _self.parents(".ts-wrap")), 1273 (_optionsWrap = _self.siblings("." + s.dom.optionsWrapClass)), 1274 i.preventDefault(), 1275 _elWrap.hasClass("ts-active") ? 1276 (_optionsWrap.hide(), _elWrap.removeClass("ts-active")) : 1277 (_optionsWrap.show(), 1278 _elWrap.addClass("ts-active"), 1279 e(".ts-wrap") 1280 .not(_elWrap) 1281 .each(function () { 1282 e(this).removeClass("ts-active"), e(this).find(".ts-options-wrap").hide(); 1283 })), 1284 1 == s.filter && d.find("input").trigger("focus"), 1285 s.onActive(); 1286 }), 1287 c.find("a").on("click", function (i) { 1288 (_self = e(this)), 1289 (_elWrap = _self.parents(".ts-wrap")), 1290 (_val = _self.attr("data-val")), 1291 i.preventDefault(), 1292 c.find("a.ts-active").removeClass("ts-active"), 1293 _self.addClass("ts-active"), 1294 o.val(_val).trigger("change"), 1295 _elWrap.removeClass("ts-active"), 1296 l.text(_self.html()).attr("data-val", _self.attr("data-val")), 1297 l.addClass("selected"), 1298 c.hide(), 1299 s.onOptionSelect(); 1300 }), 1301 e("html, body").on("click", function (i) { 1302 (target = e(i.target)), target.parents(".ts-wrap").length < 1 && e(".ts-wrap.ts-active").length > 0 && (e(".ts-options-wrap").hide(), e(".ts-wrap").removeClass("ts-active")); 1303 }), 1304 1 == s.filter && 1305 d.find("input").on("keyup", function (i) { 1306 var t = e(this).val(), 1307 s = e(this).parents(".ts-wrap"); 1308 (t = t.toLowerCase().replace(/\b[a-z]/g, function (e) { 1309 return e.toUpperCase(); 1310 })), 1311 (matches = s.find(".ts-scroll a:contains(" + t + ")")), 1312 (nonmatches = s.find(".ts-scroll a:not(:contains(" + t + "))")), 1313 "" == t 1314 ? 1315 s.find(".ts-scroll a.ts-unmatched").removeClass("ts-unmatched") : 1316 (nonmatches.addClass("ts-unmatched"), matches.length < 1 ? c.addClass("ts-no-matches") : (c.removeClass("ts-no-matches"), matches.removeClass("ts-unmatched"))); 1317 }); 1318 } 1319 }); 1320 }; 1321 }), 1322 (function (e) { 1323 (Assurone = { 1324 useMobileView: e(window).outerWidth() <= 768, 1325 initAll: function () { 1326 Assurone.Plugins.initAll(), Assurone.Compenents.initAll(), Assurone.Helpers.initAll(); 1327 }, 1328 Plugins: { 1329 initAll: function () { 1330 this.gridSliderHandler(), this.foldersSliderHandler(), this.carouselMenuHandler(), this.carouselSousMenuHandler(), this.tselect(); 1331 }, 1332 gridSliderHandler: function () { 1333 var i = e(".slick-grid"), 1334 t = []; 1335 i.length < 1 || 1336 i.each(function (i) { 1337 var s = e(this),
1338 o = s.attr("data-slidestoshow") ? +s.attr("data-slidestoshow") : 1, 1339 n = s.attr("data-slidetoscroll") ? +s.attr("data-slidetoscroll") : 1; 1340 t[i] = s.slick({ 1341 slidesToShow: o, 1342 slidesToScroll: n, 1343 infinite: !1, 1344 arrows: !1, 1345 dots: !0, 1346 responsive: [ 1347 { breakpoint: 768, settings: { slidesToShow: o, slidesToScroll: 1 } }, 1348 { breakpoint: 620, settings: { slidesToShow: o, slidesToScroll: 1 } }, 1349 ], 1350 }); 1351 }); 1352 }, 1353 foldersSliderHandler: function () { 1354 var i = e(".folder-slide"), 1355 t = []; 1356 i.length < 1 || 1357 i.each(function (i) { 1358 var s = e(this), 1359 o = s.attr("data-slidestoshow") ? +s.attr("data-slidestoshow") : 3, 1360 n = s.attr("data-slidetoscroll") ? +s.attr("data-slidetoscroll") : 1; 1361 (t[i] = s.slick({ 1362 slidesToShow: o, 1363 slidesToScroll: n, 1364 focusOnSelect: !0, 1365 variableWidth: !0, 1366 draggable: !1, 1367 infinite: !0, 1368 arrows: !0, 1369 dots: !1, 1370 swipeToSlide: !0, 1371 centerMode: !0, 1372 centerPadding: 0, 1373 nextArrow: '<button type="button" class="slick-next"><span>Next</span></button>', 1374 prevArrow: '<button type="button" class="slick-prev"><span>Previous</span></button>', 1375 responsive: [{ breakpoint: 800, settings: { slidesToShow: 2, slidesToScroll: 1, arrows: !1, dots: !0, infinite: !1, centerMode: !1 } }], 1376 })), 1377 s.each(function () { 1378 var i = e(this).find(".feed-without-thumb"), 1379 t = i.find(".plain"); 1380 i.outerHeight(), t.outerHeight(); 1381 t.css({ "padding-top": "45px" }); 1382 }); 1383 }); 1384 var i = 0 1385 $.each($('.slick-dots li'), function (index, value) { 1386 if (i > 5) { 1387 $(this).remove() 1388 } 1389 i++ 1390 }) 1391 }, 1392 carouselMenuHandler: function () { 1393 var i = (e(".breadcrumb-feed"), e(".slide-breadcrumb")), 1394 t = []; 1395 i.length < 1 || 1396 i.each(function (i) { 1397 var s = e(this); 1398 t[i] = s.slick({ 1399 slidesToShow: 3, 1400 slidesToScroll: 1, 1401 focusOnSelect: !0, 1402 variableWidth: !0, 1403 infinite: !1, 1404 arrows: !0, 1405 dots: !1, 1406 nextArrow: '<button type="button" class="slick-next"><span>Next</span></button>', 1407 prevArrow: '<button type="button" class="slick-prev"><span>Previous</span></button>', 1408 }); 1409 }); 1410 }, 1411 carouselMenuSecondeHandler: function () {
1412 var i = (e(".breadcrumb-feed"), e(".slide-breadcrumb-seconde")), 1413 t = []; 1414 i.length < 1 || 1415 i.each(function (i) { 1416 var s = e(this); 1417 t[i] = s.slick({ 1418 slidesToShow: 3, 1419 slidesToScroll: 1, 1420 focusOnSelect: !0, 1421 variableWidth: !0, 1422 infinite: !1, 1423 arrows: !0, 1424 dots: !1, 1425 nextArrow: '<button type="button" class="slick-next"><span>Next</span></button>', 1426 prevArrow: '<button type="button" class="slick-prev"><span>Previous</span></button>', 1427 }); 1428 }); 1429 }, 1430 carouselSousMenuHandler: function () { 1431 var i = e(".breadcrumb-col-slider"), 1432 t = []; 1433 i.length < 1 || 1434 i.each(function (i) { 1435 var s = e(this); 1436 t[i] = s.slick({ 1437 slidesToShow: 3, 1438 slidesToScroll: 1, 1439 focusOnSelect: !0, 1440 variableWidth: !0, 1441 infinite: !1, 1442 arrows: !0, 1443 dots: !1, 1444 nextArrow: '<button type="button" class="slick-next"><span>Next</span></button>', 1445 prevArrow: '<button type="button" class="slick-prev"><span>Previous</span></button>', 1446 }); 1447 }); 1448 }, 1449 carouselSousMenuSecondeHandler: function () { 1450 var i = e(".breadcrumb-seconde-slider"), 1451 t = []; 1452 i.length < 1 || 1453 i.each(function (i) { 1454 var s = e(this); 1455 t[i] = s.slick({ 1456 slidesToShow: 3, 1457 slidesToScroll: 1, 1458 focusOnSelect: !0, 1459 variableWidth: !0, 1460 infinite: !1, 1461 arrows: !0, 1462 dots: !1, 1463 nextArrow: '<button type="button" class="slick-next"><span>Next</span></button>', 1464 prevArrow: '<button type="button" class="slick-prev"><span>Previous</span></button>', 1465 }); 1466 }); 1467 }, 1468 tselect: function () { 1469 var i = e(".select"); 1470 i.length < 1 || i.tSelect(); 1471 }, 1472 }, 1473 Compenents: { 1474 initAll: function () { 1475 // this.appendPrimaryMenuHandler(), 1476 this.accordionFormuleTabsHandler(), 1477 this.formuleTabsHandler(), 1478 this.accordionsHandler(), 1479 this.hasFullheight(), 1480 this.backgroundAnimated(), 1481 this.paginationHandler(), 1482 this.navigationScrollHandler(), 1483 this.breadcrumbHandler(), 1484 this.breadcrumInputbHandler(), 1485 this.ancresHandler(), 1486 this.appendNavMenuHandler(), 1487 this.burgerNavMenuHandler(), 1488 this.tgooleBtnTableFormuleHandler(), 1489 this.appendBtnFolder(), 1490 this.toggleBtnContactHandler(), 1491 this.showMoreLessTextHandler(), 1492 this.graphContactHandler(),
1493 this.mediasHandler(), 1494 this.closeBtnNavHandler(); 1495 }, 1496 accordionFormuleTabsHandler: function () { 1497 var i = e(".table-formule"), 1498 t = i.find(".subtable .accordion-tab a"); 1499 i.length < 1 || 1500 t.on("click.accordionFormuleInteractif", function (i) { 1501 var t = e(this), 1502 s = t.parents(".sous-subtable").parents("tr"); 1503 i.preventDefault(), 1504 t.parents("tr").removeClass("shown"), 1505 s.removeClass("shown"), 1506 t.parents("tr").addClass("shown").siblings(".shown").removeClass("shown"), 1507 s.addClass("shown").siblings(".shown").removeClass("shown"); 1508 }); 1509 }, 1510 formuleTabsHandler: function () { 1511 var i = e(".table thead th"), 1512 t = e(".table .subtable"); 1513 i.length < 1 || 1514 (Assurone.useMobileView && 1515 (i.each(function () { 1516 var i = e(this), 1517 s = i.hasClass("active"), 1518 o = i.attr("data-th"); 1519 s && 1520 t.find("tr").each(function () { 1521 e(this) 1522 .find(".sous-subtable tr") 1523 .each(function () { 1524 var i = e(this); 1525 i.removeClass("has-cheked"), 1526 i.find("td").each(function () { 1527 var i = e(this); 1528 i.attr("data-check") == o && i.parent("tr").addClass("has-cheked"); 1529 }); 1530 }); 1531 }); 1532 }), 1533 i.on("click.tabInteratif", function (i) { 1534 var s = e(this), 1535 o = e(this).attr("data-th"); 1536 i.preventDefault(), 1537 s.addClass("active").siblings(".active").removeClass("active"), 1538 t.find("tr").each(function () { 1539 e(this) 1540 .find(".sous-subtable tr") 1541 .each(function () { 1542 var i = e(this); 1543 i.removeClass("has-cheked"), 1544 i.find("td").each(function () { 1545 var i = e(this); 1546 i.attr("data-check") == o && i.parent("tr").addClass("has-cheked"); 1547 }); 1548 }); 1549 }); 1550 }))); 1551 }, 1552 accordionsHandler: function () { 1553 var i = e(".accordion"), 1554 t = e(".trigger"); 1555 i.length < 1 || 1556 t.on("click.accordionInteractif", function (i) { 1557 var t = e(this).parent(".accordion"); 1558 i.preventDefault(), t.toggleClass("shown").siblings(".shown").removeClass("shown"); 1559 }); 1560 }, 1561 hasFullheight: function (i) { 1562 var t = e(".has-fullheight"), 1563 s = e("#header").outerHeight(), 1564 o = e("#primary-nav").outerHeight(); 1565 i = void 0 !== i; 1566 if (!(t.length < 1 || Assurone.useMobileView)) { 1567 if ((e("body").css({ "padding-top": s + o }), t.css({ height: e(window).height() - s - o }), i)) return; 1568 e(window).on("resize.fullheightUpdater", function () { 1569 Assurone.Compenents.hasFullheight(!0); 1570 }); 1571 } 1572 }, 1573 backgroundAnimated: function () { 1574 var i = e(".has-bg-overlays"); 1575 i.length < 1 || 1576 i.each(function () { 1577 for (var i = e(this), t = i.attr("data-overlays-length") ? +i.attr("data-overlays-length") : 1, s = i.attr("data-overlays-color") ? i.attr("data-overlays-color") : "blue", o = 1; o <= t; o++) 1578 i.append('<div class="bg-overlay ' + s + "-bg-overlay-" + o + '" />'); 1579 }); 1580 }, 1581 paginationHandler: function () { 1582 var i = e(".pagination"), 1583 t = e("section"), 1584 s = e("#header").outerHeight(), 1585 o = e("#primary-nav").outerHeight(), 1586 n = 0; 1587 i.length < 1 || 1588 (e(window).on("scroll.pagerInteractif", function () { 1589 var t = i.find(".pagination-item a"), 1590 n = e(this).scrollTop(); 1591 t.each(function () { 1592 var i = e(this), 1593 r = i.attr("href"), 1594 a = e(r); 1595 if (!(a.length < 1)) { 1596 var l = a.offset().top - s - o, 1597 d = a.outerHeight(); 1598 n >= l && n <= l + d && (t.parents("li").removeClass("active"), i.parents("li").addClass("active")); 1599 } 1600 }); 1601 }), 1602 e(document).on("click", '.pagination .next a[href^="#"]', function (i) { 1603 n < t.length - 1 && 1604 (n++, 1605 e("html, body") 1606 .stop() 1607 .animate({ scrollTop: t.eq(n).offset().top - s - o }, 500)); 1608 }), 1609 e(document).on("click", '.pagination .preview a[href^="#"]', function (i) { 1610 n > 0 && 1611 (n--, 1612 e("html, body") 1613 .stop() 1614 .animate({ scrollTop: t.eq(n).offset().top - s - o }, 500)); 1615 }), 1616 e(document).on("click", '.pagination .pagination-item a[href^="#"]', function (i) { 1617 i.preventDefault(), 1618 e("html, body") 1619 .stop() 1620 .animate({ scrollTop: e(e.attr(this, "href")).offset().top - s - o }, 500); 1621 })); 1622 }, 1623 navigationScrollHandler: function () { 1624 if (!(e("#header").length < 1)) { 1625 if (e(".empty-page").length > 0) return; 1626 e(window).on("scroll.navigationInteractif", function () { 1627 e(this).scrollTop() ? e("body").addClass("fixed-nav") : e("body").removeClass("fixed-nav"); 1628 }); 1629 } 1630 }, 1631 breadcrumbHandler: function () { 1632 var i = e(".breadcrumb"), 1633 t = (i.find("ul .breadcrumb-item"), i.find(".btn-close")); 1634 i.length < 1 || 1635 (e(".breadcrumb-item").each(function (t, s) { 1636 var o; 1637 e(this) 1638 .find(".breadcrumb-link") 1639 .on("click.breadcrumInteractif", function (s) { 1640 var n = e(this).attr("href"); 1641 1 != t && s.preventDefault(), 1642 (o = -1 != n.indexOf("#") ? n.substring(1, n.length) : n), 1643 i.find("ul .breadcrumb-item").removeClass("active"), 1644 e(".breadcrumb-feed").removeClass("active"), 1645 e(".breadcrumb-feed").find(".radio-item").removeClass("active"), 1646 e(".breadcrumb-col").find(".radio-group").removeClass("shown"), 1647 e(".breadcrumb-col") 1648 .find(".radio-group") 1649 .each(function (i) { 1650 var t = e(this); 1651 t.removeClass("shown"), 1652 t.find(".radio-item").removeClass("active"), 1653 t.find(".radio-item").each(function (i) { 1654 var t = e(this); 1655 t.removeClass("active"), 1656 setTimeout(function () { 1657 t.addClass("active"); 1658 }, 400 * (i + 1)); 1659 }); 1660 }), 1661 e(".breadcrumb-feed") 1662 .find(".radio-item") 1663 .each(function (i) { 1664 e(this).removeClass("active"); 1665 }), 1666 e(".breadcrumb-feed") 1667 .find(".feed-item") 1668 .each(function (i) { 1669 e(this).removeClass("active"); 1670 }), 1671 e(this).parents(".breadcrumb-item").addClass("active"), 1672 e("#" + o).addClass("active"), 1673 e("body").addClass("lock-body"), 1674 e("#" + o) 1675 .find(".radio-item") 1676 .each(function (i) { 1677 var t = e(this); 1678 setTimeout(function () { 1679 t.addClass("active"); 1680 }, 0 * (i + 1)); 1681 }), 1682 e("#" + o) 1683 .find(".feed-item") 1684 .each(function (i) { 1685 var t = e(this); 1686 setTimeout(function () { 1687 t.addClass("active"); 1688 }, 0 * (i + 1)); 1689 }); 1690 }); 1691 }), 1692 t.on("click.closebreadcrumb", function () { 1693 var t = e(this); 1694 t.parents(".breadcrumb-feed").removeClass("active"), 1695 i.find("ul li").removeClass("active"), 1696 t.parents(".breadcrumb-feed").find(".radio-item input").prop("checked", !1), 1697 t.parents(".breadcrumb-feed").find(".slick-slide .radio-item input").prop("checked", !1), 1698 t.parents(".breadcrumb-feed").find(".breadcrumb-col .radio-item input").prop("checked", !1), 1699 t.parents(".breadcrumb-feed").find(".radio-item input").attr("disabled", !1), 1700 t.parents(".breadcrumb-feed").find(".radio-item").
1700css("opacity", "1"), 1701 t.parents(".breadcrumb-feed").find(".slick-slide").css("opacity", "1"), 1702 t.parents(".breadcrumb-feed").find(".breadcrumb-col").removeClass("shown"), 1703 e("body").removeClass("lock-body"); 1704 })); 1705 }, 1706 breadcrumInputbHandler: function () { 1707 var i = e(".breadcrumb-feed .radio-group"); 1708 i.length < 1 || 1709 i.find(".radio-item").each(function () { 1710 e(this) 1711 .find("input") 1712 .on("click.input", function () { 1713 var i = e(this), 1714 t = i.attr("data-input"), 1715 s = e(".breadcrumb-col"); 1716 i.is(":checked") && 1717 (i.parent(".radio-item").siblings(".radio-item").find("input").attr("disabled", !0), 1718 i.parents(".slick-slide").siblings(".slick-slide").find("input").attr("disabled", !0), 1719 i.parent(".radio-item").siblings(".radio-item").css("opacity", ".2"), 1720 i.parents(".slick-slide").siblings(".slick-slide").css("opacity", ".2")), 1721 s.find(".radio-group").each(function () { 1722 var i = e(this), 1723 o = i.attr("id"); 1724 t == o && 1725 (i.addClass("shown").siblings(".shown").removeClass("shown"), 1726 i.parent(s).addClass("shown"), 1727 i.find(".radio-item").each(function () { 1728 var i = e(this), 1729 t = i.find("input"); 1730 i.parents(".breadcrumb-col").find(".btn").removeClass("active"), 1731 t.on("click.inputInteraction", function () { 1732 var i = e(this), 1733 t = i.val(); 1734 i.removeClass("active"), 1735 i.is(":checked") && 1736 (i.parent(".radio-item").siblings(".radio-item").find("input").attr("disabled", !0), 1737 i.parent(".radio-item").siblings(".radio-item").css("opacity", ".2"), 1738 i.parents(".breadcrumb-col").find(".btn").addClass("active"), 1739 i.parents(".breadcrumb-col").find(".btn").attr("href", t)); 1740 }); 1741 })); 1742 }); 1743 }); 1744 }); 1745 }, 1746 ancresHandler: function () { 1747 var i = e("#ancres"), 1748 t = e("#header").outerHeight(), 1749 s = e("#mobile-nav").outerHeight(); 1750 e(document).on("click", ".section-cover .link", function (i) { 1751 i.preventDefault(), e("html, body").animate({ scrollTop: e(e.attr(this, "href")).offset().top - t }, 500); 1752 }), 1753 i.length < 1 || 1754 e(document).on("click", '#ancres li a[href^="#"]', function (i) { 1755 i.preventDefault(), 1756 e("#header").length > 0 ? e("html, body").animate({ scrollTop: e(e.attr(this, "href")).offset().top - t - s }, 500) : e("html, body").animate({ scrollTop: e(e.attr(this, "href")).offset().top - s }, 500); 1757 }); 1758 }, 1759 appendNavMenuHandler: function () { 1760 var i = e("#primary-nav"); 1761 i.length < 1 || (Assurone.useMobileView && i.append('<button class="btn-close"><span>close</span></button>')); 1762 }, 1763 burgerNavMenuHandler: function () { 1764 var i = e("#mobile-nav .nav-trigger"); 1765 i.length < 1 || 1766 (i.on("click.burgerInteractif", function () { 1767 e("#primary-nav").addClass("shown"), e("body").addClass("lock-body"); 1768 }), 1769 e("#primary-nav") 1770 .find(".btn-close") 1771 .on("click.closeBtn", function () { 1772 e(this).parents("#primary-nav").removeClass("shown"), e("body").removeClass("lock-body"); 1773 })); 1774 }, 1775 tgooleBtnTableFormuleHandler: function () { 1776 var i = e(".subtable-toggler"); 1777 i.length < 1 || 1778 i.on("click.tggolebtnformul", function () { 1779 var i = e(this); 1780 (parent = i.parents("tr")), parent.toggleClass("active").siblings(".active").removeClass("active"); 1781 }); 1782 }, 1783 appendBtnFolder: function () { 1784 var i = e(".folders"), 1785 t = i.find(".folder-plain .btn"); 1786 i.length < 1 || (Assurone.useMobileView && t.appendTo(".section-folders .container")); 1787 }, 1788 toggleBtnContactHandler: function () { 1789 var i = e(".container-opening button"); 1790 i.length < 1 || 1791 i.on("click.toggleBtnContact", function () { 1792 e(this).parent(".container-opening").toggleClass("shown"); 1793 }); 1794 }, 1795 showMoreLessTextHandler: function () { 1796 var i = e(".more p"), 1797 t = 225, 1798 s = "Lire tout"; 1799 i.length < 1 || 1800 i.each(function () { 1801 var i = e(this), 1802 o = i.html(); 1803 if (o.length > t) { 1804 var n = o.substr(0, t) + '<span class="morecontent"><span>' + o.substr(t, o.length - t) + "</span><br /> </span>"; 1805 e(this).html(n), e('<a href="#" class="btn btn-more-green">' + s + "</a>").insertAfter(e(this)); 1806 } 1807 i.parent(".more") 1808 .find(".btn") 1809 .on("click.moreinteractif", function (i) { 1810 i.preventDefault(); 1811 var t = e(this); 1812 t.hasClass("less") ? (t.removeClass("less"), t.html(s), t.parent(".more").removeClass("shown")) : (t.addClass("less"), t.html("Lire moins"), t.parent(".more").addClass("shown")); 1813 }); 1814 }); 1815 }, 1816 graphContactHandler: function () { 1817 if (!(e(".service-content").length < 1)) { 1818 e(".service-com span").click(function () { 1819 e(".service-com span").css("background", "white"), e(".service-com span").css("color", "black"), e(this).css("background", "#237ebb"), e(this).css("color", "white"); 1820 }),
1821 e(".service-item .btn-item").click(function () { 1822 e(".service-com *").css("animation-name", "fadein"), 1823 e(".after").css({ opacity: 0, bottom: "-25px" }), 1824 e(this).parent().find(".after").css({ opacity: 1, bottom: "-25px" }), 1825 e(".service-item .btn-item").css({ background: "white", color: "black" }), 1826 e(this).css("background", "#237ebb"), 1827 e(this).css("color", "white"); 1828 }), 1829 e(".service-com.1 .lundi").click(function () { 1830 e(".service-com.1 .frise-hori .block div").removeClass(), 1831 e(".service-com.1 .frise-hori .block div:nth-child(1)").addClass("grande"), 1832 e(".service-com.1 .frise-hori .block div:nth-child(2)").addClass("grande"), 1833 e(".service-com.1 .frise-hori .block div:nth-child(6)").addClass("grande"), 1834 e(".service-com.1 .frise-hori .block div:nth-child(3)").addClass("moyen"), 1835 e(".service-com.1 .frise-hori .block div:nth-child(7)").addClass("moyen"), 1836 e(".service-com.1 .frise-hori .block div:nth-child(8)").addClass("moyen"), 1837 e(".service-com.1 .frise-hori .block div:nth-child(9)").addClass("moyen"); 1838 }), 1839 e(".service-com.1 .mardi").click(function () { 1840 e(".service-com.1 .frise-hori .block div").removeClass(), 1841 e(".service-com.1 .frise-hori .block div:nth-child(1)").addClass("grande"), 1842 e(".service-com.1 .frise-hori .block div:nth-child(3)").addClass("moyen"), 1843 e(".service-com.1 .frise-hori .block div:nth-child(10)").addClass("moyen"), 1844 e(".service-com.1 .frise-hori .block div:nth-child(11)").addClass("moyen"); 1845 }), 1846 e(".service-com.1 .mercredi").click(function () { 1847 e(".service-com.1 .frise-hori .block div").removeClass(), 1848 e(".service-com.1 .frise-hori .block div:nth-child(1)").addClass("grande"), 1849 e(".service-com.1 .frise-hori .block div:nth-child(2)").addClass("grande"), 1850 e(".service-com.1 .frise-hori .block div:nth-child(3)").addClass("moyen"), 1851 e(".service-com.1 .frise-hori .block div:nth-child(7)").addClass("moyen"), 1852 e(".service-com.1 .frise-hori .block div:nth-child(8)").addClass("moyen"), 1853 e(".service-com.1 .frise-hori .block div:nth-child(9)").addClass("moyen"); 1854 }), 1855 e(".service-com.1 .jeudi").click(function () { 1856 e(".service-com.1 .frise-hori .block div").removeClass(), 1857 e(".service-com.1 .frise-hori .block div:nth-child(1)").addClass("grande"), 1858 e(".service-com.1 .frise-hori .block div:nth-child(6)").addClass("grande"), 1859 e(".service-com.1 .frise-hori .block div:nth-child(3)").addClass("moyen"), 1860 e(".service-com.1 .frise-hori .block div:nth-child(9)").addClass("moyen"); 1861 }), 1862 e(".service-com.1 .vendredi").click(function () { 1863 e(".service-com.1 .frise-hori .block div").removeClass(), 1864 e(".service-com.1 .frise-hori .block div:nth-child(1)").addClass("grande"), 1865 e(".service-com.1 .frise-hori .block div:nth-child(6)").addClass("grande"), 1866 e(".service-com.1 .frise-hori .block div:nth-child(10)").addClass("grande"), 1867 e(".service-com.1 .frise-hori .block div:nth-child(11)").addClass("grande"), 1868 e(".service-com.1 .frise-hori .block div:nth-child(3)").addClass("moyen"), 1869 e(".service-com.1 .frise-hori .block div:nth-child(9)").addClass("moyen"); 1870 }), 1871 e(".service-com.1 .samedi").click(function () { 1872 e(".service-com.1 .frise-hori .block div").removeClass(), 1873 e(".service-com.1 .frise-hori .block div:nth-child(4)").addClass("grande"), 1874 e(".service-com.1 .frise-hori .block div:nth-child(5)").addClass("grande"), 1875 e(".service-com.1 .frise-hori .block div:nth-child(6)").addClass("grande"), 1876 e(".service-com.1 .frise-hori .block div:nth-child(7)").addClass("moyen"), 1877 e(".service-com.1 .frise-hori .block div:nth-child(8)").addClass("moyen"), 1878 e(".service-com.1 .frise-hori .block div:nth-child(9)").addClass("moyen"); 1879 }), 1880 e(".service-com.2 .lundi").click(function () { 1881 e(".service-com.2 .frise-hori .block div").removeClass(), 1882 e(".service-com.2 .frise-hori .block div:nth-child(1)").addClass("grande"), 1883 e(".service-com.2 .frise-hori .block div:nth-child(2)").addClass("grande"), 1884 e(".service-com.2 .frise-hori .block div:nth-child(8)").addClass("moyen"), 1885 e(".service-com.2 .frise-hori .block div:nth-child(9)").addClass("moyen"); 1886 }), 1887 e(".service-com.2 .mardi").click(function () { 1888 e(".service-com.2 .frise-hori .block div").removeClass(), 1889 e(".service-com.2 .frise-hori .block div:nth-child(1)").addClass("grande"), 1890 e(".service-com.2 .frise-hori .block div:nth-child(5)").addClass("grande"), 1891 e(".service-com.2 .frise-hori .block div:nth-child(3)").addClass("moyen"), 1892 e(".service-com.2 .frise-hori .block div:nth-child(8)").addClass("moyen"), 1893 e(".service-com.2 .frise-hori .block div:nth-child(9)").addClass("moyen"); 1894 }), 1895 e(".service-com.2 .mercredi").click(function () { 1896 e(".service-com.2 .frise-hori .block div").removeClass(), 1897 e(".service-com.2 .frise-hori .block div:nth-child(1)").addClass("grande"), 1898 e(".service-com.2 .frise-hori .block div:nth-child(2)").addClass("grande"), 1899 e(".service-com.2 .frise-hori .block div:nth-child(7)").addClass("moyen"), 1900 e(".service-com.2 .frise-hori .block div:nth-child(8)").addClass("moyen"), 1901 e(".service-com.2 .frise-hori .block div:nth-child(9)").addClass("moyen"); 1902 }), 1903 e(".service-com.2 .jeudi").click(function () { 1904 e(".service-com.2 .frise-hori .block div").removeClass(), 1905 e(".service-com.2 .frise-hori .block div:nth-child(1)").addClass("grande"), 1906 e(".service-com.2 .frise-hori .block div:nth-child(2)").addClass("grande"), 1907 e(".service-com.2 .frise-hori .block div:nth-child(5)").addClass("grande"), 1908 e(".service-com.2 .frise-hori .block div:nth-child(8)").addClass("moyen"), 1909 e(".service-com.2 .frise-hori .block div:nth-child(9)").addClass("moyen"); 1910 }), 1911 e(".service-com.2 .vendredi").click(function () { 1912 e(".service-com.2 .frise-hori .block div").removeClass(), 1913 e(".service-com.2 .frise-hori .block div:nth-child(1)").addClass("grande"), 1914 e(".service-com.2 .frise-hori .block div:nth-child(3)").addClass("moyen"), 1915 e(".service-com.2 .frise-hori .block div:nth-child(5)").addClass("grande"), 1916 e(".service-com.2 .frise-hori .block div:nth-child(6)").addClass("grande"), 1917 e(".service-com.2 .frise-hori .block div:nth-child(8)").addClass("moyen"), 1918 e(".service-com.2 .frise-hori .block div:nth-child(9)").addClass("moyen"); 1919 }), 1920 e(".service-com.2 .samedi").click(function () { 1921 e(".service-com.2 .frise-hori .block div").removeClass(), 1922 e(".service-com.2 .frise-hori .block div:nth-child(1)").addClass("grande"), 1923 e(".service-com.2 .frise-hori .block div:nth-child(2)").addClass("grande"), 1924 e(".service-com.2 .frise-hori .block div:nth-child(3)").addClass("grande"), 1925 e(".service-com.2 .frise-hori .block div:nth-child(7)").addClass("moyen"), 1926 e(".service-com.2 .frise-hori .block div:nth-child(9)").addClass("moyen"), 1927 e(".service-com.2 .frise-hori .block div:nth-child(8)").addClass("moyen"), 1928 e(".service-com.2 .frise-hori .block div:nth-child(10)").addClass("moyen"); 1929 }), 1930 e(".service-com.3 .lundi").click(function () { 1931 e(".service-com.3 .frise-hori .block div").removeClass(), 1932 e(".service-com.3 .frise-hori .block div:nth-child(5)").addClass("grande"), 1933 e(".service-com.3 .frise-hori .block div:nth-child(7)").addClass("grande"), 1934 e(".service-com.3 .frise-hori .block div:nth-child(1)").addClass("moyen"), 1935 e(".service-com.3 .frise-hori .block div:nth-child(4)").addClass("moyen"); 1936 }), 1937 e(".service-com.3 .mardi").click(function () { 1938 e(".service-com.3 .frise-hori .block div").removeClass(), 1939 e(".service-com.3 .frise-hori .block div:nth-child(3)").addClass("grande"), 1940 e(".service-com.3 .frise-hori .block div:nth-child(5)").addClass("grande"), 1941 e(".service-com.3 .frise-hori .block div:nth-child(1)").addClass("moyen"), 1942 e(".service-com.3 .frise-hori .block div:nth-child(4)").addClass("moyen"); 1943 }), 1944 e(".service-com.3 .mercredi").click(function () { 1945 e(".service-com.3 .frise-hori .block div").removeClass(), 1946 e(".service-com.3 .frise-hori .block div:nth-child(2)").addClass("grande"), 1947 e(".service-com.3 .frise-hori .block div:nth-child(3)").addClass("grande"), 1948 e(".service-com.3 .frise-hori .block div:nth-child(5)").addClass("grande"), 1949 e(".service-com.3 .frise-hori .block div:nth-child(1)").addClass("moyen"), 1950 e(".service-com.3 .frise-hori .block div:nth-child(4)").addClass("moyen"); 1951 }), 1952 e(".service-com.3 .jeudi").click(function () { 1953 e(".service-com.3 .frise-hori .block div").removeClass(), 1954 e(".service-com.3 .frise-hori .block div:nth-child(5)").addClass("grande"), 1955 e(".service-com.3 .frise-hori .block div:nth-child(1)").addClass("moyen"), 1956 e(".service-com.3 .frise-hori .block div:nth-child(4)").addClass("moyen"); 1957 }), 1958 e(".service-com.3 .vendredi").click(function () { 1959 e(".service-com.3 .frise-hori .block div").removeClass(), 1960 e(".service-com.3 .frise-hori .block div:nth-child(5)").addClass("grande"), 1961 e(".service-com.3 .frise-hori .block div:nth-child(1)").addClass("moyen"), 1962 e(".service-com.3 .frise-hori .block div:nth-child(4)").addClass("moyen"); 1963 }); 1964 var i = new Date(), 1965 t = i.getDay(), 1966 s = i.getHours() - 9, 1967 o = t + 1;
1968 e("#servie-1 .btn-item").click(function () { 1969 e(".service-com").removeClass("shown"), e(".service-com.1").addClass("shown"); 1970 }), 1971 e("#servie-2 .btn-item").click(function () { 1972 e(".service-com").removeClass("shown"), e(".service-com.2").addClass("shown"); 1973 }), 1974 e("#servie-3 .btn-item").click(function () { 1975 e(".service-com").removeClass("shown"), e(".service-com.3").addClass("shown"); 1976 }), 1977 // setTimeout(function () { 1978 // var i; 1979 // e(".service-com>span:nth-child(" + o + ")").click(), 1980 // e(".service-com>span:nth-child(" + o + ")").css("background", "#237ebb"), 1981 // e(".service-com>span:nth-child(" + o + ")").css("color", "white"), 1982 // e("#servie-1 .btn-item").click(), 1983 // null == (i = e(".service-com.1 .block div:nth-child(" + s + ")").attr("class")) && (i = "faible"), 1984 // e("#servie-1 .btn-item").before("<p class='status'>En ce moment, l'affluence est <b>" + i + "</b></p>"), 1985 // e("#servie-1 .btn-item").addClass(i), 1986 // e(".#servie-2 .btn-item").click(), 1987 // null == (i = e(".service-com.2 .block div:nth-child(" + s + ")").attr("class")) && (i = "faible"), 1988 // e(".#servie-2 .btn-item").before("<p class='status'>En ce moment, l'affluence est <b>" + i + "</b></p>"), 1989 // e(".#servie-2 .btn-item").addClass(i), 1990 // e("#servie-3 .btn-item").click(), 1991 // null == (i = e(".service-com.3 .block div:nth-child(" + s + ")").attr("class")) && (i = "faible"), 1992 // e("#servie-3 .btn-item").before("<p class='status'>En ce moment, l'affluence est <b>" + i + "</b></p>"), 1993 // e("#servie-3 .btn-item").addClass(i); 1994 // }, 100), 1995 window.matchMedia("(max-width: 990px)").matches && 1996 e(".service-item .btn-item").click(function () { 1997 e(this).parent().after('<div class="service-item graph-resp" style="margin-bottom:20px"></div>'), 1998 e(".graph-resp").html(e(".graph")), 1999 e(".graph-resp-b").remove(), 2000 e(".graph-resp").removeClass("graph-resp").addClass("graph-resp-b"); 2001 }); 2002 } 2003 }, 2004 mediasHandler: function () { 2005 var i = e(".feed"), 2006 t = e(".folder"); 2007 t.find(".folder-thumb").each(function () { 2008 var i = e(this), 2009 t = i.find("img").attr("src"); 2010 i.css({ "background-image": "url(" + t + ")" }); 2011 }), 2012 t.find(".feed-without-thumb").each(function () { 2013 e(this).outerHeight(); 2014 }), 2015 i.find(".feed-thumb").each(function () { 2016 var i = e(this), 2017 t = i.find("img").attr("src"); 2018 i.css({ "background-image": "url(" + t + ")" }); 2019 }); 2020 }, 2021 closeBtnNavHandler: function () { 2022 e(".alert-nav .close").length < 1 || 2023 e(document).on("click", ".alert-nav .close", function (i) { 2024 i.preventDefault(), e(this).parent(".alert-nav").hide(500); 2025 }); 2026 }, 2027 //DEBUT MENU FOOTER 2028 /*appendPrimaryMenuHandler: function() { 2029 var i = e("#main"), 2030 t = e("<div />", { class: "breadcrumb" }); 2031 t.appendTo(i), 2032 e("<ul />").appendTo(t), 2033 e("#primary-nav")
2034 .find(".item-menu-parent") 2035 .each(function(i, s) { 2036 var o = e(this); 2037 e('<li class="breadcrumb-item"><a href="#breadcrumb' + (i + 1) + '" class="breadcrumb-link">' + o.find("a").eq(0).html() + "</a></li>").appendTo(".breadcrumb ul"); 2038 var n = e("<div />", { class: "breadcrumb-feed", id: "breadcrumb" + (i + 1) }); 2039 n.appendTo(t), e('<button class="btn-close"><span>close</span></button>').appendTo(n); 2040 }), 2041 e(".breadcrumb") 2042 .find(".breadcrumb-feed") 2043 .eq(0) 2044 .each(function(i, t) { 2045 var s = e(this), 2046 o = e("<div />", { class: "radio-group slide-breadcrumb" }), 2047 n = e("<div />", { class: "breadcrumb-col" }); 2048 e("#primary-nav") 2049 .find(".item-menu-parent") 2050 .eq(0) 2051 .each(function(i, t) { 2052 var r = e(this); 2053 e('<h2 class="title-caption">' + r.find("a").eq(1).html() + "</h2>").appendTo(s), 2054 o.appendTo(s), 2055 n.appendTo(s), 2056 r.find(".item-submenu-child").each(function(i, t) { 2057 var s = e(this), 2058 r = e('<div class="radio-group" id="col-' + (i + 1) + '">'), 2059 a = e("<div />", { class: "breadcrumb-col-slider" }), 2060 l = e('<h3>Quel type de <span class="title-type">' + s.find("a").eq(0).html() + "</span> vous intéresse ?</h3>"), 2061 d = e("<a href='#' class='btn'>C'est parti</a>"); 2062 if ( 2063 (e( 2064 '<div class="radio-item"> <input type="radio" id="feed-' + 2065 (i + 1) + 2066 '" name="col-1" data-input="col-' + 2067 (i + 1) + 2068 '"><label class="form-label" for="feed-' + 2069 (i + 1) + 2070 '">' + 2071 s.find("a").eq(0).html() + 2072 "</label></div>" 2073 ).appendTo(o), 2074 r.appendTo(n), 2075 l.appendTo(r), 2076 l.find("i").remove(), 2077 a.appendTo(r), 2078 d.appendTo(r), 2079 0 == i && 2080 s.find(".submenu-fil").each(function(i, t) { 2081 var s = e(this); 2082 e( 2083 '<div class="radio-item"><input type="radio" id="push-' + 2084 (i + 1) + 2085 '" name="col-2" value="' + 2086 s.find("a").attr("href") + 2087 '">
2087<label class="form-label" for="push-' + 2088 (i + 1) + 2089 '">' + 2090 s.find("a").html() + 2091 "</label></div>" 2092 ).appendTo(a); 2093 }), 2094 1 == i && 2095 s.find(".submenu-fil").each(function(i, t) { 2096 var s = e(this); 2097 e( 2098 '<div class="radio-item"><input type="radio" id="last-' + 2099 (i + 1) + 2100 '" name="col-2" value="' + 2101 s.find("a").attr("href") + 2102 '"><label class="form-label" for="last-' + 2103 (i + 1) + 2104 '">' + 2105 s.find("a").html() + 2106 "</label></div>" 2107 ).appendTo(a); 2108 }), 2109 2 == i && 2110 s.find(".submenu-fil").each(function(i, t) { 2111 var s = e(this); 2112 e( 2113 '<div class="radio-item"><input type="radio" id="left-' + 2114 (i + 1) + 2115 '" name="col-2" value="' + 2116 s.find("a").attr("href") + 2117 '"><label class="form-label" for="left-' + 2118 (i + 1) + 2119 '">' + 2120 s.find("a").html() + 2121 "</label></div>" 2122 ).appendTo(a); 2123 }), 2124 3 == i && 2125 s.find(".submenu-fil").each(function(i, t) { 2126 var s = e(this); 2127 e( 2128 '<div class="radio-item"><input type="radio" id="right-' + 2129 (i + 1) + 2130 '" name="col-2" value="' + 2131 s.find("a").attr("href") + 2132 '"><label class="form-label" for="right-' + 2133 (i + 1) + 2134 '">' + 2135 s.find("a").html() + 2136 "</label></di>" 2137 ).appendTo(a); 2138 }), 2139 4 == i && 2140 s.find(".submenu-fil").each(function(i, t) { 2141 var s = e(this); 2142 e( 2143 '<div class="radio-item"><input type="radio" id="top-' + 2144 (i + 1) + 2145 '" name="col-2" value="' + 2146 s.find("a").attr("href") + 2147 '"><label class="form-label" for="top-' + 2148 (i + 1) + 2149 '">' + 2150 s.find("a").html() + 2151 "</label></div>" 2152 ).appendTo(a); 2153 }), 2154 s.find(".submenu-fil").length < 1) 2155 ) { 2156 var c = e('<h4 class="content-vide">Aucun type catégorie trouvée</h4>'); 2157 c.appendTo(a), c.parents(".breadcrumb-col-slider").removeClass("breadcrumb-col-slider"); 2158 } 2159 }); 2160 }), 2161 Assurone.Plugins.carouselMenuHandler(), 2162 Assurone.Plugins.carouselSousMenuHandler(); 2163 }), 2164 e(".breadcrumb") 2165 .find(".breadcrumb-feed") 2166 .eq(1) 2167 .each(function(i, t) { 2168 var s = e(this), 2169 o = e("<div />", { class: "radio-group slide-breadcrumb-seconde" }), 2170 n = e("<div />", { class: "breadcrumb-col" }); 2171 e("#primary-nav")
2172 .find(".item-menu-parent") 2173 .eq(1) 2174 .each(function(i, t) { 2175 var r = e(this); 2176 e('<h2 class="title-caption">' + r.find("a").eq(1).html() + "</h2>").appendTo(s), 2177 o.appendTo(s), 2178 n.appendTo(s), 2179 r.find(".item-submenu-child").each(function(i, t) { 2180 var s = e(this), 2181 r = e('<div class="radio-group" id="col-' + (i + 6) + '">'), 2182 a = e("<div />", { class: "breadcrumb-seconde-slider" }), 2183 l = e('<h3>Quel type de <span class="title-type">' + s.find("a").eq(0).html() + "</span> vous intéresse ?</h3>"), 2184 d = e("<a href='#' class='btn'>C'est parti</a>"); 2185 if ( 2186 (e( 2187 '<div class="radio-item"> <input type="radio" id="feed-' + 2188 (i + 6) + 2189 '" name="col-1" data-input="col-' + 2190 (i + 6) + 2191 '"><label class="form-label" for="feed-' + 2192 (i + 6) + 2193 '">' + 2194 s.find("a").eq(0).html() + 2195 "</label></div>" 2196 ).appendTo(o), 2197 r.appendTo(n), 2198 l.appendTo(r), 2199 l.find("i").remove(), 2200 a.appendTo(r), 2201 d.appendTo(r), 2202 0 == i && 2203 s.find(".submenu-fil").each(function(i, t) { 2204 var s = e(this); 2205 e( 2206 '<div class="radio-item"><input type="radio" id="mode-' + 2207 (i + 1) + 2208 '" name="col-2" value="' + 2209 s.find("a").attr("href") + 2210 '"><label class="form-label" for="mode-' + 2211 (i + 1) + 2212 '">' + 2213 s.find("a").html() + 2214 "</label></div>" 2215 ).appendTo(a); 2216 }), 2217 1 == i && 2218 s.find(".submenu-fil").each(function(i, t) { 2219 var s = e(this); 2220 e( 2221 '<div class="radio-item"><input type="radio" id="bread-' + 2222 (i + 1) + 2223 '" name="col-2" value="' + 2224 s.find("a").attr("href") + 2225 '">
2225<label class="form-label" for="bread-' + 2226 (i + 1) + 2227 '">' + 2228 s.find("a").html() + 2229 "</label></div>" 2230 ).appendTo(a); 2231 }), 2232 2 == i && 2233 s.find(".submenu-fil").each(function(i, t) { 2234 var s = e(this); 2235 e( 2236 '<div class="radio-item"><input type="radio" id="speed-' + 2237 (i + 1) + 2238 '" name="col-2" value="' + 2239 s.find("a").attr("href") + 2240 '"><label class="form-label" for="speed-' + 2241 (i + 1) + 2242 '">' + 2243 s.find("a").html() + 2244 "</label></div>" 2245 ).appendTo(a); 2246 }), 2247 3 == i && 2248 s.find(".submenu-fil").each(function(i, t) { 2249 var s = e(this); 2250 e( 2251 '<div class="radio-item"><input type="radio" id="margin-' + 2252 (i + 1) + 2253 '" name="col-2" value="' + 2254 s.find("a").attr("href") + 2255 '"><label class="form-label" for="margin-' + 2256 (i + 1) + 2257 '">' + 2258 s.find("a").html() + 2259 "</label></di>" 2260 ).appendTo(a); 2261 }), 2262 4 == i && 2263 s.find(".submenu-fil").each(function(i, t) { 2264 var s = e(this); 2265 e( 2266 '<div class="radio-item"><input type="radio" id="transition-' + 2267 (i + 1) + 2268 '" name="col-2" value="' + 2269 s.find("a").attr("href") + 2270 '"><label class="form-label" for="transition-' + 2271 (i + 1) + 2272 '">' + 2273 s.find("a").html() + 2274 "</label></div>" 2275 ).appendTo(a); 2276 }), 2277 s.find(".submenu-fil").length < 1) 2278 ) { 2279 var c = e('<h4 class="content-vide">Aucun type catégorie trouvée</h4>'); 2280 c.appendTo(a), c.parents(".breadcrumb-col-slider").removeClass("breadcrumb-col-slider"); 2281 } 2282 }); 2283 }), 2284 Assurone.Plugins.carouselMenuSecondeHandler(), 2285 Assurone.Plugins.carouselSousMenuSecondeHandler(); 2286 }), 2287 e(".breadcrumb") 2288 .find(".breadcrumb-feed") 2289 .eq(2) 2290 .each(function(i, t) { 2291 var s = e(this), 2292 o = e("<div />", { class: "feed-list" }); 2293 o.appendTo(s), 2294 e("#primary-nav")
2295 .find(".item-menu-parent") 2296 .eq(2) 2297 .each(function(i, t) { 2298 e(this) 2299 .find(".item-submenu-child") 2300 .each(function(i, t) { 2301 var s = e(this); 2302 e('<div class="feed-item"><a href="' + s.find("a").attr("href") + '">' + s.find("a").eq(0).html() + "</a></div>").appendTo(o); 2303 }); 2304 }); 2305 }); 2306 },*/ 2307 //FIN MENU FOOTER 2308 }, 2309 Helpers: { initAll: function () { } }, 2310 }).initAll(); 2311 })(jQuery); 2312})(jQuery);
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.