!function (a) {
"use strict";
"function" == typeof define && define.amd ? define(["jquery"], a) : "undefined" != typeof exports ? module.exports = a(require("jquery")) : a(jquery)
}(function (a) {
"use strict";
var b = window.slick || {};
b = function () {
function c(c, d) {
var f, e = this;
e.defaults = {
accessibility: !0,
adaptiveheight: !1,
appendarrows: a(c),
appenddots: a(c),
arrows: !0,
asnavfor: null,
prevarrow: '',
nextarrow: '',
autoplay: !1,
autoplayspeed: 3e3,
centermode: !1,
centerpadding: "50px",
cssease: "ease",
custompaging: function (b, c) {
return a('').text(c + 1)
},
dots: !1,
dotsclass: "slick-dots",
draggable: !0,
easing: "linear",
edgefriction: .35,
fade: !1,
focusonselect: !1,
infinite: !0,
initialslide: 0,
lazyload: "ondemand",
mobilefirst: !1,
pauseonhover: !0,
pauseonfocus: !0,
pauseondotshover: !1,
respondto: "window",
responsive: null,
rows: 1,
rtl: !1,
slide: "",
slidesperrow: 1,
slidestoshow: 1,
slidestoscroll: 1,
speed: 500,
swipe: !0,
swipetoslide: !1,
touchmove: !0,
touchthreshold: 5,
usecss: !0,
usetransform: !0,
variablewidth: !1,
vertical: !1,
verticalswiping: !1,
waitforanimate: !0,
zindex: 1e3
}, e.initials = {
animating: !1,
dragging: !1,
autoplaytimer: null,
currentdirection: 0,
currentleft: null,
currentslide: 0,
direction: 1,
$dots: null,
listwidth: null,
listheight: null,
loadindex: 0,
$nextarrow: null,
$prevarrow: null,
slidecount: null,
slidewidth: null,
$slidetrack: null,
$slides: null,
sliding: !1,
slideoffset: 0,
swipeleft: null,
$list: null,
touchobject: {},
transformsenabled: !1,
unslicked: !1
}, a.extend(e, e.initials), e.activebreakpoint = null, e.animtype = null, e.animprop = null, e.breakpoints = [], e.breakpointsettings = [], e.csstransitions = !1, e.focussed = !1, e.interrupted = !1, e.hidden = "hidden", e.paused = !0, e.positionprop = null, e.respondto = null, e.rowcount = 1, e.shouldclick = !0, e.$slider = a(c), e.$slidescache = null, e.transformtype = null, e.transitiontype = null, e.visibilitychange = "visibilitychange", e.windowwidth = 0, e.windowtimer = null, f = a(c).data("slick") || {}, e.options = a.extend({}, e.defaults, d, f), e.currentslide = e.options.initialslide, e.originalsettings = e.options, "undefined" != typeof document.mozhidden ? (e.hidden = "mozhidden", e.visibilitychange = "mozvisibilitychange") : "undefined" != typeof document.webkithidden && (e.hidden = "webkithidden", e.visibilitychange = "webkitvisibilitychange"), e.autoplay = a.proxy(e.autoplay, e), e.autoplayclear = a.proxy(e.autoplayclear, e), e.autoplayiterator = a.proxy(e.autoplayiterator, e), e.changeslide = a.proxy(e.changeslide, e), e.clickhandler = a.proxy(e.clickhandler, e), e.selecthandler = a.proxy(e.selecthandler, e), e.setposition = a.proxy(e.setposition, e), e.swipehandler = a.proxy(e.swipehandler, e), e.draghandler = a.proxy(e.draghandler, e), e.keyhandler = a.proxy(e.keyhandler, e), e.instanceuid = b++, e.htmlexpr = /^(?:\s*(<[\w\w]+>)[^>]*)$/, e.registerbreakpoints(), e.init(!0)
}
var b = 0;
return c
}(), b.prototype.activateada = function () {
var a = this;
a.$slidetrack.find(".slick-active").attr({"aria-hidden": "false"}).find("a, input, button, select").attr({tabindex: "0"})
}, b.prototype.addslide = b.prototype.slickadd = function (b, c, d) {
var e = this;
if ("boolean" == typeof c) d = c, c = null; else if (0 > c || c >= e.slidecount) return !1;
e.unload(), "number" == typeof c ? 0 === c && 0 === e.$slides.length ? a(b).appendto(e.$slidetrack) : d ? a(b).insertbefore(e.$slides.eq(c)) : a(b).insertafter(e.$slides.eq(c)) : d === !0 ? a(b).prependto(e.$slidetrack) : a(b).appendto(e.$slidetrack), e.$slides = e.$slidetrack.children(this.options.slide), e.$slidetrack.children(this.options.slide).detach(), e.$slidetrack.append(e.$slides), e.$slides.each(function (b, c) {
a(c).attr("data-slick-index", b)
}), e.$slidescache = e.$slides, e.reinit()
}, b.prototype.animateheight = function () {
var a = this;
if (1 === a.options.slidestoshow && a.options.adaptiveheight === !0 && a.options.vertical === !1) {
var b = a.$slides.eq(a.currentslide).outerheight(!0);
a.$list.animate({height: b}, a.options.speed)
}
}, b.prototype.animateslide = function (b, c) {
var d = {}, e = this;
e.animateheight(), e.options.rtl === !0 && e.options.vertical === !1 && (b = -b), e.transformsenabled === !1 ? e.options.vertical === !1 ? e.$slidetrack.animate({left: b}, e.options.speed, e.options.easing, c) : e.$slidetrack.animate({top: b}, e.options.speed, e.options.easing, c) : e.csstransitions === !1 ? (e.options.rtl === !0 && (e.currentleft = -e.currentleft), a({animstart: e.currentleft}).animate({animstart: b}, {
duration: e.options.speed,
easing: e.options.easing,
step: function (a) {
a = math.ceil(a), e.options.vertical === !1 ? (d[e.animtype] = "translate(" + a + "px, 0px)", e.$slidetrack.css(d)) : (d[e.animtype] = "translate(0px," + a + "px)", e.$slidetrack.css(d))
},
complete: function () {
c && c.call()
}
})) : (e.applytransition(), b = math.ceil(b), e.options.vertical === !1 ? d[e.animtype] = "translate3d(" + b + "px, 0px, 0px)" : d[e.animtype] = "translate3d(0px," + b + "px, 0px)", e.$slidetrack.css(d), c && settimeout(function () {
e.disabletransition(), c.call()
}, e.options.speed))
}, b.prototype.getnavtarget = function () {
var b = this, c = b.options.asnavfor;
return c && null !== c && (c = a(c).not(b.$slider)), c
}, b.prototype.asnavfor = function (b) {
var c = this, d = c.getnavtarget();
null !== d && "object" == typeof d && d.each(function () {
var c = a(this).slick("getslick");
c.unslicked || c.slidehandler(b, !0)
})
}, b.prototype.applytransition = function (a) {
var b = this, c = {};
b.options.fade === !1 ? c[b.transitiontype] = b.transformtype + " " + b.options.speed + "ms " + b.options.cssease : c[b.transitiontype] = "opacity " + b.options.speed + "ms " + b.options.cssease, b.options.fade === !1 ? b.$slidetrack.css(c) : b.$slides.eq(a).css(c)
}, b.prototype.autoplay = function () {
var a = this;
a.autoplayclear(), a.slidecount > a.options.slidestoshow && (a.autoplaytimer = setinterval(a.autoplayiterator, a.options.autoplayspeed))
}, b.prototype.autoplayclear = function () {
var a = this;
a.autoplaytimer && clearinterval(a.autoplaytimer)
}, b.prototype.autoplayiterator = function () {
var a = this, b = a.currentslide + a.options.slidestoscroll;
a.paused || a.interrupted || a.focussed || (a.options.infinite === !1 && (1 === a.direction && a.currentslide + 1 === a.slidecount - 1 ? a.direction = 0 : 0 === a.direction && (b = a.currentslide - a.options.slidestoscroll, a.currentslide - 1 === 0 && (a.direction = 1))), a.slidehandler(b))
}, b.prototype.buildarrows = function () {
var b = this;
b.options.arrows === !0 && (b.$prevarrow = a(b.options.prevarrow).addclass("slick-arrow"), b.$nextarrow = a(b.options.nextarrow).addclass("slick-arrow"), b.slidecount > b.options.slidestoshow ? (b.$prevarrow.removeclass("slick-hidden").removeattr("aria-hidden tabindex"), b.$nextarrow.removeclass("slick-hidden").removeattr("aria-hidden tabindex"), b.htmlexpr.test(b.options.prevarrow) && b.$prevarrow.prependto(b.options.appendarrows), b.htmlexpr.test(b.options.nextarrow) && b.$nextarrow.appendto(b.options.appendarrows), b.options.infinite !== !0 && b.$prevarrow.addclass("slick-disabled").attr("aria-disabled", "true")) : b.$prevarrow.add(b.$nextarrow).addclass("slick-hidden").attr({
"aria-disabled": "true",
tabindex: "-1"
}))
}, b.prototype.builddots = function () {
var c, d, b = this;
if (b.options.dots === !0 && b.slidecount > b.options.slidestoshow) {
for (b.$slider.addclass("slick-dotted"), d = a("
").addclass(b.options.dotsclass), c = 0; c <= b.getdotcount(); c += 1) d.append(a("").append(b.options.custompaging.call(this, b, c)));
b.$dots = d.appendto(b.options.appenddots), b.$dots.find("li").first().addclass("slick-active").attr("aria-hidden", "false")
}
}, b.prototype.buildout = function () {
var b = this;
b.$slides = b.$slider.children(b.options.slide + ":not(.slick-cloned)").addclass("slick-slide"), b.slidecount = b.$slides.length, b.$slides.each(function (b, c) {
a(c).attr("data-slick-index", b).data("originalstyling", a(c).attr("style") || "")
}), b.$slider.addclass("slick-slider"), b.$slidetrack = 0 === b.slidecount ? a('').appendto(b.$slider) : b.$slides.wrapall('').parent(), b.$list = b.$slidetrack.wrap('').parent(), b.$slidetrack.css("opacity", 0), (b.options.centermode === !0 || b.options.swipetoslide === !0) && (b.options.slidestoscroll = 1), a("img[data-lazy]", b.$slider).not("[src]").addclass("slick-loading"), b.setupinfinite(), b.buildarrows(), b.builddots(), b.updatedots(), b.setslideclasses("number" == typeof b.currentslide ? b.currentslide : 0), b.options.draggable === !0 && b.$list.addclass("draggable")
}, b.prototype.buildrows = function () {
var b, c, d, e, f, g, h, a = this;
if (e = document.createdocumentfragment(), g = a.$slider.children(), a.options.rows > 1) {
for (h = a.options.slidesperrow * a.options.rows, f = math.ceil(g.length / h), b = 0; f > b; b++) {
var i = document.createelement("div");
for (c = 0; c < a.options.rows; c++) {
var j = document.createelement("div");
for (d = 0; d < a.options.slidesperrow; d++) {
var k = b * h + (c * a.options.slidesperrow + d);
g.get(k) && j.appendchild(g.get(k))
}
i.appendchild(j)
}
e.appendchild(i)
}
a.$slider.empty().append(e), a.$slider.children().children().children().css({
width: 100 / a.options.slidesperrow + "%",
display: "inline-block"
})
}
}, b.prototype.checkresponsive = function (b, c) {
var e, f, g, d = this, h = !1, i = d.$slider.width(), j = window.innerwidth || a(window).width();
if ("window" === d.respondto ? g = j : "slider" === d.respondto ? g = i : "min" === d.respondto && (g = math.min(j, i)), d.options.responsive && d.options.responsive.length && null !== d.options.responsive) {
f = null;
for (e in d.breakpoints) d.breakpoints.hasownproperty(e) && (d.originalsettings.mobilefirst === !1 ? g < d.breakpoints[e] && (f = d.breakpoints[e]) : g > d.breakpoints[e] && (f = d.breakpoints[e]));
null !== f ? null !== d.activebreakpoint ? (f !== d.activebreakpoint || c) && (d.activebreakpoint = f, "unslick" === d.breakpointsettings[f] ? d.unslick(f) : (d.options = a.extend({}, d.originalsettings, d.breakpointsettings[f]), b === !0 && (d.currentslide = d.options.initialslide), d.refresh(b)), h = f) : (d.activebreakpoint = f, "unslick" === d.breakpointsettings[f] ? d.unslick(f) : (d.options = a.extend({}, d.originalsettings, d.breakpointsettings[f]), b === !0 && (d.currentslide = d.options.initialslide), d.refresh(b)), h = f) : null !== d.activebreakpoint && (d.activebreakpoint = null, d.options = d.originalsettings, b === !0 && (d.currentslide = d.options.initialslide), d.refresh(b), h = f), b || h === !1 || d.$slider.trigger("breakpoint", [d, h])
}
}, b.prototype.changeslide = function (b, c) {
var f, g, h, d = this, e = a(b.currenttarget);
switch (e.is("a") && b.preventdefault(), e.is("li") || (e = e.closest("li")), h = d.slidecount % d.options.slidestoscroll !== 0, f = h ? 0 : (d.slidecount - d.currentslide) % d.options.slidestoscroll, b.data.message) {
case"previous":
g = 0 === f ? d.options.slidestoscroll : d.options.slidestoshow - f, d.slidecount > d.options.slidestoshow && d.slidehandler(d.currentslide - g, !1, c);
break;
case"next":
g = 0 === f ? d.options.slidestoscroll : f, d.slidecount > d.options.slidestoshow && d.slidehandler(d.currentslide + g, !1, c);
break;
case"index":
var i = 0 === b.data.index ? 0 : b.data.index || e.index() * d.options.slidestoscroll;
d.slidehandler(d.checknavigable(i), !1, c), e.children().trigger("focus");
break;
default:
return
}
}, b.prototype.checknavigable = function (a) {
var c, d, b = this;
if (c = b.getnavigableindexes(), d = 0, a > c[c.length - 1]) a = c[c.length - 1]; else for (var e in c) {
if (a < c[e]) {
a = d;
break
}
d = c[e]
}
return a
}, b.prototype.cleanupevents = function () {
var b = this;
b.options.dots && null !== b.$dots && a("li", b.$dots).off("click.slick", b.changeslide).off("mouseenter.slick", a.proxy(b.interrupt, b, !0)).off("mouseleave.slick", a.proxy(b.interrupt, b, !1)), b.$slider.off("focus.slick blur.slick"), b.options.arrows === !0 && b.slidecount > b.options.slidestoshow && (b.$prevarrow && b.$prevarrow.off("click.slick", b.changeslide), b.$nextarrow && b.$nextarrow.off("click.slick", b.changeslide)), b.$list.off("touchstart.slick mousedown.slick", b.swipehandler), b.$list.off("touchmove.slick mousemove.slick", b.swipehandler), b.$list.off("touchend.slick mouseup.slick", b.swipehandler), b.$list.off("touchcancel.slick mouseleave.slick", b.swipehandler), b.$list.off("click.slick", b.clickhandler), a(document).off(b.visibilitychange, b.visibility), b.cleanupslideevents(), b.options.accessibility === !0 && b.$list.off("keydown.slick", b.keyhandler), b.options.focusonselect === !0 && a(b.$slidetrack).children().off("click.slick", b.selecthandler), a(window).off("orientationchange.slick.slick-" + b.instanceuid, b.orientationchange), a(window).off("resize.slick.slick-" + b.instanceuid, b.resize), a("[draggable!=true]", b.$slidetrack).off("dragstart", b.preventdefault), a(window).off("load.slick.slick-" + b.instanceuid, b.setposition), a(document).off("ready.slick.slick-" + b.instanceuid, b.setposition)
}, b.prototype.cleanupslideevents = function () {
var b = this;
b.$list.off("mouseenter.slick", a.proxy(b.interrupt, b, !0)), b.$list.off("mouseleave.slick", a.proxy(b.interrupt, b, !1))
}, b.prototype.cleanuprows = function () {
var b, a = this;
a.options.rows > 1 && (b = a.$slides.children().children(), b.removeattr("style"), a.$slider.empty().append(b))
}, b.prototype.clickhandler = function (a) {
var b = this;
b.shouldclick === !1 && (a.stopimmediatepropagation(), a.stoppropagation(), a.preventdefault())
}, b.prototype.destroy = function (b) {
var c = this;
c.autoplayclear(), c.touchobject = {}, c.cleanupevents(), a(".slick-cloned", c.$slider).detach(), c.$dots && c.$dots.remove(), c.$prevarrow && c.$prevarrow.length && (c.$prevarrow.removeclass("slick-disabled slick-arrow slick-hidden").removeattr("aria-hidden aria-disabled tabindex").css("display", ""), c.htmlexpr.test(c.options.prevarrow) && c.$prevarrow.remove()), c.$nextarrow && c.$nextarrow.length && (c.$nextarrow.removeclass("slick-disabled slick-arrow slick-hidden").removeattr("aria-hidden aria-disabled tabindex").css("display", ""), c.htmlexpr.test(c.options.nextarrow) && c.$nextarrow.remove()), c.$slides && (c.$slides.removeclass("slick-slide slick-active slick-center slick-visible slick-current").removeattr("aria-hidden").removeattr("data-slick-index").each(function () {
a(this).attr("style", a(this).data("originalstyling"))
}), c.$slidetrack.children(this.options.slide).detach(), c.$slidetrack.detach(), c.$list.detach(), c.$slider.append(c.$slides)), c.cleanuprows(), c.$slider.removeclass("slick-slider"), c.$slider.removeclass("slick-initialized"), c.$slider.removeclass("slick-dotted"), c.unslicked = !0, b || c.$slider.trigger("destroy", [c])
}, b.prototype.disabletransition = function (a) {
var b = this, c = {};
c[b.transitiontype] = "", b.options.fade === !1 ? b.$slidetrack.css(c) : b.$slides.eq(a).css(c)
}, b.prototype.fadeslide = function (a, b) {
var c = this;
c.csstransitions === !1 ? (c.$slides.eq(a).css({zindex: c.options.zindex}), c.$slides.eq(a).animate({opacity: 1}, c.options.speed, c.options.easing, b)) : (c.applytransition(a), c.$slides.eq(a).css({
opacity: 1,
zindex: c.options.zindex
}), b && settimeout(function () {
c.disabletransition(a), b.call()
}, c.options.speed))
}, b.prototype.fadeslideout = function (a) {
var b = this;
b.csstransitions === !1 ? b.$slides.eq(a).animate({
opacity: 0,
zindex: b.options.zindex - 2
}, b.options.speed, b.options.easing) : (b.applytransition(a), b.$slides.eq(a).css({
opacity: 0,
zindex: b.options.zindex - 2
}))
}, b.prototype.filterslides = b.prototype.slickfilter = function (a) {
var b = this;
null !== a && (b.$slidescache = b.$slides, b.unload(), b.$slidetrack.children(this.options.slide).detach(), b.$slidescache.filter(a).appendto(b.$slidetrack), b.reinit())
}, b.prototype.focushandler = function () {
var b = this;
b.$slider.off("focus.slick blur.slick").on("focus.slick blur.slick", "*:not(.slick-arrow)", function (c) {
c.stopimmediatepropagation();
var d = a(this);
settimeout(function () {
b.options.pauseonfocus && (b.focussed = d.is(":focus"), b.autoplay())
}, 0)
})
}, b.prototype.getcurrent = b.prototype.slickcurrentslide = function () {
var a = this;
return a.currentslide
}, b.prototype.getdotcount = function () {
var a = this, b = 0, c = 0, d = 0;
if (a.options.infinite === !0) for (; b < a.slidecount;) ++d, b = c + a.options.slidestoscroll, c += a.options.slidestoscroll <= a.options.slidestoshow ? a.options.slidestoscroll : a.options.slidestoshow; else if (a.options.centermode === !0) d = a.slidecount; else if (a.options.asnavfor) for (; b < a.slidecount;) ++d, b = c + a.options.slidestoscroll, c += a.options.slidestoscroll <= a.options.slidestoshow ? a.options.slidestoscroll : a.options.slidestoshow; else d = 1 + math.ceil((a.slidecount - a.options.slidestoshow) / a.options.slidestoscroll);
return d - 1
}, b.prototype.getleft = function (a) {
var c, d, f, b = this, e = 0;
return b.slideoffset = 0, d = b.$slides.first().outerheight(!0), b.options.infinite === !0 ? (b.slidecount > b.options.slidestoshow && (b.slideoffset = b.slidewidth * b.options.slidestoshow * -1, e = d * b.options.slidestoshow * -1), b.slidecount % b.options.slidestoscroll !== 0 && a + b.options.slidestoscroll > b.slidecount && b.slidecount > b.options.slidestoshow && (a > b.slidecount ? (b.slideoffset = (b.options.slidestoshow - (a - b.slidecount)) * b.slidewidth * -1, e = (b.options.slidestoshow - (a - b.slidecount)) * d * -1) : (b.slideoffset = b.slidecount % b.options.slidestoscroll * b.slidewidth * -1, e = b.slidecount % b.options.slidestoscroll * d * -1))) : a + b.options.slidestoshow > b.slidecount && (b.slideoffset = (a + b.options.slidestoshow - b.slidecount) * b.slidewidth, e = (a + b.options.slidestoshow - b.slidecount) * d), b.slidecount <= b.options.slidestoshow && (b.slideoffset = 0, e = 0), b.options.centermode === !0 && b.options.infinite === !0 ? b.slideoffset += b.slidewidth * math.floor(b.options.slidestoshow / 2) - b.slidewidth : b.options.centermode === !0 && (b.slideoffset = 0, b.slideoffset += b.slidewidth * math.floor(b.options.slidestoshow / 2)), c = b.options.vertical === !1 ? a * b.slidewidth * -1 + b.slideoffset : a * d * -1 + e, b.options.variablewidth === !0 && (f = b.slidecount <= b.options.slidestoshow || b.options.infinite === !1 ? b.$slidetrack.children(".slick-slide").eq(a) : b.$slidetrack.children(".slick-slide").eq(a + b.options.slidestoshow), c = b.options.rtl === !0 ? f[0] ? -1 * (b.$slidetrack.width() - f[0].offsetleft - f.width()) : 0 : f[0] ? -1 * f[0].offsetleft : 0, b.options.centermode === !0 && (f = b.slidecount <= b.options.slidestoshow || b.options.infinite === !1 ? b.$slidetrack.children(".slick-slide").eq(a) : b.$slidetrack.children(".slick-slide").eq(a + b.options.slidestoshow + 1), c = b.options.rtl === !0 ? f[0] ? -1 * (b.$slidetrack.width() - f[0].offsetleft - f.width()) : 0 : f[0] ? -1 * f[0].offsetleft : 0, c += (b.$list.width() - f.outerwidth()) / 2)), c
}, b.prototype.getoption = b.prototype.slickgetoption = function (a) {
var b = this;
return b.options[a]
}, b.prototype.getnavigableindexes = function () {
var e, a = this, b = 0, c = 0, d = [];
for (a.options.infinite === !1 ? e = a.slidecount : (b = -1 * a.options.slidestoscroll, c = -1 * a.options.slidestoscroll, e = 2 * a.slidecount); e > b;) d.push(b), b = c + a.options.slidestoscroll, c += a.options.slidestoscroll <= a.options.slidestoshow ? a.options.slidestoscroll : a.options.slidestoshow;
return d
}, b.prototype.getslick = function () {
return this
}, b.prototype.getslidecount = function () {
var c, d, e, b = this;
return e = b.options.centermode === !0 ? b.slidewidth * math.floor(b.options.slidestoshow / 2) : 0, b.options.swipetoslide === !0 ? (b.$slidetrack.find(".slick-slide").each(function (c, f) {
return f.offsetleft - e + a(f).outerwidth() / 2 > -1 * b.swipeleft ? (d = f, !1) : void 0
}), c = math.abs(a(d).attr("data-slick-index") - b.currentslide) || 1) : b.options.slidestoscroll
}, b.prototype.goto = b.prototype.slickgoto = function (a, b) {
var c = this;
c.changeslide({data: {message: "index", index: parseint(a)}}, b)
}, b.prototype.init = function (b) {
var c = this;
a(c.$slider).hasclass("slick-initialized") || (a(c.$slider).addclass("slick-initialized"), c.buildrows(), c.buildout(), c.setprops(), c.startload(), c.loadslider(), c.initializeevents(), c.updatearrows(), c.updatedots(), c.checkresponsive(!0), c.focushandler()), b && c.$slider.trigger("init", [c]), c.options.accessibility === !0 && c.initada(), c.options.autoplay && (c.paused = !1, c.autoplay())
}, b.prototype.initada = function () {
var b = this;
b.$slides.add(b.$slidetrack.find(".slick-cloned")).attr({
"aria-hidden": "true",
tabindex: "-1"
}).find("a, input, button, select").attr({tabindex: "-1"}), b.$slidetrack.attr("role", "listbox"), b.$slides.not(b.$slidetrack.find(".slick-cloned")).each(function (c) {
a(this).attr({role: "option", "aria-describedby": "slick-slide" + b.instanceuid + c})
}), null !== b.$dots && b.$dots.attr("role", "tablist").find("li").each(function (c) {
a(this).attr({
role: "presentation",
"aria-selected": "false",
"aria-controls": "navigation" + b.instanceuid + c,
id: "slick-slide" + b.instanceuid + c
})
}).first().attr("aria-selected", "true").end().find("button").attr("role", "button").end().closest("div").attr("role", "toolbar"), b.activateada()
}, b.prototype.initarrowevents = function () {
var a = this;
a.options.arrows === !0 && a.slidecount > a.options.slidestoshow && (a.$prevarrow.off("click.slick").on("click.slick", {message: "previous"}, a.changeslide), a.$nextarrow.off("click.slick").on("click.slick", {message: "next"}, a.changeslide))
}, b.prototype.initdotevents = function () {
var b = this;
b.options.dots === !0 && b.slidecount > b.options.slidestoshow && a("li", b.$dots).on("click.slick", {message: "index"}, b.changeslide), b.options.dots === !0 && b.options.pauseondotshover === !0 && a("li", b.$dots).on("mouseenter.slick", a.proxy(b.interrupt, b, !0)).on("mouseleave.slick", a.proxy(b.interrupt, b, !1))
}, b.prototype.initslideevents = function () {
var b = this;
b.options.pauseonhover && (b.$list.on("mouseenter.slick", a.proxy(b.interrupt, b, !0)), b.$list.on("mouseleave.slick", a.proxy(b.interrupt, b, !1)))
}, b.prototype.initializeevents = function () {
var b = this;
b.initarrowevents(), b.initdotevents(), b.initslideevents(), b.$list.on("touchstart.slick mousedown.slick", {action: "start"}, b.swipehandler), b.$list.on("touchmove.slick mousemove.slick", {action: "move"}, b.swipehandler), b.$list.on("touchend.slick mouseup.slick", {action: "end"}, b.swipehandler), b.$list.on("touchcancel.slick mouseleave.slick", {action: "end"}, b.swipehandler), b.$list.on("click.slick", b.clickhandler), a(document).on(b.visibilitychange, a.proxy(b.visibility, b)), b.options.accessibility === !0 && b.$list.on("keydown.slick", b.keyhandler), b.options.focusonselect === !0 && a(b.$slidetrack).children().on("click.slick", b.selecthandler), a(window).on("orientationchange.slick.slick-" + b.instanceuid, a.proxy(b.orientationchange, b)), a(window).on("resize.slick.slick-" + b.instanceuid, a.proxy(b.resize, b)), a("[draggable!=true]", b.$slidetrack).on("dragstart", b.preventdefault), a(window).on("load.slick.slick-" + b.instanceuid, b.setposition), a(document).on("ready.slick.slick-" + b.instanceuid, b.setposition)
}, b.prototype.initui = function () {
var a = this;
a.options.arrows === !0 && a.slidecount > a.options.slidestoshow && (a.$prevarrow.show(), a.$nextarrow.show()), a.options.dots === !0 && a.slidecount > a.options.slidestoshow && a.$dots.show()
}, b.prototype.keyhandler = function (a) {
var b = this;
a.target.tagname.match("textarea|input|select") || (37 === a.keycode && b.options.accessibility === !0 ? b.changeslide({data: {message: b.options.rtl === !0 ? "next" : "previous"}}) : 39 === a.keycode && b.options.accessibility === !0 && b.changeslide({data: {message: b.options.rtl === !0 ? "previous" : "next"}}))
}, b.prototype.lazyload = function () {
function g(c) {
a("img[data-lazy]", c).each(function () {
var c = a(this), d = a(this).attr("data-lazy"), e = document.createelement("img");
e.onload = function () {
c.animate({opacity: 0}, 100, function () {
c.attr("src", d).animate({opacity: 1}, 200, function () {
c.removeattr("data-lazy").removeclass("slick-loading")
}), b.$slider.trigger("lazyloaded", [b, c, d])
})
}, e.onerror = function () {
c.removeattr("data-lazy").removeclass("slick-loading").addclass("slick-lazyload-error"), b.$slider.trigger("lazyloaderror", [b, c, d])
}, e.src = d
})
}
var c, d, e, f, b = this;
b.options.centermode === !0 ? b.options.infinite === !0 ? (e = b.currentslide + (b.options.slidestoshow / 2 + 1), f = e + b.options.slidestoshow + 2) : (e = math.max(0, b.currentslide - (b.options.slidestoshow / 2 + 1)), f = 2 + (b.options.slidestoshow / 2 + 1) + b.currentslide) : (e = b.options.infinite ? b.options.slidestoshow + b.currentslide : b.currentslide, f = math.ceil(e + b.options.slidestoshow), b.options.fade === !0 && (e > 0 && e--, f <= b.slidecount && f++)), c = b.$slider.find(".slick-slide").slice(e, f), g(c), b.slidecount <= b.options.slidestoshow ? (d = b.$slider.find(".slick-slide"), g(d)) : b.currentslide >= b.slidecount - b.options.slidestoshow ? (d = b.$slider.find(".slick-cloned").slice(0, b.options.slidestoshow), g(d)) : 0 === b.currentslide && (d = b.$slider.find(".slick-cloned").slice(-1 * b.options.slidestoshow), g(d))
}, b.prototype.loadslider = function () {
var a = this;
a.setposition(), a.$slidetrack.css({opacity: 1}), a.$slider.removeclass("slick-loading"), a.initui(), "progressive" === a.options.lazyload && a.progressivelazyload()
}, b.prototype.next = b.prototype.slicknext = function () {
var a = this;
a.changeslide({data: {message: "next"}})
}, b.prototype.orientationchange = function () {
var a = this;
a.checkresponsive(), a.setposition()
}, b.prototype.pause = b.prototype.slickpause = function () {
var a = this;
a.autoplayclear(), a.paused = !0
}, b.prototype.play = b.prototype.slickplay = function () {
var a = this;
a.autoplay(), a.options.autoplay = !0, a.paused = !1, a.focussed = !1, a.interrupted = !1
}, b.prototype.postslide = function (a) {
var b = this;
b.unslicked || (b.$slider.trigger("afterchange", [b, a]), b.animating = !1, b.setposition(), b.swipeleft = null, b.options.autoplay && b.autoplay(), b.options.accessibility === !0 && b.initada())
}, b.prototype.prev = b.prototype.slickprev = function () {
var a = this;
a.changeslide({data: {message: "previous"}})
}, b.prototype.preventdefault = function (a) {
a.preventdefault()
}, b.prototype.progressivelazyload = function (b) {
b = b || 1;
var e, f, g, c = this, d = a("img[data-lazy]", c.$slider);
d.length ? (e = d.first(), f = e.attr("data-lazy"), g = document.createelement("img"), g.onload = function () {
e.attr("src", f).removeattr("data-lazy").removeclass("slick-loading"), c.options.adaptiveheight === !0 && c.setposition(), c.$slider.trigger("lazyloaded", [c, e, f]), c.progressivelazyload()
}, g.onerror = function () {
3 > b ? settimeout(function () {
c.progressivelazyload(b + 1)
}, 500) : (e.removeattr("data-lazy").removeclass("slick-loading").addclass("slick-lazyload-error"), c.$slider.trigger("lazyloaderror", [c, e, f]), c.progressivelazyload())
}, g.src = f) : c.$slider.trigger("allimagesloaded", [c])
}, b.prototype.refresh = function (b) {
var d, e, c = this;
e = c.slidecount - c.options.slidestoshow, !c.options.infinite && c.currentslide > e && (c.currentslide = e), c.slidecount <= c.options.slidestoshow && (c.currentslide = 0), d = c.currentslide, c.destroy(!0), a.extend(c, c.initials, {currentslide: d}), c.init(), b || c.changeslide({
data: {
message: "index",
index: d
}
}, !1)
}, b.prototype.registerbreakpoints = function () {
var c, d, e, b = this, f = b.options.responsive || null;
if ("array" === a.type(f) && f.length) {
b.respondto = b.options.respondto || "window";
for (c in f) if (e = b.breakpoints.length - 1, d = f[c].breakpoint, f.hasownproperty(c)) {
for (; e >= 0;) b.breakpoints[e] && b.breakpoints[e] === d && b.breakpoints.splice(e, 1), e--;
b.breakpoints.push(d), b.breakpointsettings[d] = f[c].settings
}
b.breakpoints.sort(function (a, c) {
return b.options.mobilefirst ? a - c : c - a
})
}
}, b.prototype.reinit = function () {
var b = this;
b.$slides = b.$slidetrack.children(b.options.slide).addclass("slick-slide"), b.slidecount = b.$slides.length, b.currentslide >= b.slidecount && 0 !== b.currentslide && (b.currentslide = b.currentslide - b.options.slidestoscroll), b.slidecount <= b.options.slidestoshow && (b.currentslide = 0), b.registerbreakpoints(), b.setprops(), b.setupinfinite(), b.buildarrows(), b.updatearrows(), b.initarrowevents(), b.builddots(), b.updatedots(), b.initdotevents(), b.cleanupslideevents(), b.initslideevents(), b.checkresponsive(!1, !0), b.options.focusonselect === !0 && a(b.$slidetrack).children().on("click.slick", b.selecthandler), b.setslideclasses("number" == typeof b.currentslide ? b.currentslide : 0), b.setposition(), b.focushandler(), b.paused = !b.options.autoplay, b.autoplay(), b.$slider.trigger("reinit", [b])
}, b.prototype.resize = function () {
var b = this;
a(window).width() !== b.windowwidth && (cleartimeout(b.windowdelay), b.windowdelay = window.settimeout(function () {
b.windowwidth = a(window).width(), b.checkresponsive(), b.unslicked || b.setposition()
}, 50))
}, b.prototype.removeslide = b.prototype.slickremove = function (a, b, c) {
var d = this;
return "boolean" == typeof a ? (b = a, a = b === !0 ? 0 : d.slidecount - 1) : a = b === !0 ? --a : a, d.slidecount < 1 || 0 > a || a > d.slidecount - 1 ? !1 : (d.unload(), c === !0 ? d.$slidetrack.children().remove() : d.$slidetrack.children(this.options.slide).eq(a).remove(), d.$slides = d.$slidetrack.children(this.options.slide), d.$slidetrack.children(this.options.slide).detach(), d.$slidetrack.append(d.$slides), d.$slidescache = d.$slides, void d.reinit())
}, b.prototype.setcss = function (a) {
var d, e, b = this, c = {};
b.options.rtl === !0 && (a = -a), d = "left" == b.positionprop ? math.ceil(a) + "px" : "0px", e = "top" == b.positionprop ? math.ceil(a) + "px" : "0px", c[b.positionprop] = a, b.transformsenabled === !1 ? b.$slidetrack.css(c) : (c = {}, b.csstransitions === !1 ? (c[b.animtype] = "translate(" + d + ", " + e + ")", b.$slidetrack.css(c)) : (c[b.animtype] = "translate3d(" + d + ", " + e + ", 0px)", b.$slidetrack.css(c)))
}, b.prototype.setdimensions = function () {
var a = this;
a.options.vertical === !1 ? a.options.centermode === !0 && a.$list.css({padding: "0px " + a.options.centerpadding}) : (a.$list.height(a.$slides.first().outerheight(!0) * a.options.slidestoshow), a.options.centermode === !0 && a.$list.css({padding: a.options.centerpadding + " 0px"})), a.listwidth = a.$list.width(), a.listheight = a.$list.height(), a.options.vertical === !1 && a.options.variablewidth === !1 ? (a.slidewidth = math.ceil(a.listwidth / a.options.slidestoshow), a.$slidetrack.width(math.ceil(a.slidewidth * a.$slidetrack.children(".slick-slide").length))) : a.options.variablewidth === !0 ? a.$slidetrack.width(5e3 * a.slidecount) : (a.slidewidth = math.ceil(a.listwidth), a.$slidetrack.height(math.ceil(a.$slides.first().outerheight(!0) * a.$slidetrack.children(".slick-slide").length)));
var b = a.$slides.first().outerwidth(!0) - a.$slides.first().width();
a.options.variablewidth === !1 && a.$slidetrack.children(".slick-slide").width(a.slidewidth - b)
}, b.prototype.setfade = function () {
var c, b = this;
b.$slides.each(function (d, e) {
c = b.slidewidth * d * -1, b.options.rtl === !0 ? a(e).css({
position: "relative",
right: c,
top: 0,
zindex: b.options.zindex - 2,
opacity: 0
}) : a(e).css({position: "relative", left: c, top: 0, zindex: b.options.zindex - 2, opacity: 0})
}), b.$slides.eq(b.currentslide).css({zindex: b.options.zindex - 1, opacity: 1})
}, b.prototype.setheight = function () {
var a = this;
if (1 === a.options.slidestoshow && a.options.adaptiveheight === !0 && a.options.vertical === !1) {
var b = a.$slides.eq(a.currentslide).outerheight(!0);
a.$list.css("height", b)
}
}, b.prototype.setoption = b.prototype.slicksetoption = function () {
var c, d, e, f, h, b = this, g = !1;
if ("object" === a.type(arguments[0]) ? (e = arguments[0], g = arguments[1], h = "multiple") : "string" === a.type(arguments[0]) && (e = arguments[0], f = arguments[1], g = arguments[2], "responsive" === arguments[0] && "array" === a.type(arguments[1]) ? h = "responsive" : "undefined" != typeof arguments[1] && (h = "single")), "single" === h) b.options[e] = f; else if ("multiple" === h) a.each(e, function (a, c) {
b.options[a] = c
}); else if ("responsive" === h) for (d in f) if ("array" !== a.type(b.options.responsive)) b.options.responsive = [f[d]]; else {
for (c = b.options.responsive.length - 1; c >= 0;) b.options.responsive[c].breakpoint === f[d].breakpoint && b.options.responsive.splice(c, 1), c--;
b.options.responsive.push(f[d])
}
g && (b.unload(), b.reinit())
}, b.prototype.setposition = function () {
var a = this;
a.setdimensions(), a.setheight(), a.options.fade === !1 ? a.setcss(a.getleft(a.currentslide)) : a.setfade(), a.$slider.trigger("setposition", [a])
}, b.prototype.setprops = function () {
var a = this, b = document.body.style;
a.positionprop = a.options.vertical === !0 ? "top" : "left", "top" === a.positionprop ? a.$slider.addclass("slick-vertical") : a.$slider.removeclass("slick-vertical"), (void 0 !== b.webkittransition || void 0 !== b.moztransition || void 0 !== b.mstransition) && a.options.usecss === !0 && (a.csstransitions = !0), a.options.fade && ("number" == typeof a.options.zindex ? a.options.zindex < 3 && (a.options.zindex = 3) : a.options.zindex = a.defaults.zindex), void 0 !== b.otransform && (a.animtype = "otransform", a.transformtype = "-o-transform", a.transitiontype = "otransition", void 0 === b.perspectiveproperty && void 0 === b.webkitperspective && (a.animtype = !1)), void 0 !== b.moztransform && (a.animtype = "moztransform", a.transformtype = "-moz-transform", a.transitiontype = "moztransition", void 0 === b.perspectiveproperty && void 0 === b.mozperspective && (a.animtype = !1)), void 0 !== b.webkittransform && (a.animtype = "webkittransform", a.transformtype = "-webkit-transform", a.transitiontype = "webkittransition", void 0 === b.perspectiveproperty && void 0 === b.webkitperspective && (a.animtype = !1)), void 0 !== b.mstransform && (a.animtype = "mstransform", a.transformtype = "-ms-transform", a.transitiontype = "mstransition", void 0 === b.mstransform && (a.animtype = !1)), void 0 !== b.transform && a.animtype !== !1 && (a.animtype = "transform", a.transformtype = "transform", a.transitiontype = "transition"), a.transformsenabled = a.options.usetransform && null !== a.animtype && a.animtype !== !1
}, b.prototype.setslideclasses = function (a) {
var c, d, e, f, b = this;
d = b.$slider.find(".slick-slide").removeclass("slick-active slick-center slick-current").attr("aria-hidden", "true"), b.$slides.eq(a).addclass("slick-current"), b.options.centermode === !0 ? (c = math.floor(b.options.slidestoshow / 2), b.options.infinite === !0 && (a >= c && a <= b.slidecount - 1 - c ? b.$slides.slice(a - c, a + c + 1).addclass("slick-active").attr("aria-hidden", "false") : (e = b.options.slidestoshow + a,
d.slice(e - c + 1, e + c + 2).addclass("slick-active").attr("aria-hidden", "false")), 0 === a ? d.eq(d.length - 1 - b.options.slidestoshow).addclass("slick-center") : a === b.slidecount - 1 && d.eq(b.options.slidestoshow).addclass("slick-center")), b.$slides.eq(a).addclass("slick-center")) : a >= 0 && a <= b.slidecount - b.options.slidestoshow ? b.$slides.slice(a, a + b.options.slidestoshow).addclass("slick-active").attr("aria-hidden", "false") : d.length <= b.options.slidestoshow ? d.addclass("slick-active").attr("aria-hidden", "false") : (f = b.slidecount % b.options.slidestoshow, e = b.options.infinite === !0 ? b.options.slidestoshow + a : a, b.options.slidestoshow == b.options.slidestoscroll && b.slidecount - a < b.options.slidestoshow ? d.slice(e - (b.options.slidestoshow - f), e + f).addclass("slick-active").attr("aria-hidden", "false") : d.slice(e, e + b.options.slidestoshow).addclass("slick-active").attr("aria-hidden", "false")), "ondemand" === b.options.lazyload && b.lazyload()
}, b.prototype.setupinfinite = function () {
var c, d, e, b = this;
if (b.options.fade === !0 && (b.options.centermode = !1), b.options.infinite === !0 && b.options.fade === !1 && (d = null, b.slidecount > b.options.slidestoshow)) {
for (e = b.options.centermode === !0 ? b.options.slidestoshow + 1 : b.options.slidestoshow, c = b.slidecount; c > b.slidecount - e; c -= 1) d = c - 1, a(b.$slides[d]).clone(!0).attr("id", "").attr("data-slick-index", d - b.slidecount).prependto(b.$slidetrack).addclass("slick-cloned");
for (c = 0; e > c; c += 1) d = c, a(b.$slides[d]).clone(!0).attr("id", "").attr("data-slick-index", d + b.slidecount).appendto(b.$slidetrack).addclass("slick-cloned");
b.$slidetrack.find(".slick-cloned").find("[id]").each(function () {
a(this).attr("id", "")
})
}
}, b.prototype.interrupt = function (a) {
var b = this;
a || b.autoplay(), b.interrupted = a
}, b.prototype.selecthandler = function (b) {
var c = this, d = a(b.target).is(".slick-slide") ? a(b.target) : a(b.target).parents(".slick-slide"),
e = parseint(d.attr("data-slick-index"));
return e || (e = 0), c.slidecount <= c.options.slidestoshow ? (c.setslideclasses(e), void c.asnavfor(e)) : void c.slidehandler(e)
}, b.prototype.slidehandler = function (a, b, c) {
var d, e, f, g, j, h = null, i = this;
return b = b || !1, i.animating === !0 && i.options.waitforanimate === !0 || i.options.fade === !0 && i.currentslide === a || i.slidecount <= i.options.slidestoshow ? void 0 : (b === !1 && i.asnavfor(a), d = a, h = i.getleft(d), g = i.getleft(i.currentslide), i.currentleft = null === i.swipeleft ? g : i.swipeleft, i.options.infinite === !1 && i.options.centermode === !1 && (0 > a || a > i.getdotcount() * i.options.slidestoscroll) ? void(i.options.fade === !1 && (d = i.currentslide, c !== !0 ? i.animateslide(g, function () {
i.postslide(d)
}) : i.postslide(d))) : i.options.infinite === !1 && i.options.centermode === !0 && (0 > a || a > i.slidecount - i.options.slidestoscroll) ? void(i.options.fade === !1 && (d = i.currentslide, c !== !0 ? i.animateslide(g, function () {
i.postslide(d)
}) : i.postslide(d))) : (i.options.autoplay && clearinterval(i.autoplaytimer), e = 0 > d ? i.slidecount % i.options.slidestoscroll !== 0 ? i.slidecount - i.slidecount % i.options.slidestoscroll : i.slidecount + d : d >= i.slidecount ? i.slidecount % i.options.slidestoscroll !== 0 ? 0 : d - i.slidecount : d, i.animating = !0, i.$slider.trigger("beforechange", [i, i.currentslide, e]), f = i.currentslide, i.currentslide = e, i.setslideclasses(i.currentslide), i.options.asnavfor && (j = i.getnavtarget(), j = j.slick("getslick"), j.slidecount <= j.options.slidestoshow && j.setslideclasses(i.currentslide)), i.updatedots(), i.updatearrows(), i.options.fade === !0 ? (c !== !0 ? (i.fadeslideout(f), i.fadeslide(e, function () {
i.postslide(e)
})) : i.postslide(e), void i.animateheight()) : void(c !== !0 ? i.animateslide(h, function () {
i.postslide(e)
}) : i.postslide(e))))
}, b.prototype.startload = function () {
var a = this;
a.options.arrows === !0 && a.slidecount > a.options.slidestoshow && (a.$prevarrow.hide(), a.$nextarrow.hide()), a.options.dots === !0 && a.slidecount > a.options.slidestoshow && a.$dots.hide(), a.$slider.addclass("slick-loading")
}, b.prototype.swipedirection = function () {
var a, b, c, d, e = this;
return a = e.touchobject.startx - e.touchobject.curx, b = e.touchobject.starty - e.touchobject.cury, c = math.atan2(b, a), d = math.round(180 * c / math.pi), 0 > d && (d = 360 - math.abs(d)), 45 >= d && d >= 0 ? e.options.rtl === !1 ? "left" : "right" : 360 >= d && d >= 315 ? e.options.rtl === !1 ? "left" : "right" : d >= 135 && 225 >= d ? e.options.rtl === !1 ? "right" : "left" : e.options.verticalswiping === !0 ? d >= 35 && 135 >= d ? "down" : "up" : "vertical"
}, b.prototype.swipeend = function (a) {
var c, d, b = this;
if (b.dragging = !1, b.interrupted = !1, b.shouldclick = b.touchobject.swipelength > 10 ? !1 : !0, void 0 === b.touchobject.curx) return !1;
if (b.touchobject.edgehit === !0 && b.$slider.trigger("edge", [b, b.swipedirection()]), b.touchobject.swipelength >= b.touchobject.minswipe) {
switch (d = b.swipedirection()) {
case"left":
case"down":
c = b.options.swipetoslide ? b.checknavigable(b.currentslide + b.getslidecount()) : b.currentslide + b.getslidecount(), b.currentdirection = 0;
break;
case"right":
case"up":
c = b.options.swipetoslide ? b.checknavigable(b.currentslide - b.getslidecount()) : b.currentslide - b.getslidecount(), b.currentdirection = 1
}
"vertical" != d && (b.slidehandler(c), b.touchobject = {}, b.$slider.trigger("swipe", [b, d]))
} else b.touchobject.startx !== b.touchobject.curx && (b.slidehandler(b.currentslide), b.touchobject = {})
}, b.prototype.swipehandler = function (a) {
var b = this;
if (!(b.options.swipe === !1 || "ontouchend" in document && b.options.swipe === !1 || b.options.draggable === !1 && -1 !== a.type.indexof("mouse"))) switch (b.touchobject.fingercount = a.originalevent && void 0 !== a.originalevent.touches ? a.originalevent.touches.length : 1, b.touchobject.minswipe = b.listwidth / b.options.touchthreshold, b.options.verticalswiping === !0 && (b.touchobject.minswipe = b.listheight / b.options.touchthreshold), a.data.action) {
case"start":
b.swipestart(a);
break;
case"move":
b.swipemove(a);
break;
case"end":
b.swipeend(a)
}
}, b.prototype.swipemove = function (a) {
var d, e, f, g, h, b = this;
return h = void 0 !== a.originalevent ? a.originalevent.touches : null, !b.dragging || h && 1 !== h.length ? !1 : (d = b.getleft(b.currentslide), b.touchobject.curx = void 0 !== h ? h[0].pagex : a.clientx, b.touchobject.cury = void 0 !== h ? h[0].pagey : a.clienty, b.touchobject.swipelength = math.round(math.sqrt(math.pow(b.touchobject.curx - b.touchobject.startx, 2))), b.options.verticalswiping === !0 && (b.touchobject.swipelength = math.round(math.sqrt(math.pow(b.touchobject.cury - b.touchobject.starty, 2)))), e = b.swipedirection(), "vertical" !== e ? (void 0 !== a.originalevent && b.touchobject.swipelength > 4 && a.preventdefault(), g = (b.options.rtl === !1 ? 1 : -1) * (b.touchobject.curx > b.touchobject.startx ? 1 : -1), b.options.verticalswiping === !0 && (g = b.touchobject.cury > b.touchobject.starty ? 1 : -1), f = b.touchobject.swipelength, b.touchobject.edgehit = !1, b.options.infinite === !1 && (0 === b.currentslide && "right" === e || b.currentslide >= b.getdotcount() && "left" === e) && (f = b.touchobject.swipelength * b.options.edgefriction, b.touchobject.edgehit = !0), b.options.vertical === !1 ? b.swipeleft = d + f * g : b.swipeleft = d + f * (b.$list.height() / b.listwidth) * g, b.options.verticalswiping === !0 && (b.swipeleft = d + f * g), b.options.fade === !0 || b.options.touchmove === !1 ? !1 : b.animating === !0 ? (b.swipeleft = null, !1) : void b.setcss(b.swipeleft)) : void 0)
}, b.prototype.swipestart = function (a) {
var c, b = this;
return b.interrupted = !0, 1 !== b.touchobject.fingercount || b.slidecount <= b.options.slidestoshow ? (b.touchobject = {}, !1) : (void 0 !== a.originalevent && void 0 !== a.originalevent.touches && (c = a.originalevent.touches[0]), b.touchobject.startx = b.touchobject.curx = void 0 !== c ? c.pagex : a.clientx, b.touchobject.starty = b.touchobject.cury = void 0 !== c ? c.pagey : a.clienty, void(b.dragging = !0))
}, b.prototype.unfilterslides = b.prototype.slickunfilter = function () {
var a = this;
null !== a.$slidescache && (a.unload(), a.$slidetrack.children(this.options.slide).detach(), a.$slidescache.appendto(a.$slidetrack), a.reinit())
}, b.prototype.unload = function () {
var b = this;
a(".slick-cloned", b.$slider).remove(), b.$dots && b.$dots.remove(), b.$prevarrow && b.htmlexpr.test(b.options.prevarrow) && b.$prevarrow.remove(), b.$nextarrow && b.htmlexpr.test(b.options.nextarrow) && b.$nextarrow.remove(), b.$slides.removeclass("slick-slide slick-active slick-visible slick-current").attr("aria-hidden", "true").css("width", "")
}, b.prototype.unslick = function (a) {
var b = this;
b.$slider.trigger("unslick", [b, a]), b.destroy()
}, b.prototype.updatearrows = function () {
var b, a = this;
b = math.floor(a.options.slidestoshow / 2), a.options.arrows === !0 && a.slidecount > a.options.slidestoshow && !a.options.infinite && (a.$prevarrow.removeclass("slick-disabled").attr("aria-disabled", "false"), a.$nextarrow.removeclass("slick-disabled").attr("aria-disabled", "false"), 0 === a.currentslide ? (a.$prevarrow.addclass("slick-disabled").attr("aria-disabled", "true"), a.$nextarrow.removeclass("slick-disabled").attr("aria-disabled", "false")) : a.currentslide >= a.slidecount - a.options.slidestoshow && a.options.centermode === !1 ? (a.$nextarrow.addclass("slick-disabled").attr("aria-disabled", "true"), a.$prevarrow.removeclass("slick-disabled").attr("aria-disabled", "false")) : a.currentslide >= a.slidecount - 1 && a.options.centermode === !0 && (a.$nextarrow.addclass("slick-disabled").attr("aria-disabled", "true"), a.$prevarrow.removeclass("slick-disabled").attr("aria-disabled", "false")))
}, b.prototype.updatedots = function () {
var a = this;
null !== a.$dots && (a.$dots.find("li").removeclass("slick-active").attr("aria-hidden", "true"), a.$dots.find("li").eq(math.floor(a.currentslide / a.options.slidestoscroll)).addclass("slick-active").attr("aria-hidden", "false"))
}, b.prototype.visibility = function () {
var a = this;
a.options.autoplay && (document[a.hidden] ? a.interrupted = !0 : a.interrupted = !1)
}, a.fn.slick = function () {
var f, g, a = this, c = arguments[0], d = array.prototype.slice.call(arguments, 1), e = a.length;
for (f = 0; e > f; f++) if ("object" == typeof c || "undefined" == typeof c ? a[f].slick = new b(a[f], c) : g = a[f].slick[c].apply(a[f].slick, d), "undefined" != typeof g) return g;
return a
}
});
!function (t) {
t.fn.tabs = function (i) {
var n = {active: 0, tit: "li", curclass: "current", trigger: "click"}, e = t.extend(n, i);
return this.each(function () {
function i(t) {
a.removeclass(e.curclass).eq(t).addclass(e.curclass), r.hide().eq(t).show()
}
var n = t(this), c = n.attr("tab-tit"), r = t("[tab-con=" + c + "]"), a = n.find(e.tit);
a.bind(e.trigger, function (t) {
i(a.index(this)), t.preventdefault()
}).bind("click", function (t) {
t.preventdefault()
}), i(e.active)
})
}
}(jquery);
/*
pinterest grid plugin
copyright 2014 mediademons
@author smm 16/04/2014
usage:
$(document).ready(function() {
$('#blog-landing').pinterest_grid({
no_columns: 4
});
});
*/
// 瀑布流插件
;(function ($, window, document, undefined) {
var pluginname = 'pinterest_grid',
defaults = {
padding_x: 10,
padding_y: 10,
no_columns: 3,
margin_bottom: 50,
single_column_breakpoint: 700
},
columns,
$article,
article_width;
function plugin(element, options) {
this.element = element;
this.options = $.extend({}, defaults, options);
this._defaults = defaults;
this._name = pluginname;
this.init();
}
plugin.prototype.init = function () {
var self = this,
resize_finish;
$(window).resize(function () {
cleartimeout(resize_finish);
resize_finish = settimeout(function () {
self.make_layout_change(self);
}, 11);
});
self.make_layout_change(self);
settimeout(function () {
$(window).resize();
}, 500);
};
plugin.prototype.calculate = function (single_column_mode) {
var self = this,
tallest = 0,
row = 0,
$container = $(this.element),
container_width = $container.width();
$article = $(this.element).children();
if (single_column_mode === true) {
article_width = $container.width() - self.options.padding_x;
} else {
article_width = ($container.width() - self.options.padding_x * self.options.no_columns) / self.options.no_columns;
}
$article.each(function () {
$(this).css('width', article_width);
});
columns = self.options.no_columns;
$article.each(function (index) {
var current_column,
left_out = 0,
top = 0,
$this = $(this),
prevall = $this.prevall(),
tallest = 0;
if (single_column_mode === false) {
current_column = (index % columns);
} else {
current_column = 0;
}
for (var t = 0; t < columns; t++) {
$this.removeclass('c' + t);
}
if (index % columns === 0) {
row++;
}
$this.addclass('c' + current_column);
$this.addclass('r' + row);
prevall.each(function (index) {
if ($(this).hasclass('c' + current_column)) {
top += $(this).outerheight() + self.options.padding_y;
}
});
if (single_column_mode === true) {
left_out = 0;
} else {
left_out = (index % columns) * (article_width + self.options.padding_x);
}
$this.css({
'left': left_out,
'top': top
});
});
this.tallest($container);
$(window).resize();
};
plugin.prototype.tallest = function (_container) {
var column_heights = [],
largest = 0;
for (var z = 0; z < columns; z++) {
var temp_height = 0;
_container.find('.c' + z).each(function () {
temp_height += $(this).outerheight();
});
column_heights[z] = temp_height;
}
largest = math.max.apply(math, column_heights);
_container.css('height', largest + (this.options.padding_y + this.options.margin_bottom));
};
plugin.prototype.make_layout_change = function (_self) {
if ($(window).width() < _self.options.single_column_breakpoint) {
_self.calculate(true);
} else {
_self.calculate(false);
}
};
$.fn[pluginname] = function (options) {
return this.each(function () {
if (!$.data(this, 'plugin_' + pluginname)) {
$.data(this, 'plugin_' + pluginname,
new plugin(this, options));
}
});
}
})(jquery, window, document);
// 图片占满整个空间的插件
jquery(document).ready(function ($) {
mobilemenu.init();
});
var mobilemenu = {
init: function () {
this.shownav();
this.showsub();
this.hidenav();
this.hassub();
},
shownav: function () {
$('#nav-toggle').click(function (e) {
var m_nav = $('.m-hd');
// m_nav.addclass('menu-opened');
if (!m_nav.hasclass('menu-opened')) {
$(this).addclass('active');
m_nav.addclass('menu-opened');
} else {
$(this).removeclass('active');
m_nav.removeclass('menu-opened');
}
e.stoppropagation();
});
},
hassub: function () {
$('.m-nav li').each(function () {
if ($(this).find('.m-sub a').length > 0) {
$(this).addclass('has-sub');
}
});
},
showsub: function () {
$('.m-nav li > a').click(function () {
var sub = $(this).next('.m-sub');
if (!sub.length > 0) {
return true;
}
if (sub.height() == 0) {
$('.m-nav li .on').removeclass('on');
sub.addclass('on');
} else {
sub.removeclass('on');
}
return false;
})
},
hidenav: function () {
$('body').click(function () {
$('.m-nav').removeclass('menu-opened');
})
}
}
$('#banner').on('init', function (event, slick, currentslide, nextslide) {
$(window).load(function () {
banmove();
});
$('#banner .slick-dots li').eq(0).addclass('on');
});
$('.agent-tips .list-1').slick({
infinite: true,
slidestoshow: 4,
slidestoscroll: 4,
arrows: true,
speed: 500,
nextarrow: '#next1',
prevarrow: '#prev1',
autoplay: false,
responsive: [
{
breakpoint: 1310,
settings: {
dots: true
}
},
{
breakpoint: 900,
settings: {
slidestoshow: 3,
slidestoscroll: 3,
dots: true
}
},
{
breakpoint: 640,
settings: {
slidestoshow: 1,
dots: true,
slidestoscroll: 1
}
}
],
custompaging: function (slider, i) {
return '' + (i + 1) + '/4' + '';
}
});
$('#banner').slick({
infinite: true,
arrows: true,
speed: 500,
fade: true,
dots: true,
autoplay: false,
custompaging: function (slider, i) {
return '' + (i + 1) + '';
}
});
var timer;
function autoplay() {
clearinterval(timer);
timer = setinterval(function () {
$('#banner').slick('slicknext');
}, 5000)
}
autoplay();
var bandots = $('.banner-box .slick-dots li');
function initdot(index) {
/* if( index == 0 ){
// $('.ban-box .slick-dots li').removeclass('on')
};*/
// $('.ban-box .slick-dots li').removeclass('current');
settimeout(function () {
bandots.eq(index).addclass('on').siblings('li').removeclass('on');
}, 0)
}
function initstate() {
$('#banner .animated').each(function () {
var dataanimate = $(this).data('move');
$(this).removeclass(dataanimate);
})
}
function banmove() {
var curslide = $('#banner .slick-current');
var img = curslide.find('.animated');
img.each(function () {
$(this).addclass($(this).data('move')).css({'animation-delay': $(this).data('delay') + 's'});
})
}
$('#banner').on('afterchange', function (event, slick, currentslide, nextslide) {
initstate();
banmove();
initdot(currentslide);
});
$('#banner').on('beforechange', function (event, slick, currentslide, nextslide) {
bandots.removeclass('on current')
});
$('#banner .slick-arrow').click(function (event) {
clearinterval(timer);
bandots.removeclass('on')
$('.banner-box .slick-dots li.slick-active').addclass('current').siblings('li').removeclass('current');
// autoplay();
});
$('#banner .slick-dots li').click(function (event) {
clearinterval(timer);
$(this).addclass('current').siblings('li').removeclass('current');
autoplay();
});
/*$('#banner .slick-arrow').hover(function() {
clearinterval(timer);
}, function() {
autoplay();
});*/
$('#banner').on('swipe', function (slick, currentslide, index) {
clearinterval(timer);
autoplay();
});
$('.bann-con .wp').hover(function () {
clearinterval(timer);
}, function () {
autoplay();
});
// 移动滚动条头部变化代码
// $(window).scroll(function (event) {
// if ($(this).scrolltop() > 5) {
// $('.banner-box .slick-dots li em').css('z-index', '0');
// $('.banner-men').addclass('banner-men2')
// } else {
// $('.banner-men').removeclass('banner-men2');
// $(".banner-box .slick-dots li em").css('z-index', '66')
// }
// });
// $(window).scroll(function (event) {
// if ($(this).scrolltop() > 820) {
// $('.hd-index').addclass('hd-flix')
// $('.hd-flix').addclass('on')
// } else {
// $('.hd-index').removeclass('hd-flix')
// $('.hd-flix').removeclass('on')
// }
// });
$(window).scroll(function (event) {
if ($(this).scrolltop() > 10) {
$('.zuo').addclass('animated').attr({
'data-animate': 'fadeinleft',
'data-duration': '1.6s',
'data-delay': '.2s'
});
$('.you').addclass('animated').attr({
'data-animate': 'fadeinright',
'data-duration': '1.6s',
'data-delay': '.2s'
});
} else {
$('.zuo').removeclass('animated').removeattr('data-animate data-duration data-delay');
$('.you').removeclass('animated')
}
});
$(".gualogo").hover(function () {
$(this).addclass('animated').attr({
'data-animate': 'bounceindown',
'data-duration': '0.6s',
'data-delay': '.2s'
});
}, function () {
$(this).removeclass('animated').removeattr('data-animate,data-duration ,data-delay,');
});
// $('.swiper-container-fd-1 .swiper-wrapper .swiper-slide').mouseenter(function () {
// swiper1.autoplay.stop();
// swiper2.autoplay.stop();
//
// jindu.style.animationplaystate = "paused";
// jindu.style.webkitanimationplaystate = "paused"; //
// })
// $('.swiper-container-fd-1 .swiper-wrapper .swiper-slide').mouseleave(function () {
// swiper1.autoplay.start();
// swiper2.autoplay.start();
// jindu.style.animationplaystate = "running";
// jindu.style.webkitanimationplaystate = "running"; //
// });
// var h =(1920-$(window).width())/2;
// $('.cr-bgimg').css("left",-h)
//
$(".nav-subtitle").click(function () {
$(this).nextall("ul").slidetoggle(500);
if ($(this).find(".dd").attr("mark") == 1) {
$(this).find(".dd").attr("mark", 0);
$(this).find(".dd").css("transform", 'rotate(0deg)');
} else {
$(this).find(".dd").attr("mark", 1);
$(this).find(".dd").css("transform", 'rotate(90deg)');
}
$(this).parent().siblings().find(".dd").css("transform", 'rotate(0deg)').attr("mark", 0);
$(this).parent().siblings().find("ul").slideup(500);
});
$('.san-nav li').click(function () {
$(this).find("ul").slidetoggle(500);
$(this).siblings().find('ul').slideup(500)
})
!function (a, b) {
function c(b) {
var c, d = a("").css({width: "100%"});
return b.append(d), c = b.width() - d.width(), d.remove(), c
}
function d(e, f) {
var g = e.getboundingclientrect(), h = g.top, i = g.bottom, j = g.left, k = g.right, l = a.extend({
tolerance: 0,
viewport: b
}, f), m = !1, n = l.viewport.jquery ? l.viewport : a(l.viewport);
n.length || (console.warn("isinviewport: the viewport selector you have provided matches no element on page."), console.warn("isinviewport: defaulting to viewport as window"), n = a(b));
var o = n.height(), p = n.width(), q = n.get(0).tostring();
if (n[0] !== b && "[object window]" !== q && "[object domwindow]" !== q) {
var r = n.get(0).getboundingclientrect();
h -= r.top, i -= r.top, j -= r.left, k -= r.left, d.scrollbarwidth = d.scrollbarwidth || c(n), p -= d.scrollbarwidth
}
return l.tolerance = ~~math.round(parsefloat(l.tolerance)), l.tolerance < 0 && (l.tolerance = o + l.tolerance), 0 >= k || j >= p ? m : m = l.tolerance ? !!(h <= l.tolerance && i >= l.tolerance) : !!(i > 0 && o >= h)
}
string.prototype.hasownproperty("trim") || (string.prototype.trim = function () {
return this.replace(/^\s*(.*?)\s*$/, "$1")
});
var e = function (b) {
if (1 === arguments.length && "function" == typeof b && (b = [b]), !(b instanceof array)) throw new syntaxerror("isinviewport: argument(s) passed to .do/.run should be a function or an array of functions");
for (var c = 0; c < b.length; c++) if ("function" == typeof b[c]) for (var d = 0; d < this.length; d++) b[c].call(a(this[d])); else console.warn("isinviewport: argument(s) passed to .do/.run should be a function or an array of functions"), console.warn("isinviewport: ignoring non-function values in array and moving on");
return this
};
a.fn["do"] = function (a) {
return console.warn("isinviewport: .do causes issues in ie and some browsers since its a reserved. use $.fn.run instead i.e., $(el).run(fn)."), e(a)
}, a.fn.run = e, a.extend(a.expr[":"], {
"in-viewport": function (a, b, c) {
if (c[3]) {
var e = c[3].split(",");
return 1 === e.length && isnan(e[0]) && (e[1] = e[0], e[0] = void 0), d(a, {
tolerance: e[0] ? e[0].trim() : void 0,
viewport: e[1] ? e[1].trim() : void 0
})
}
return d(a)
}
})
}(jquery, window);
// if ($('.ul-icon1').length > 0) {
//
// $(window).on("scroll", function () {
// $('.ul-icon1 li:in-viewport').each(function (index, el) {
// if (!$(this).hasclass('have-animated')) {
// $(this).addclass('have-animated');
// var that = this;
// settimeout(function () {
// $(that).find('.circle').circleprogress({
// size: 100,
// thickness: 1,
// linecap: "round",
// value: 1,
// animation: {duration: 2000, easing: "circleprogresseasing"},
// startangle: -1.55,
// fill: "#009999",
// });
// }, 300 * index);
// }
// });
// }).scroll();
//
// }
// ;(function () {
// var all = $('.i-row .list-1 li').length;
// $('.i-row .list-1 li').each(function (index, el) {
// $(this).addclass('animated').attr({
// 'data-animate': 'fadeinup2',
// 'data-duration': '1.5s',
// 'data-delay': (index / all) + 's'
// });
// });
// })();
;(function () {
var all = $('.about-row2-bg ul li').length;
$('.about-row2-bg ul li').each(function (index, el) {
$(this).addclass('animated').attr({
'data-animate': 'fadeinleft',
'data-duration': '1.5s',
'data-delay': (index / all) + 's'
});
});
})();
;(function () {
var all = $('.ul-product li').length;
$('.ul-product li').each(function (index, el) {
$(this).addclass('animated').attr({
'data-animate': 'fadein',
'data-duration': '1.5s',
'data-delay': (index / all) + 's'
});
});
})();
;(function () {
var all = $('.ul-function li').length;
$('.ul-function li').each(function (index, el) {
$(this).addclass('animated').attr({
'data-animate': 'fadeinup2',
'data-duration': '1.5s',
'data-delay': (index / all) + 's'
});
});
})();
;(function () {
var all = $('.list-p1 li').length;
$('.list-p1 li').each(function (index, el) {
$(this).addclass('animated').attr({
'data-animate': 'fadeinup2',
'data-duration': '1.5s',
'data-delay': (index / all) + 's'
});
});
})();
/* ;(function(){
var all = $('.ul-industry li').length;
$('.ul-industry li').each(function(index, el) {
$(this).addclass('animated').attr({
'data-animate':'fadeinup2',
'data-duration':'1.5s',
'data-delay': (index/all) +'s'
});
});
})();
*/
(function(){
var all = $('.carft-bg').length;
$('.carft-bg').each(function(index, el) {
$(this).addclass('animated').attr({
'data-animate':'fadeinleft',
'data-duration':'1.5s',
'data-delay': (index/all) +'s'
});
});
})();
;(function () {
var all = $('.n-list li').length;
$('.n-list li').each(function (index, el) {
$(this).addclass('animated').attr({
'data-animate': 'fadeinup',
'data-duration': '1.5s',
'data-delay': (index / all) + 's'
});
});
})();
;(function () {
var all = $('#gallery-wrapper article').length;
$('#gallery-wrapper article').each(function (index, el) {
$(this).addclass('animated').attr({
'data-animate': 'fadeinup2',
'data-duration': '1.5s',
'data-delay': (index / all) + 's'
});
});
})();
$('[data-animate]').each(function (index, el) {
$(this).css({visibility: 'hidden'});
});
$('.fd-logo').addclass('animated').attr({
'data-animate': 'bounceindown',
'data-duration': '1.5s',
'data-delay': '.4s'
});
$(window).on("scroll", function () {
$('[data-animate]:in-viewport').each(function (index, el) {
if (!$(this).hasclass('have-animated')) {
$(this).addclass('have-animated');
var animateclass = $(this).data('animate');
var delay = $(this).data('delay');
var duration = $(this).data('duration');
$(this).addclass(animateclass).css({
'animation-delay': delay,
'visibility': 'visible',
'animation-duration': duration
});
}
});
}).scroll();
$('.pro-slider .slider').slick({
infinite: true,
arrows: true,
speed: 500,
responsive: [
{
breakpoint: 640,
settings: {
dots: true,
}
}
],
dots: false,
autoplay: false
});
$('.list-1 li .new-box').slick({
infinite: true,
arrows: false,
speed: 500,
dots: true,
autoplay: true
});
$('.on-time').slick({
infinite: false,
speed: 300,
arrows: true,
slidestoshow: 5,
touchmove: false,
slidestoscroll: 1,
responsive:[
{
breakpoint:640,
settings: {
slidestoshow: 2,
dots:true,
slidestoscroll: 1,
arrows: false,
}
}
],
custompaging: function(slider, i) {
return '' + (i + 1) + '';
}
});
$('.item-list').slick({
infinite: false,
speed: 300,
arrows: false,
slidestoshow: 3,
touchmove: false,
slidestoscroll: 3,
dots:true,
responsive:[
{
breakpoint:640,
settings: {
slidestoshow: 1,
dots:true,
slidestoscroll: 1,
arrows: false,
}
}
],
custompaging: function(slider, i) {
return '' + (i + 1) + '';
}
});
$('.list-p1').slick({
infinite: false,
speed: 300,
arrows: false,
slidestoshow: 6,
touchmove: false,
slidestoscroll: 6,
dots:true,
responsive:[
{
breakpoint:640,
settings: {
slidestoshow: 1,
dots:true,
slidestoscroll: 1,
arrows: false,
}
}
],
custompaging: function(slider, i) {
return '' + (i + 1) + '';
}
});
$('.business-slick').slick({
infinite: false,
arrows: true,
speed: 500,
slidestoshow: 3,
touchmove: false,
slidestoscroll: 1,
responsive:[
{
breakpoint:640,
settings:{
slidestoshow: 1,
dots:true,
slidestoscroll: 1,
arrows: false,
}
}
],
dots: false,
autoplay: false
});
/*$(window).resize(function(event) {
var _winh = $(window).height();
var _winw = $(window).width();
$('.pro-video').height(_winh);
}).resize();
*/
var ismobile = {
android: function () {
return navigator.useragent.match(/android/i);
},
blackberry: function () {
return navigator.useragent.match(/blackberry/i);
},
ios: function () {
return navigator.useragent.match(/iphone|ipad|ipod/i);
},
opera: function () {
return navigator.useragent.match(/opera mini/i);
},
windows: function () {
return navigator.useragent.match(/iemobile/i) || navigator.useragent.match(/wpdesktop/i);
},
any: function () {
return (ismobile.android() || ismobile.blackberry() || ismobile.ios() || ismobile.opera() || ismobile.windows());
}
};
/*
$(window).scroll(function() {
var scrolledy = $(window).scrolltop();
if( scrolledy < $('#ban-in').outerheight() ){
$('#ban-in .bg').css({
'transform' : 'translatey(' + (-scrolledy)/7 + 'px)',
'-moz-transform' : 'translatey(' + (-scrolledy)/7 + 'px)',
'-webkit-transform' : 'translatey(' + (-scrolledy)/7 + 'px)'
});
}
});*/
if ($('.bg-fix').length > 0) {
$(window).scroll(function () {
var scrolledy = $(window).scrolltop();
if (scrolledy < $('.bg-fix').outerheight()) {
// $('.bg-fix').css('background-position', '50% ' + ((scrolledy)) + 'px');
$('.bg-fix').css({
'transform': 'translatey(' + (scrolledy) / 5 + 'px)',
'-moz-transform': 'translatey(' + (scrolledy) / 5 + 'px)',
'-webkit-transform': 'translatey(' + (scrolledy) / 5 + 'px)'
});
}
}).scroll()
}
;(function () {
var top = $('.qq-online');
$(window).scroll(function (event) {
if ($(window).scrolltop() > 10) {
top.addclass('show-online');
} else {
top.removeclass('show-online')
}
}).scroll();
})();
$(function () {
if ($(window).width() > 700) {
$("#gallery-wrapper").pinterest_grid({
no_columns: 3,
padding_x: 50,
padding_y: 50,
margin_bottom: 50,
single_column_breakpoint: 700
});
}
});