").addClass(c.dotsClass).appendTo(this.$element)).addClass("disabled"),this._controls.$absolute.on("click","button",a.proxy(function(b){var d=a(b.target).parent().is(this._controls.$absolute)?a(b.target).index():a(b.target).parent().index();b.preventDefault(),this.to(d,c.dotsSpeed)},this));for(b in this._overrides)this._core[b]=a.proxy(this[b],this)},e.prototype.destroy=function(){var a,b,c,d,e;e=this._core.settings;for(a in this._handlers)this.$element.off(a,this._handlers[a]);for(b in this._controls)"$relative"===b&&e.navContainer?this._controls[b].html(""):this._controls[b].remove();for(d in this.overides)this._core[d]=this._overrides[d];for(c in Object.getOwnPropertyNames(this))"function"!=typeof this[c]&&(this[c]=null)},e.prototype.update=function(){var a,b,c,d=this._core.clones().length/2,e=d+this._core.items().length,f=this._core.maximum(!0),g=this._core.settings,h=g.center||g.autoWidth||g.dotsData?1:g.dotsEach||g.items;if("page"!==g.slideBy&&(g.slideBy=Math.min(g.slideBy,g.items)),g.dots||"page"==g.slideBy)for(this._pages=[],a=d,b=0,c=0;a
=h||0===b){if(this._pages.push({start:Math.min(f,a-d),end:a-d+h-1}),Math.min(f,a-d)===f)break;b=0,++c}b+=this._core.mergers(this._core.relative(a))}},e.prototype.draw=function(){var b,c=this._core.settings,d=this._core.items().length<=c.items,e=this._core.relative(this._core.current()),f=c.loop||c.rewind;this._controls.$relative.toggleClass("disabled",!c.nav||d),c.nav&&(this._controls.$previous.toggleClass("disabled",!f&&e<=this._core.minimum(!0)),this._controls.$next.toggleClass("disabled",!f&&e>=this._core.maximum(!0))),this._controls.$absolute.toggleClass("disabled",!c.dots||d),c.dots&&(b=this._pages.length-this._controls.$absolute.children().length,c.dotsData&&0!==b?this._controls.$absolute.html(this._templates.join("")):b>0?this._controls.$absolute.append(new Array(b+1).join(this._templates[0])):b<0&&this._controls.$absolute.children().slice(b).remove(),this._controls.$absolute.find(".active").removeClass("active"),this._controls.$absolute.children().eq(a.inArray(this.current(),this._pages)).addClass("active"))},e.prototype.onTrigger=function(b){var c=this._core.settings;b.page={index:a.inArray(this.current(),this._pages),count:this._pages.length,size:c&&(c.center||c.autoWidth||c.dotsData?1:c.dotsEach||c.items)}},e.prototype.current=function(){var b=this._core.relative(this._core.current());return a.grep(this._pages,a.proxy(function(a,c){return a.start<=b&&a.end>=b},this)).pop()},e.prototype.getPosition=function(b){var c,d,e=this._core.settings;return"page"==e.slideBy?(c=a.inArray(this.current(),this._pages),d=this._pages.length,b?++c:--c,c=this._pages[(c%d+d)%d].start):(c=this._core.relative(this._core.current()),d=this._core.items().length,b?c+=e.slideBy:c-=e.slideBy),c},e.prototype.next=function(b){a.proxy(this._overrides.to,this._core)(this.getPosition(!0),b)},e.prototype.prev=function(b){a.proxy(this._overrides.to,this._core)(this.getPosition(!1),b)},e.prototype.to=function(b,c,d){var e;!d&&this._pages.length?(e=this._pages.length,a.proxy(this._overrides.to,this._core)(this._pages[(b%e+e)%e].start,c)):a.proxy(this._overrides.to,this._core)(b,c)},a.fn.owlCarousel.Constructor.Plugins.Navigation=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){"use strict";var e=function(c){this._core=c,this._hashes={},this.$element=this._core.$element,this._handlers={"initialized.owl.carousel":a.proxy(function(c){c.namespace&&"URLHash"===this._core.settings.startPosition&&a(b).trigger("hashchange.owl.navigation")},this),"prepared.owl.carousel":a.proxy(function(b){if(b.namespace){var c=a(b.content).find("[data-hash]").addBack("[data-hash]").attr("data-hash");if(!c)return;this._hashes[c]=b.content}},this),"changed.owl.carousel":a.proxy(function(c){if(c.namespace&&"position"===c.property.name){var d=this._core.items(this._core.relative(this._core.current())),e=a.map(this._hashes,function(a,b){return a===d?b:null}).join();if(!e||b.location.hash.slice(1)===e)return;b.location.hash=e}},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this.$element.on(this._handlers),a(b).on("hashchange.owl.navigation",a.proxy(function(a){var c=b.location.hash.substring(1),e=this._core.$stage.children(),f=this._hashes[c]&&e.index(this._hashes[c]);f!==d&&f!==this._core.current()&&this._core.to(this._core.relative(f),!1,!0)},this))};e.Defaults={URLhashListener:!1},e.prototype.destroy=function(){var c,d;a(b).off("hashchange.owl.navigation");for(c in this._handlers)this._core.$element.off(c,this._handlers[c]);for(d in Object.getOwnPropertyNames(this))"function"!=typeof this[d]&&(this[d]=null)},a.fn.owlCarousel.Constructor.Plugins.Hash=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){function e(b,c){var e=!1,f=b.charAt(0).toUpperCase()+b.slice(1);return a.each((b+" "+h.join(f+" ")+f).split(" "),function(a,b){if(g[b]!==d)return e=!c||b,!1}),e}function f(a){return e(a,!0)}var g=a("").get(0).style,h="Webkit Moz O ms".split(" "),i={transition:{end:{WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",transition:"transitionend"}},animation:{end:{WebkitAnimation:"webkitAnimationEnd",MozAnimation:"animationend",OAnimation:"oAnimationEnd",animation:"animationend"}}},j={csstransforms:function(){return!!e("transform")},csstransforms3d:function(){return!!e("perspective")},csstransitions:function(){return!!e("transition")},cssanimations:function(){return!!e("animation")}};j.csstransitions()&&(a.support.transition=new String(f("transition")),a.support.transition.end=i.transition.end[a.support.transition]),j.cssanimations()&&(a.support.animation=new String(f("animation")),a.support.animation.end=i.animation.end[a.support.animation]),j.csstransforms()&&(a.support.transform=new String(f("transform")),a.support.transform3d=j.csstransforms3d())}(window.Zepto||window.jQuery,window,document);;
/**
* Swiper 5.3.1
* Most modern mobile touch slider and framework with hardware accelerated transitions
* http://swiperjs.com
*
* Copyright 2014-2020 Vladimir Kharlampidi
*
* Released under the MIT License
*
* Released on: February 8, 2020
*/
!(function (e, t) {
"object" == typeof exports && "undefined" != typeof module ? (module.exports = t()) : "function" == typeof define && define.amd ? define(t) : ((e = e || self).Swiper = t());
})(this, function () {
"use strict";
var e =
"undefined" == typeof document
? {
body: {},
addEventListener: function () {},
removeEventListener: function () {},
activeElement: { blur: function () {}, nodeName: "" },
querySelector: function () {
return null;
},
querySelectorAll: function () {
return [];
},
getElementById: function () {
return null;
},
createEvent: function () {
return { initEvent: function () {} };
},
createElement: function () {
return {
children: [],
childNodes: [],
style: {},
setAttribute: function () {},
getElementsByTagName: function () {
return [];
},
};
},
location: { hash: "" },
}
: document,
t =
"undefined" == typeof window
? {
document: e,
navigator: { userAgent: "" },
location: {},
history: {},
CustomEvent: function () {
return this;
},
addEventListener: function () {},
removeEventListener: function () {},
getComputedStyle: function () {
return {
getPropertyValue: function () {
return "";
},
};
},
Image: function () {},
Date: function () {},
screen: {},
setTimeout: function () {},
clearTimeout: function () {},
}
: window,
i = function (e) {
for (var t = 0; t < e.length; t += 1) this[t] = e[t];
return (this.length = e.length), this;
};
function s(s, a) {
var r = [],
n = 0;
if (s && !a && s instanceof i) return s;
if (s)
if ("string" == typeof s) {
var o,
l,
d = s.trim();
if (d.indexOf("<") >= 0 && d.indexOf(">") >= 0) {
var h = "div";
for (
0 === d.indexOf(":~]/) ? (a || e).querySelectorAll(s.trim()) : [e.getElementById(s.trim().split("#")[1])], n = 0; n < o.length; n += 1) o[n] && r.push(o[n]);
} else if (s.nodeType || s === t || s === e) r.push(s);
else if (s.length > 0 && s[0].nodeType) for (n = 0; n < s.length; n += 1) r.push(s[n]);
return new i(r);
}
function a(e) {
for (var t = [], i = 0; i < e.length; i += 1) -1 === t.indexOf(e[i]) && t.push(e[i]);
return t;
}
(s.fn = i.prototype), (s.Class = i), (s.Dom7 = i);
var r = {
addClass: function (e) {
if (void 0 === e) return this;
for (var t = e.split(" "), i = 0; i < t.length; i += 1) for (var s = 0; s < this.length; s += 1) void 0 !== this[s] && void 0 !== this[s].classList && this[s].classList.add(t[i]);
return this;
},
removeClass: function (e) {
for (var t = e.split(" "), i = 0; i < t.length; i += 1) for (var s = 0; s < this.length; s += 1) void 0 !== this[s] && void 0 !== this[s].classList && this[s].classList.remove(t[i]);
return this;
},
hasClass: function (e) {
return !!this[0] && this[0].classList.contains(e);
},
toggleClass: function (e) {
for (var t = e.split(" "), i = 0; i < t.length; i += 1) for (var s = 0; s < this.length; s += 1) void 0 !== this[s] && void 0 !== this[s].classList && this[s].classList.toggle(t[i]);
return this;
},
attr: function (e, t) {
var i = arguments;
if (1 === arguments.length && "string" == typeof e) return this[0] ? this[0].getAttribute(e) : void 0;
for (var s = 0; s < this.length; s += 1)
if (2 === i.length) this[s].setAttribute(e, t);
else for (var a in e) (this[s][a] = e[a]), this[s].setAttribute(a, e[a]);
return this;
},
removeAttr: function (e) {
for (var t = 0; t < this.length; t += 1) this[t].removeAttribute(e);
return this;
},
data: function (e, t) {
var i;
if (void 0 !== t) {
for (var s = 0; s < this.length; s += 1) (i = this[s]).dom7ElementDataStorage || (i.dom7ElementDataStorage = {}), (i.dom7ElementDataStorage[e] = t);
return this;
}
if ((i = this[0])) {
if (i.dom7ElementDataStorage && e in i.dom7ElementDataStorage) return i.dom7ElementDataStorage[e];
var a = i.getAttribute("data-" + e);
return a || void 0;
}
},
transform: function (e) {
for (var t = 0; t < this.length; t += 1) {
var i = this[t].style;
(i.webkitTransform = e), (i.transform = e);
}
return this;
},
transition: function (e) {
"string" != typeof e && (e += "ms");
for (var t = 0; t < this.length; t += 1) {
var i = this[t].style;
(i.webkitTransitionDuration = e), (i.transitionDuration = e);
}
return this;
},
on: function () {
for (var e, t = [], i = arguments.length; i--; ) t[i] = arguments[i];
var a = t[0],
r = t[1],
n = t[2],
o = t[3];
function l(e) {
var t = e.target;
if (t) {
var i = e.target.dom7EventData || [];
if ((i.indexOf(e) < 0 && i.unshift(e), s(t).is(r))) n.apply(t, i);
else for (var a = s(t).parents(), o = 0; o < a.length; o += 1) s(a[o]).is(r) && n.apply(a[o], i);
}
}
function d(e) {
var t = (e && e.target && e.target.dom7EventData) || [];
t.indexOf(e) < 0 && t.unshift(e), n.apply(this, t);
}
"function" == typeof t[1] && ((a = (e = t)[0]), (n = e[1]), (o = e[2]), (r = void 0)), o || (o = !1);
for (var h, p = a.split(" "), c = 0; c < this.length; c += 1) {
var u = this[c];
if (r)
for (h = 0; h < p.length; h += 1) {
var v = p[h];
u.dom7LiveListeners || (u.dom7LiveListeners = {}), u.dom7LiveListeners[v] || (u.dom7LiveListeners[v] = []), u.dom7LiveListeners[v].push({ listener: n, proxyListener: l }), u.addEventListener(v, l, o);
}
else
for (h = 0; h < p.length; h += 1) {
var f = p[h];
u.dom7Listeners || (u.dom7Listeners = {}), u.dom7Listeners[f] || (u.dom7Listeners[f] = []), u.dom7Listeners[f].push({ listener: n, proxyListener: d }), u.addEventListener(f, d, o);
}
}
return this;
},
off: function () {
for (var e, t = [], i = arguments.length; i--; ) t[i] = arguments[i];
var s = t[0],
a = t[1],
r = t[2],
n = t[3];
"function" == typeof t[1] && ((s = (e = t)[0]), (r = e[1]), (n = e[2]), (a = void 0)), n || (n = !1);
for (var o = s.split(" "), l = 0; l < o.length; l += 1)
for (var d = o[l], h = 0; h < this.length; h += 1) {
var p = this[h],
c = void 0;
if ((!a && p.dom7Listeners ? (c = p.dom7Listeners[d]) : a && p.dom7LiveListeners && (c = p.dom7LiveListeners[d]), c && c.length))
for (var u = c.length - 1; u >= 0; u -= 1) {
var v = c[u];
r && v.listener === r
? (p.removeEventListener(d, v.proxyListener, n), c.splice(u, 1))
: r && v.listener && v.listener.dom7proxy && v.listener.dom7proxy === r
? (p.removeEventListener(d, v.proxyListener, n), c.splice(u, 1))
: r || (p.removeEventListener(d, v.proxyListener, n), c.splice(u, 1));
}
}
return this;
},
trigger: function () {
for (var i = [], s = arguments.length; s--; ) i[s] = arguments[s];
for (var a = i[0].split(" "), r = i[1], n = 0; n < a.length; n += 1)
for (var o = a[n], l = 0; l < this.length; l += 1) {
var d = this[l],
h = void 0;
try {
h = new t.CustomEvent(o, { detail: r, bubbles: !0, cancelable: !0 });
} catch (t) {
(h = e.createEvent("Event")).initEvent(o, !0, !0), (h.detail = r);
}
(d.dom7EventData = i.filter(function (e, t) {
return t > 0;
})),
d.dispatchEvent(h),
(d.dom7EventData = []),
delete d.dom7EventData;
}
return this;
},
transitionEnd: function (e) {
var t,
i = ["webkitTransitionEnd", "transitionend"],
s = this;
function a(r) {
if (r.target === this) for (e.call(this, r), t = 0; t < i.length; t += 1) s.off(i[t], a);
}
if (e) for (t = 0; t < i.length; t += 1) s.on(i[t], a);
return this;
},
outerWidth: function (e) {
if (this.length > 0) {
if (e) {
var t = this.styles();
return this[0].offsetWidth + parseFloat(t.getPropertyValue("margin-right")) + parseFloat(t.getPropertyValue("margin-left"));
}
return this[0].offsetWidth;
}
return null;
},
outerHeight: function (e) {
if (this.length > 0) {
if (e) {
var t = this.styles();
return this[0].offsetHeight + parseFloat(t.getPropertyValue("margin-top")) + parseFloat(t.getPropertyValue("margin-bottom"));
}
return this[0].offsetHeight;
}
return null;
},
offset: function () {
if (this.length > 0) {
var i = this[0],
s = i.getBoundingClientRect(),
a = e.body,
r = i.clientTop || a.clientTop || 0,
n = i.clientLeft || a.clientLeft || 0,
o = i === t ? t.scrollY : i.scrollTop,
l = i === t ? t.scrollX : i.scrollLeft;
return { top: s.top + o - r, left: s.left + l - n };
}
return null;
},
css: function (e, i) {
var s;
if (1 === arguments.length) {
if ("string" != typeof e) {
for (s = 0; s < this.length; s += 1) for (var a in e) this[s].style[a] = e[a];
return this;
}
if (this[0]) return t.getComputedStyle(this[0], null).getPropertyValue(e);
}
if (2 === arguments.length && "string" == typeof e) {
for (s = 0; s < this.length; s += 1) this[s].style[e] = i;
return this;
}
return this;
},
each: function (e) {
if (!e) return this;
for (var t = 0; t < this.length; t += 1) if (!1 === e.call(this[t], t, this[t])) return this;
return this;
},
html: function (e) {
if (void 0 === e) return this[0] ? this[0].innerHTML : void 0;
for (var t = 0; t < this.length; t += 1) this[t].innerHTML = e;
return this;
},
text: function (e) {
if (void 0 === e) return this[0] ? this[0].textContent.trim() : null;
for (var t = 0; t < this.length; t += 1) this[t].textContent = e;
return this;
},
is: function (a) {
var r,
n,
o = this[0];
if (!o || void 0 === a) return !1;
if ("string" == typeof a) {
if (o.matches) return o.matches(a);
if (o.webkitMatchesSelector) return o.webkitMatchesSelector(a);
if (o.msMatchesSelector) return o.msMatchesSelector(a);
for (r = s(a), n = 0; n < r.length; n += 1) if (r[n] === o) return !0;
return !1;
}
if (a === e) return o === e;
if (a === t) return o === t;
if (a.nodeType || a instanceof i) {
for (r = a.nodeType ? [a] : a, n = 0; n < r.length; n += 1) if (r[n] === o) return !0;
return !1;
}
return !1;
},
index: function () {
var e,
t = this[0];
if (t) {
for (e = 0; null !== (t = t.previousSibling); ) 1 === t.nodeType && (e += 1);
return e;
}
},
eq: function (e) {
if (void 0 === e) return this;
var t,
s = this.length;
return new i(e > s - 1 ? [] : e < 0 ? ((t = s + e) < 0 ? [] : [this[t]]) : [this[e]]);
},
append: function () {
for (var t, s = [], a = arguments.length; a--; ) s[a] = arguments[a];
for (var r = 0; r < s.length; r += 1) {
t = s[r];
for (var n = 0; n < this.length; n += 1)
if ("string" == typeof t) {
var o = e.createElement("div");
for (o.innerHTML = t; o.firstChild; ) this[n].appendChild(o.firstChild);
} else if (t instanceof i) for (var l = 0; l < t.length; l += 1) this[n].appendChild(t[l]);
else this[n].appendChild(t);
}
return this;
},
prepend: function (t) {
var s, a;
for (s = 0; s < this.length; s += 1)
if ("string" == typeof t) {
var r = e.createElement("div");
for (r.innerHTML = t, a = r.childNodes.length - 1; a >= 0; a -= 1) this[s].insertBefore(r.childNodes[a], this[s].childNodes[0]);
} else if (t instanceof i) for (a = 0; a < t.length; a += 1) this[s].insertBefore(t[a], this[s].childNodes[0]);
else this[s].insertBefore(t, this[s].childNodes[0]);
return this;
},
next: function (e) {
return this.length > 0
? e
? this[0].nextElementSibling && s(this[0].nextElementSibling).is(e)
? new i([this[0].nextElementSibling])
: new i([])
: this[0].nextElementSibling
? new i([this[0].nextElementSibling])
: new i([])
: new i([]);
},
nextAll: function (e) {
var t = [],
a = this[0];
if (!a) return new i([]);
for (; a.nextElementSibling; ) {
var r = a.nextElementSibling;
e ? s(r).is(e) && t.push(r) : t.push(r), (a = r);
}
return new i(t);
},
prev: function (e) {
if (this.length > 0) {
var t = this[0];
return e ? (t.previousElementSibling && s(t.previousElementSibling).is(e) ? new i([t.previousElementSibling]) : new i([])) : t.previousElementSibling ? new i([t.previousElementSibling]) : new i([]);
}
return new i([]);
},
prevAll: function (e) {
var t = [],
a = this[0];
if (!a) return new i([]);
for (; a.previousElementSibling; ) {
var r = a.previousElementSibling;
e ? s(r).is(e) && t.push(r) : t.push(r), (a = r);
}
return new i(t);
},
parent: function (e) {
for (var t = [], i = 0; i < this.length; i += 1) null !== this[i].parentNode && (e ? s(this[i].parentNode).is(e) && t.push(this[i].parentNode) : t.push(this[i].parentNode));
return s(a(t));
},
parents: function (e) {
for (var t = [], i = 0; i < this.length; i += 1) for (var r = this[i].parentNode; r; ) e ? s(r).is(e) && t.push(r) : t.push(r), (r = r.parentNode);
return s(a(t));
},
closest: function (e) {
var t = this;
return void 0 === e ? new i([]) : (t.is(e) || (t = t.parents(e).eq(0)), t);
},
find: function (e) {
for (var t = [], s = 0; s < this.length; s += 1) for (var a = this[s].querySelectorAll(e), r = 0; r < a.length; r += 1) t.push(a[r]);
return new i(t);
},
children: function (e) {
for (var t = [], r = 0; r < this.length; r += 1) for (var n = this[r].childNodes, o = 0; o < n.length; o += 1) e ? 1 === n[o].nodeType && s(n[o]).is(e) && t.push(n[o]) : 1 === n[o].nodeType && t.push(n[o]);
return new i(a(t));
},
filter: function (e) {
for (var t = [], s = 0; s < this.length; s += 1) e.call(this[s], s, this[s]) && t.push(this[s]);
return new i(t);
},
remove: function () {
for (var e = 0; e < this.length; e += 1) this[e].parentNode && this[e].parentNode.removeChild(this[e]);
return this;
},
add: function () {
for (var e = [], t = arguments.length; t--; ) e[t] = arguments[t];
var i, a;
for (i = 0; i < e.length; i += 1) {
var r = s(e[i]);
for (a = 0; a < r.length; a += 1) (this[this.length] = r[a]), (this.length += 1);
}
return this;
},
styles: function () {
return this[0] ? t.getComputedStyle(this[0], null) : {};
},
};
Object.keys(r).forEach(function (e) {
s.fn[e] = s.fn[e] || r[e];
});
var n = {
deleteProps: function (e) {
var t = e;
Object.keys(t).forEach(function (e) {
try {
t[e] = null;
} catch (e) {}
try {
delete t[e];
} catch (e) {}
});
},
nextTick: function (e, t) {
return void 0 === t && (t = 0), setTimeout(e, t);
},
now: function () {
return Date.now();
},
getTranslate: function (e, i) {
var s, a, r;
void 0 === i && (i = "x");
var n = t.getComputedStyle(e, null);
return (
t.WebKitCSSMatrix
? ((a = n.transform || n.webkitTransform).split(",").length > 6 &&
(a = a
.split(", ")
.map(function (e) {
return e.replace(",", ".");
})
.join(", ")),
(r = new t.WebKitCSSMatrix("none" === a ? "" : a)))
: (s = (r = n.MozTransform || n.OTransform || n.MsTransform || n.msTransform || n.transform || n.getPropertyValue("transform").replace("translate(", "matrix(1, 0, 0, 1,")).toString().split(",")),
"x" === i && (a = t.WebKitCSSMatrix ? r.m41 : 16 === s.length ? parseFloat(s[12]) : parseFloat(s[4])),
"y" === i && (a = t.WebKitCSSMatrix ? r.m42 : 16 === s.length ? parseFloat(s[13]) : parseFloat(s[5])),
a || 0
);
},
parseUrlQuery: function (e) {
var i,
s,
a,
r,
n = {},
o = e || t.location.href;
if ("string" == typeof o && o.length)
for (
r = (s = (o = o.indexOf("?") > -1 ? o.replace(/\S*\?/, "") : "").split("&").filter(function (e) {
return "" !== e;
})).length,
i = 0;
i < r;
i += 1
)
(a = s[i].replace(/#\S+/g, "").split("=")), (n[decodeURIComponent(a[0])] = void 0 === a[1] ? void 0 : decodeURIComponent(a[1]) || "");
return n;
},
isObject: function (e) {
return "object" == typeof e && null !== e && e.constructor && e.constructor === Object;
},
extend: function () {
for (var e = [], t = arguments.length; t--; ) e[t] = arguments[t];
for (var i = Object(e[0]), s = 1; s < e.length; s += 1) {
var a = e[s];
if (null != a)
for (var r = Object.keys(Object(a)), o = 0, l = r.length; o < l; o += 1) {
var d = r[o],
h = Object.getOwnPropertyDescriptor(a, d);
void 0 !== h && h.enumerable && (n.isObject(i[d]) && n.isObject(a[d]) ? n.extend(i[d], a[d]) : !n.isObject(i[d]) && n.isObject(a[d]) ? ((i[d] = {}), n.extend(i[d], a[d])) : (i[d] = a[d]));
}
}
return i;
},
},
o = {
touch: (t.Modernizr && !0 === t.Modernizr.touch) || !!(t.navigator.maxTouchPoints > 0 || "ontouchstart" in t || (t.DocumentTouch && e instanceof t.DocumentTouch)),
pointerEvents: !!t.PointerEvent && "maxTouchPoints" in t.navigator && t.navigator.maxTouchPoints > 0,
observer: "MutationObserver" in t || "WebkitMutationObserver" in t,
passiveListener: (function () {
var e = !1;
try {
var i = Object.defineProperty({}, "passive", {
get: function () {
e = !0;
},
});
t.addEventListener("testPassiveListener", null, i);
} catch (e) {}
return e;
})(),
gestures: "ongesturestart" in t,
},
l = function (e) {
void 0 === e && (e = {});
var t = this;
(t.params = e),
(t.eventsListeners = {}),
t.params &&
t.params.on &&
Object.keys(t.params.on).forEach(function (e) {
t.on(e, t.params.on[e]);
});
},
d = { components: { configurable: !0 } };
(l.prototype.on = function (e, t, i) {
var s = this;
if ("function" != typeof t) return s;
var a = i ? "unshift" : "push";
return (
e.split(" ").forEach(function (e) {
s.eventsListeners[e] || (s.eventsListeners[e] = []), s.eventsListeners[e][a](t);
}),
s
);
}),
(l.prototype.once = function (e, t, i) {
var s = this;
if ("function" != typeof t) return s;
function a() {
for (var i = [], r = arguments.length; r--; ) i[r] = arguments[r];
s.off(e, a), a.f7proxy && delete a.f7proxy, t.apply(s, i);
}
return (a.f7proxy = t), s.on(e, a, i);
}),
(l.prototype.off = function (e, t) {
var i = this;
return i.eventsListeners
? (e.split(" ").forEach(function (e) {
void 0 === t
? (i.eventsListeners[e] = [])
: i.eventsListeners[e] &&
i.eventsListeners[e].length &&
i.eventsListeners[e].forEach(function (s, a) {
(s === t || (s.f7proxy && s.f7proxy === t)) && i.eventsListeners[e].splice(a, 1);
});
}),
i)
: i;
}),
(l.prototype.emit = function () {
for (var e = [], t = arguments.length; t--; ) e[t] = arguments[t];
var i,
s,
a,
r = this;
if (!r.eventsListeners) return r;
"string" == typeof e[0] || Array.isArray(e[0]) ? ((i = e[0]), (s = e.slice(1, e.length)), (a = r)) : ((i = e[0].events), (s = e[0].data), (a = e[0].context || r));
var n = Array.isArray(i) ? i : i.split(" ");
return (
n.forEach(function (e) {
if (r.eventsListeners && r.eventsListeners[e]) {
var t = [];
r.eventsListeners[e].forEach(function (e) {
t.push(e);
}),
t.forEach(function (e) {
e.apply(a, s);
});
}
}),
r
);
}),
(l.prototype.useModulesParams = function (e) {
var t = this;
t.modules &&
Object.keys(t.modules).forEach(function (i) {
var s = t.modules[i];
s.params && n.extend(e, s.params);
});
}),
(l.prototype.useModules = function (e) {
void 0 === e && (e = {});
var t = this;
t.modules &&
Object.keys(t.modules).forEach(function (i) {
var s = t.modules[i],
a = e[i] || {};
s.instance &&
Object.keys(s.instance).forEach(function (e) {
var i = s.instance[e];
t[e] = "function" == typeof i ? i.bind(t) : i;
}),
s.on &&
t.on &&
Object.keys(s.on).forEach(function (e) {
t.on(e, s.on[e]);
}),
s.create && s.create.bind(t)(a);
});
}),
(d.components.set = function (e) {
this.use && this.use(e);
}),
(l.installModule = function (e) {
for (var t = [], i = arguments.length - 1; i-- > 0; ) t[i] = arguments[i + 1];
var s = this;
s.prototype.modules || (s.prototype.modules = {});
var a = e.name || Object.keys(s.prototype.modules).length + "_" + n.now();
return (
(s.prototype.modules[a] = e),
e.proto &&
Object.keys(e.proto).forEach(function (t) {
s.prototype[t] = e.proto[t];
}),
e.static &&
Object.keys(e.static).forEach(function (t) {
s[t] = e.static[t];
}),
e.install && e.install.apply(s, t),
s
);
}),
(l.use = function (e) {
for (var t = [], i = arguments.length - 1; i-- > 0; ) t[i] = arguments[i + 1];
var s = this;
return Array.isArray(e)
? (e.forEach(function (e) {
return s.installModule(e);
}),
s)
: s.installModule.apply(s, [e].concat(t));
}),
Object.defineProperties(l, d);
var h = {
updateSize: function () {
var e,
t,
i = this.$el;
(e = void 0 !== this.params.width ? this.params.width : i[0].clientWidth),
(t = void 0 !== this.params.height ? this.params.height : i[0].clientHeight),
(0 === e && this.isHorizontal()) ||
(0 === t && this.isVertical()) ||
((e = e - parseInt(i.css("padding-left"), 10) - parseInt(i.css("padding-right"), 10)),
(t = t - parseInt(i.css("padding-top"), 10) - parseInt(i.css("padding-bottom"), 10)),
n.extend(this, { width: e, height: t, size: this.isHorizontal() ? e : t }));
},
updateSlides: function () {
var e = this.params,
i = this.$wrapperEl,
s = this.size,
a = this.rtlTranslate,
r = this.wrongRTL,
o = this.virtual && e.virtual.enabled,
l = o ? this.virtual.slides.length : this.slides.length,
d = i.children("." + this.params.slideClass),
h = o ? this.virtual.slides.length : d.length,
p = [],
c = [],
u = [];
function v(t) {
return !e.cssMode || t !== d.length - 1;
}
var f = e.slidesOffsetBefore;
"function" == typeof f && (f = e.slidesOffsetBefore.call(this));
var m = e.slidesOffsetAfter;
"function" == typeof m && (m = e.slidesOffsetAfter.call(this));
var g = this.snapGrid.length,
b = this.snapGrid.length,
w = e.spaceBetween,
y = -f,
x = 0,
T = 0;
if (void 0 !== s) {
var E, S;
"string" == typeof w && w.indexOf("%") >= 0 && (w = (parseFloat(w.replace("%", "")) / 100) * s),
(this.virtualSize = -w),
a ? d.css({ marginLeft: "", marginTop: "" }) : d.css({ marginRight: "", marginBottom: "" }),
e.slidesPerColumn > 1 &&
((E = Math.floor(h / e.slidesPerColumn) === h / this.params.slidesPerColumn ? h : Math.ceil(h / e.slidesPerColumn) * e.slidesPerColumn),
"auto" !== e.slidesPerView && "row" === e.slidesPerColumnFill && (E = Math.max(E, e.slidesPerView * e.slidesPerColumn)));
for (var C, M = e.slidesPerColumn, P = E / M, z = Math.floor(h / e.slidesPerColumn), k = 0; k < h; k += 1) {
S = 0;
var $ = d.eq(k);
if (e.slidesPerColumn > 1) {
var L = void 0,
I = void 0,
D = void 0;
if ("row" === e.slidesPerColumnFill && e.slidesPerGroup > 1) {
var O = Math.floor(k / (e.slidesPerGroup * e.slidesPerColumn)),
A = k - e.slidesPerColumn * e.slidesPerGroup * O,
G = 0 === O ? e.slidesPerGroup : Math.min(Math.ceil((h - O * M * e.slidesPerGroup) / M), e.slidesPerGroup);
(L = (I = A - (D = Math.floor(A / G)) * G + O * e.slidesPerGroup) + (D * E) / M), $.css({ "-webkit-box-ordinal-group": L, "-moz-box-ordinal-group": L, "-ms-flex-order": L, "-webkit-order": L, order: L });
} else "column" === e.slidesPerColumnFill ? ((D = k - (I = Math.floor(k / M)) * M), (I > z || (I === z && D === M - 1)) && (D += 1) >= M && ((D = 0), (I += 1))) : (I = k - (D = Math.floor(k / P)) * P);
$.css("margin-" + (this.isHorizontal() ? "top" : "left"), 0 !== D && e.spaceBetween && e.spaceBetween + "px");
}
if ("none" !== $.css("display")) {
if ("auto" === e.slidesPerView) {
var B = t.getComputedStyle($[0], null),
H = $[0].style.transform,
N = $[0].style.webkitTransform;
if ((H && ($[0].style.transform = "none"), N && ($[0].style.webkitTransform = "none"), e.roundLengths)) S = this.isHorizontal() ? $.outerWidth(!0) : $.outerHeight(!0);
else if (this.isHorizontal()) {
var X = parseFloat(B.getPropertyValue("width")),
V = parseFloat(B.getPropertyValue("padding-left")),
Y = parseFloat(B.getPropertyValue("padding-right")),
F = parseFloat(B.getPropertyValue("margin-left")),
W = parseFloat(B.getPropertyValue("margin-right")),
R = B.getPropertyValue("box-sizing");
S = R && "border-box" === R ? X + F + W : X + V + Y + F + W;
} else {
var q = parseFloat(B.getPropertyValue("height")),
j = parseFloat(B.getPropertyValue("padding-top")),
K = parseFloat(B.getPropertyValue("padding-bottom")),
U = parseFloat(B.getPropertyValue("margin-top")),
_ = parseFloat(B.getPropertyValue("margin-bottom")),
Z = B.getPropertyValue("box-sizing");
S = Z && "border-box" === Z ? q + U + _ : q + j + K + U + _;
}
H && ($[0].style.transform = H), N && ($[0].style.webkitTransform = N), e.roundLengths && (S = Math.floor(S));
} else (S = (s - (e.slidesPerView - 1) * w) / e.slidesPerView), e.roundLengths && (S = Math.floor(S)), d[k] && (this.isHorizontal() ? (d[k].style.width = S + "px") : (d[k].style.height = S + "px"));
d[k] && (d[k].swiperSlideSize = S),
u.push(S),
e.centeredSlides
? ((y = y + S / 2 + x / 2 + w),
0 === x && 0 !== k && (y = y - s / 2 - w),
0 === k && (y = y - s / 2 - w),
Math.abs(y) < 0.001 && (y = 0),
e.roundLengths && (y = Math.floor(y)),
T % e.slidesPerGroup == 0 && p.push(y),
c.push(y))
: (e.roundLengths && (y = Math.floor(y)), (T - Math.min(this.params.slidesPerGroupSkip, T)) % this.params.slidesPerGroup == 0 && p.push(y), c.push(y), (y = y + S + w)),
(this.virtualSize += S + w),
(x = S),
(T += 1);
}
}
if (
((this.virtualSize = Math.max(this.virtualSize, s) + m),
a && r && ("slide" === e.effect || "coverflow" === e.effect) && i.css({ width: this.virtualSize + e.spaceBetween + "px" }),
e.setWrapperSize && (this.isHorizontal() ? i.css({ width: this.virtualSize + e.spaceBetween + "px" }) : i.css({ height: this.virtualSize + e.spaceBetween + "px" })),
e.slidesPerColumn > 1 &&
((this.virtualSize = (S + e.spaceBetween) * E),
(this.virtualSize = Math.ceil(this.virtualSize / e.slidesPerColumn) - e.spaceBetween),
this.isHorizontal() ? i.css({ width: this.virtualSize + e.spaceBetween + "px" }) : i.css({ height: this.virtualSize + e.spaceBetween + "px" }),
e.centeredSlides))
) {
C = [];
for (var Q = 0; Q < p.length; Q += 1) {
var J = p[Q];
e.roundLengths && (J = Math.floor(J)), p[Q] < this.virtualSize + p[0] && C.push(J);
}
p = C;
}
if (!e.centeredSlides) {
C = [];
for (var ee = 0; ee < p.length; ee += 1) {
var te = p[ee];
e.roundLengths && (te = Math.floor(te)), p[ee] <= this.virtualSize - s && C.push(te);
}
(p = C), Math.floor(this.virtualSize - s) - Math.floor(p[p.length - 1]) > 1 && p.push(this.virtualSize - s);
}
if (
(0 === p.length && (p = [0]),
0 !== e.spaceBetween && (this.isHorizontal() ? (a ? d.filter(v).css({ marginLeft: w + "px" }) : d.filter(v).css({ marginRight: w + "px" })) : d.filter(v).css({ marginBottom: w + "px" })),
e.centeredSlides && e.centeredSlidesBounds)
) {
var ie = 0;
u.forEach(function (t) {
ie += t + (e.spaceBetween ? e.spaceBetween : 0);
});
var se = (ie -= e.spaceBetween) - s;
p = p.map(function (e) {
return e < 0 ? -f : e > se ? se + m : e;
});
}
if (e.centerInsufficientSlides) {
var ae = 0;
if (
(u.forEach(function (t) {
ae += t + (e.spaceBetween ? e.spaceBetween : 0);
}),
(ae -= e.spaceBetween) < s)
) {
var re = (s - ae) / 2;
p.forEach(function (e, t) {
p[t] = e - re;
}),
c.forEach(function (e, t) {
c[t] = e + re;
});
}
}
n.extend(this, { slides: d, snapGrid: p, slidesGrid: c, slidesSizesGrid: u }),
h !== l && this.emit("slidesLengthChange"),
p.length !== g && (this.params.watchOverflow && this.checkOverflow(), this.emit("snapGridLengthChange")),
c.length !== b && this.emit("slidesGridLengthChange"),
(e.watchSlidesProgress || e.watchSlidesVisibility) && this.updateSlidesOffset();
}
},
updateAutoHeight: function (e) {
var t,
i = [],
s = 0;
if (("number" == typeof e ? this.setTransition(e) : !0 === e && this.setTransition(this.params.speed), "auto" !== this.params.slidesPerView && this.params.slidesPerView > 1))
for (t = 0; t < Math.ceil(this.params.slidesPerView); t += 1) {
var a = this.activeIndex + t;
if (a > this.slides.length) break;
i.push(this.slides.eq(a)[0]);
}
else i.push(this.slides.eq(this.activeIndex)[0]);
for (t = 0; t < i.length; t += 1)
if (void 0 !== i[t]) {
var r = i[t].offsetHeight;
s = r > s ? r : s;
}
s && this.$wrapperEl.css("height", s + "px");
},
updateSlidesOffset: function () {
for (var e = this.slides, t = 0; t < e.length; t += 1) e[t].swiperSlideOffset = this.isHorizontal() ? e[t].offsetLeft : e[t].offsetTop;
},
updateSlidesProgress: function (e) {
void 0 === e && (e = (this && this.translate) || 0);
var t = this.params,
i = this.slides,
a = this.rtlTranslate;
if (0 !== i.length) {
void 0 === i[0].swiperSlideOffset && this.updateSlidesOffset();
var r = -e;
a && (r = e), i.removeClass(t.slideVisibleClass), (this.visibleSlidesIndexes = []), (this.visibleSlides = []);
for (var n = 0; n < i.length; n += 1) {
var o = i[n],
l = (r + (t.centeredSlides ? this.minTranslate() : 0) - o.swiperSlideOffset) / (o.swiperSlideSize + t.spaceBetween);
if (t.watchSlidesVisibility) {
var d = -(r - o.swiperSlideOffset),
h = d + this.slidesSizesGrid[n];
((d >= 0 && d < this.size - 1) || (h > 1 && h <= this.size) || (d <= 0 && h >= this.size)) && (this.visibleSlides.push(o), this.visibleSlidesIndexes.push(n), i.eq(n).addClass(t.slideVisibleClass));
}
o.progress = a ? -l : l;
}
this.visibleSlides = s(this.visibleSlides);
}
},
updateProgress: function (e) {
if (void 0 === e) {
var t = this.rtlTranslate ? -1 : 1;
e = (this && this.translate && this.translate * t) || 0;
}
var i = this.params,
s = this.maxTranslate() - this.minTranslate(),
a = this.progress,
r = this.isBeginning,
o = this.isEnd,
l = r,
d = o;
0 === s ? ((a = 0), (r = !0), (o = !0)) : ((r = (a = (e - this.minTranslate()) / s) <= 0), (o = a >= 1)),
n.extend(this, { progress: a, isBeginning: r, isEnd: o }),
(i.watchSlidesProgress || i.watchSlidesVisibility) && this.updateSlidesProgress(e),
r && !l && this.emit("reachBeginning toEdge"),
o && !d && this.emit("reachEnd toEdge"),
((l && !r) || (d && !o)) && this.emit("fromEdge"),
this.emit("progress", a);
},
updateSlidesClasses: function () {
var e,
t = this.slides,
i = this.params,
s = this.$wrapperEl,
a = this.activeIndex,
r = this.realIndex,
n = this.virtual && i.virtual.enabled;
t.removeClass(i.slideActiveClass + " " + i.slideNextClass + " " + i.slidePrevClass + " " + i.slideDuplicateActiveClass + " " + i.slideDuplicateNextClass + " " + i.slideDuplicatePrevClass),
(e = n ? this.$wrapperEl.find("." + i.slideClass + '[data-swiper-slide-index="' + a + '"]') : t.eq(a)).addClass(i.slideActiveClass),
i.loop &&
(e.hasClass(i.slideDuplicateClass)
? s.children("." + i.slideClass + ":not(." + i.slideDuplicateClass + ')[data-swiper-slide-index="' + r + '"]').addClass(i.slideDuplicateActiveClass)
: s.children("." + i.slideClass + "." + i.slideDuplicateClass + '[data-swiper-slide-index="' + r + '"]').addClass(i.slideDuplicateActiveClass));
var o = e
.nextAll("." + i.slideClass)
.eq(0)
.addClass(i.slideNextClass);
i.loop && 0 === o.length && (o = t.eq(0)).addClass(i.slideNextClass);
var l = e
.prevAll("." + i.slideClass)
.eq(0)
.addClass(i.slidePrevClass);
i.loop && 0 === l.length && (l = t.eq(-1)).addClass(i.slidePrevClass),
i.loop &&
(o.hasClass(i.slideDuplicateClass)
? s.children("." + i.slideClass + ":not(." + i.slideDuplicateClass + ')[data-swiper-slide-index="' + o.attr("data-swiper-slide-index") + '"]').addClass(i.slideDuplicateNextClass)
: s.children("." + i.slideClass + "." + i.slideDuplicateClass + '[data-swiper-slide-index="' + o.attr("data-swiper-slide-index") + '"]').addClass(i.slideDuplicateNextClass),
l.hasClass(i.slideDuplicateClass)
? s.children("." + i.slideClass + ":not(." + i.slideDuplicateClass + ')[data-swiper-slide-index="' + l.attr("data-swiper-slide-index") + '"]').addClass(i.slideDuplicatePrevClass)
: s.children("." + i.slideClass + "." + i.slideDuplicateClass + '[data-swiper-slide-index="' + l.attr("data-swiper-slide-index") + '"]').addClass(i.slideDuplicatePrevClass));
},
updateActiveIndex: function (e) {
var t,
i = this.rtlTranslate ? this.translate : -this.translate,
s = this.slidesGrid,
a = this.snapGrid,
r = this.params,
o = this.activeIndex,
l = this.realIndex,
d = this.snapIndex,
h = e;
if (void 0 === h) {
for (var p = 0; p < s.length; p += 1) void 0 !== s[p + 1] ? (i >= s[p] && i < s[p + 1] - (s[p + 1] - s[p]) / 2 ? (h = p) : i >= s[p] && i < s[p + 1] && (h = p + 1)) : i >= s[p] && (h = p);
r.normalizeSlideIndex && (h < 0 || void 0 === h) && (h = 0);
}
if (a.indexOf(i) >= 0) t = a.indexOf(i);
else {
var c = Math.min(r.slidesPerGroupSkip, h);
t = c + Math.floor((h - c) / r.slidesPerGroup);
}
if ((t >= a.length && (t = a.length - 1), h !== o)) {
var u = parseInt(this.slides.eq(h).attr("data-swiper-slide-index") || h, 10);
n.extend(this, { snapIndex: t, realIndex: u, previousIndex: o, activeIndex: h }),
this.emit("activeIndexChange"),
this.emit("snapIndexChange"),
l !== u && this.emit("realIndexChange"),
(this.initialized || this.runCallbacksOnInit) && this.emit("slideChange");
} else t !== d && ((this.snapIndex = t), this.emit("snapIndexChange"));
},
updateClickedSlide: function (e) {
var t = this.params,
i = s(e.target).closest("." + t.slideClass)[0],
a = !1;
if (i) for (var r = 0; r < this.slides.length; r += 1) this.slides[r] === i && (a = !0);
if (!i || !a) return (this.clickedSlide = void 0), void (this.clickedIndex = void 0);
(this.clickedSlide = i),
this.virtual && this.params.virtual.enabled ? (this.clickedIndex = parseInt(s(i).attr("data-swiper-slide-index"), 10)) : (this.clickedIndex = s(i).index()),
t.slideToClickedSlide && void 0 !== this.clickedIndex && this.clickedIndex !== this.activeIndex && this.slideToClickedSlide();
},
};
var p = {
getTranslate: function (e) {
void 0 === e && (e = this.isHorizontal() ? "x" : "y");
var t = this.params,
i = this.rtlTranslate,
s = this.translate,
a = this.$wrapperEl;
if (t.virtualTranslate) return i ? -s : s;
if (t.cssMode) return s;
var r = n.getTranslate(a[0], e);
return i && (r = -r), r || 0;
},
setTranslate: function (e, t) {
var i = this.rtlTranslate,
s = this.params,
a = this.$wrapperEl,
r = this.wrapperEl,
n = this.progress,
o = 0,
l = 0;
this.isHorizontal() ? (o = i ? -e : e) : (l = e),
s.roundLengths && ((o = Math.floor(o)), (l = Math.floor(l))),
s.cssMode ? (r[this.isHorizontal() ? "scrollLeft" : "scrollTop"] = this.isHorizontal() ? -o : -l) : s.virtualTranslate || a.transform("translate3d(" + o + "px, " + l + "px, 0px)"),
(this.previousTranslate = this.translate),
(this.translate = this.isHorizontal() ? o : l);
var d = this.maxTranslate() - this.minTranslate();
(0 === d ? 0 : (e - this.minTranslate()) / d) !== n && this.updateProgress(e), this.emit("setTranslate", this.translate, t);
},
minTranslate: function () {
return -this.snapGrid[0];
},
maxTranslate: function () {
return -this.snapGrid[this.snapGrid.length - 1];
},
translateTo: function (e, t, i, s, a) {
var r;
void 0 === e && (e = 0), void 0 === t && (t = this.params.speed), void 0 === i && (i = !0), void 0 === s && (s = !0);
var n = this,
o = n.params,
l = n.wrapperEl;
if (n.animating && o.preventInteractionOnTransition) return !1;
var d,
h = n.minTranslate(),
p = n.maxTranslate();
if (((d = s && e > h ? h : s && e < p ? p : e), n.updateProgress(d), o.cssMode)) {
var c = n.isHorizontal();
return 0 === t ? (l[c ? "scrollLeft" : "scrollTop"] = -d) : l.scrollTo ? l.scrollTo((((r = {})[c ? "left" : "top"] = -d), (r.behavior = "smooth"), r)) : (l[c ? "scrollLeft" : "scrollTop"] = -d), !0;
}
return (
0 === t
? (n.setTransition(0), n.setTranslate(d), i && (n.emit("beforeTransitionStart", t, a), n.emit("transitionEnd")))
: (n.setTransition(t),
n.setTranslate(d),
i && (n.emit("beforeTransitionStart", t, a), n.emit("transitionStart")),
n.animating ||
((n.animating = !0),
n.onTranslateToWrapperTransitionEnd ||
(n.onTranslateToWrapperTransitionEnd = function (e) {
n &&
!n.destroyed &&
e.target === this &&
(n.$wrapperEl[0].removeEventListener("transitionend", n.onTranslateToWrapperTransitionEnd),
n.$wrapperEl[0].removeEventListener("webkitTransitionEnd", n.onTranslateToWrapperTransitionEnd),
(n.onTranslateToWrapperTransitionEnd = null),
delete n.onTranslateToWrapperTransitionEnd,
i && n.emit("transitionEnd"));
}),
n.$wrapperEl[0].addEventListener("transitionend", n.onTranslateToWrapperTransitionEnd),
n.$wrapperEl[0].addEventListener("webkitTransitionEnd", n.onTranslateToWrapperTransitionEnd))),
!0
);
},
};
var c = {
setTransition: function (e, t) {
this.params.cssMode || this.$wrapperEl.transition(e), this.emit("setTransition", e, t);
},
transitionStart: function (e, t) {
void 0 === e && (e = !0);
var i = this.activeIndex,
s = this.params,
a = this.previousIndex;
if (!s.cssMode) {
s.autoHeight && this.updateAutoHeight();
var r = t;
if ((r || (r = i > a ? "next" : i < a ? "prev" : "reset"), this.emit("transitionStart"), e && i !== a)) {
if ("reset" === r) return void this.emit("slideResetTransitionStart");
this.emit("slideChangeTransitionStart"), "next" === r ? this.emit("slideNextTransitionStart") : this.emit("slidePrevTransitionStart");
}
}
},
transitionEnd: function (e, t) {
void 0 === e && (e = !0);
var i = this.activeIndex,
s = this.previousIndex,
a = this.params;
if (((this.animating = !1), !a.cssMode)) {
this.setTransition(0);
var r = t;
if ((r || (r = i > s ? "next" : i < s ? "prev" : "reset"), this.emit("transitionEnd"), e && i !== s)) {
if ("reset" === r) return void this.emit("slideResetTransitionEnd");
this.emit("slideChangeTransitionEnd"), "next" === r ? this.emit("slideNextTransitionEnd") : this.emit("slidePrevTransitionEnd");
}
}
},
};
var u = {
slideTo: function (e, t, i, s) {
var a;
void 0 === e && (e = 0), void 0 === t && (t = this.params.speed), void 0 === i && (i = !0);
var r = this,
n = e;
n < 0 && (n = 0);
var o = r.params,
l = r.snapGrid,
d = r.slidesGrid,
h = r.previousIndex,
p = r.activeIndex,
c = r.rtlTranslate,
u = r.wrapperEl;
if (r.animating && o.preventInteractionOnTransition) return !1;
var v = Math.min(r.params.slidesPerGroupSkip, n),
f = v + Math.floor((n - v) / r.params.slidesPerGroup);
f >= l.length && (f = l.length - 1), (p || o.initialSlide || 0) === (h || 0) && i && r.emit("beforeSlideChangeStart");
var m,
g = -l[f];
if ((r.updateProgress(g), o.normalizeSlideIndex)) for (var b = 0; b < d.length; b += 1) -Math.floor(100 * g) >= Math.floor(100 * d[b]) && (n = b);
if (r.initialized && n !== p) {
if (!r.allowSlideNext && g < r.translate && g < r.minTranslate()) return !1;
if (!r.allowSlidePrev && g > r.translate && g > r.maxTranslate() && (p || 0) !== n) return !1;
}
if (((m = n > p ? "next" : n < p ? "prev" : "reset"), (c && -g === r.translate) || (!c && g === r.translate)))
return r.updateActiveIndex(n), o.autoHeight && r.updateAutoHeight(), r.updateSlidesClasses(), "slide" !== o.effect && r.setTranslate(g), "reset" !== m && (r.transitionStart(i, m), r.transitionEnd(i, m)), !1;
if (o.cssMode) {
var w = r.isHorizontal();
return 0 === t ? (u[w ? "scrollLeft" : "scrollTop"] = -g) : u.scrollTo ? u.scrollTo((((a = {})[w ? "left" : "top"] = -g), (a.behavior = "smooth"), a)) : (u[w ? "scrollLeft" : "scrollTop"] = -g), !0;
}
return (
0 === t
? (r.setTransition(0), r.setTranslate(g), r.updateActiveIndex(n), r.updateSlidesClasses(), r.emit("beforeTransitionStart", t, s), r.transitionStart(i, m), r.transitionEnd(i, m))
: (r.setTransition(t),
r.setTranslate(g),
r.updateActiveIndex(n),
r.updateSlidesClasses(),
r.emit("beforeTransitionStart", t, s),
r.transitionStart(i, m),
r.animating ||
((r.animating = !0),
r.onSlideToWrapperTransitionEnd ||
(r.onSlideToWrapperTransitionEnd = function (e) {
r &&
!r.destroyed &&
e.target === this &&
(r.$wrapperEl[0].removeEventListener("transitionend", r.onSlideToWrapperTransitionEnd),
r.$wrapperEl[0].removeEventListener("webkitTransitionEnd", r.onSlideToWrapperTransitionEnd),
(r.onSlideToWrapperTransitionEnd = null),
delete r.onSlideToWrapperTransitionEnd,
r.transitionEnd(i, m));
}),
r.$wrapperEl[0].addEventListener("transitionend", r.onSlideToWrapperTransitionEnd),
r.$wrapperEl[0].addEventListener("webkitTransitionEnd", r.onSlideToWrapperTransitionEnd))),
!0
);
},
slideToLoop: function (e, t, i, s) {
void 0 === e && (e = 0), void 0 === t && (t = this.params.speed), void 0 === i && (i = !0);
var a = e;
return this.params.loop && (a += this.loopedSlides), this.slideTo(a, t, i, s);
},
slideNext: function (e, t, i) {
void 0 === e && (e = this.params.speed), void 0 === t && (t = !0);
var s = this.params,
a = this.animating,
r = this.activeIndex < s.slidesPerGroupSkip ? 1 : s.slidesPerGroup;
if (s.loop) {
if (a) return !1;
this.loopFix(), (this._clientLeft = this.$wrapperEl[0].clientLeft);
}
return this.slideTo(this.activeIndex + r, e, t, i);
},
slidePrev: function (e, t, i) {
void 0 === e && (e = this.params.speed), void 0 === t && (t = !0);
var s = this.params,
a = this.animating,
r = this.snapGrid,
n = this.slidesGrid,
o = this.rtlTranslate;
if (s.loop) {
if (a) return !1;
this.loopFix(), (this._clientLeft = this.$wrapperEl[0].clientLeft);
}
function l(e) {
return e < 0 ? -Math.floor(Math.abs(e)) : Math.floor(e);
}
var d,
h = l(o ? this.translate : -this.translate),
p = r.map(function (e) {
return l(e);
}),
c =
(n.map(function (e) {
return l(e);
}),
r[p.indexOf(h)],
r[p.indexOf(h) - 1]);
return (
void 0 === c &&
s.cssMode &&
r.forEach(function (e) {
!c && h >= e && (c = e);
}),
void 0 !== c && (d = n.indexOf(c)) < 0 && (d = this.activeIndex - 1),
this.slideTo(d, e, t, i)
);
},
slideReset: function (e, t, i) {
return void 0 === e && (e = this.params.speed), void 0 === t && (t = !0), this.slideTo(this.activeIndex, e, t, i);
},
slideToClosest: function (e, t, i, s) {
void 0 === e && (e = this.params.speed), void 0 === t && (t = !0), void 0 === s && (s = 0.5);
var a = this.activeIndex,
r = Math.min(this.params.slidesPerGroupSkip, a),
n = r + Math.floor((a - r) / this.params.slidesPerGroup),
o = this.rtlTranslate ? this.translate : -this.translate;
if (o >= this.snapGrid[n]) {
var l = this.snapGrid[n];
o - l > (this.snapGrid[n + 1] - l) * s && (a += this.params.slidesPerGroup);
} else {
var d = this.snapGrid[n - 1];
o - d <= (this.snapGrid[n] - d) * s && (a -= this.params.slidesPerGroup);
}
return (a = Math.max(a, 0)), (a = Math.min(a, this.slidesGrid.length - 1)), this.slideTo(a, e, t, i);
},
slideToClickedSlide: function () {
var e,
t = this,
i = t.params,
a = t.$wrapperEl,
r = "auto" === i.slidesPerView ? t.slidesPerViewDynamic() : i.slidesPerView,
o = t.clickedIndex;
if (i.loop) {
if (t.animating) return;
(e = parseInt(s(t.clickedSlide).attr("data-swiper-slide-index"), 10)),
i.centeredSlides
? o < t.loopedSlides - r / 2 || o > t.slides.length - t.loopedSlides + r / 2
? (t.loopFix(),
(o = a
.children("." + i.slideClass + '[data-swiper-slide-index="' + e + '"]:not(.' + i.slideDuplicateClass + ")")
.eq(0)
.index()),
n.nextTick(function () {
t.slideTo(o);
}))
: t.slideTo(o)
: o > t.slides.length - r
? (t.loopFix(),
(o = a
.children("." + i.slideClass + '[data-swiper-slide-index="' + e + '"]:not(.' + i.slideDuplicateClass + ")")
.eq(0)
.index()),
n.nextTick(function () {
t.slideTo(o);
}))
: t.slideTo(o);
} else t.slideTo(o);
},
};
var v = {
loopCreate: function () {
var t = this,
i = t.params,
a = t.$wrapperEl;
a.children("." + i.slideClass + "." + i.slideDuplicateClass).remove();
var r = a.children("." + i.slideClass);
if (i.loopFillGroupWithBlank) {
var n = i.slidesPerGroup - (r.length % i.slidesPerGroup);
if (n !== i.slidesPerGroup) {
for (var o = 0; o < n; o += 1) {
var l = s(e.createElement("div")).addClass(i.slideClass + " " + i.slideBlankClass);
a.append(l);
}
r = a.children("." + i.slideClass);
}
}
"auto" !== i.slidesPerView || i.loopedSlides || (i.loopedSlides = r.length),
(t.loopedSlides = Math.ceil(parseFloat(i.loopedSlides || i.slidesPerView, 10))),
(t.loopedSlides += i.loopAdditionalSlides),
t.loopedSlides > r.length && (t.loopedSlides = r.length);
var d = [],
h = [];
r.each(function (e, i) {
var a = s(i);
e < t.loopedSlides && h.push(i), e < r.length && e >= r.length - t.loopedSlides && d.push(i), a.attr("data-swiper-slide-index", e);
});
for (var p = 0; p < h.length; p += 1) a.append(s(h[p].cloneNode(!0)).addClass(i.slideDuplicateClass));
for (var c = d.length - 1; c >= 0; c -= 1) a.prepend(s(d[c].cloneNode(!0)).addClass(i.slideDuplicateClass));
},
loopFix: function () {
this.emit("beforeLoopFix");
var e,
t = this.activeIndex,
i = this.slides,
s = this.loopedSlides,
a = this.allowSlidePrev,
r = this.allowSlideNext,
n = this.snapGrid,
o = this.rtlTranslate;
(this.allowSlidePrev = !0), (this.allowSlideNext = !0);
var l = -n[t] - this.getTranslate();
if (t < s) (e = i.length - 3 * s + t), (e += s), this.slideTo(e, 0, !1, !0) && 0 !== l && this.setTranslate((o ? -this.translate : this.translate) - l);
else if (t >= i.length - s) {
(e = -i.length + t + s), (e += s), this.slideTo(e, 0, !1, !0) && 0 !== l && this.setTranslate((o ? -this.translate : this.translate) - l);
}
(this.allowSlidePrev = a), (this.allowSlideNext = r), this.emit("loopFix");
},
loopDestroy: function () {
var e = this.$wrapperEl,
t = this.params,
i = this.slides;
e.children("." + t.slideClass + "." + t.slideDuplicateClass + ",." + t.slideClass + "." + t.slideBlankClass).remove(), i.removeAttr("data-swiper-slide-index");
},
};
var f = {
setGrabCursor: function (e) {
if (!(o.touch || !this.params.simulateTouch || (this.params.watchOverflow && this.isLocked) || this.params.cssMode)) {
var t = this.el;
(t.style.cursor = "move"), (t.style.cursor = e ? "-webkit-grabbing" : "-webkit-grab"), (t.style.cursor = e ? "-moz-grabbin" : "-moz-grab"), (t.style.cursor = e ? "grabbing" : "grab");
}
},
unsetGrabCursor: function () {
o.touch || (this.params.watchOverflow && this.isLocked) || this.params.cssMode || (this.el.style.cursor = "");
},
};
var m,
g,
b,
w,
y,
x,
T,
E,
S,
C,
M,
P,
z,
k,
$,
L = {
appendSlide: function (e) {
var t = this.$wrapperEl,
i = this.params;
if ((i.loop && this.loopDestroy(), "object" == typeof e && "length" in e)) for (var s = 0; s < e.length; s += 1) e[s] && t.append(e[s]);
else t.append(e);
i.loop && this.loopCreate(), (i.observer && o.observer) || this.update();
},
prependSlide: function (e) {
var t = this.params,
i = this.$wrapperEl,
s = this.activeIndex;
t.loop && this.loopDestroy();
var a = s + 1;
if ("object" == typeof e && "length" in e) {
for (var r = 0; r < e.length; r += 1) e[r] && i.prepend(e[r]);
a = s + e.length;
} else i.prepend(e);
t.loop && this.loopCreate(), (t.observer && o.observer) || this.update(), this.slideTo(a, 0, !1);
},
addSlide: function (e, t) {
var i = this.$wrapperEl,
s = this.params,
a = this.activeIndex;
s.loop && ((a -= this.loopedSlides), this.loopDestroy(), (this.slides = i.children("." + s.slideClass)));
var r = this.slides.length;
if (e <= 0) this.prependSlide(t);
else if (e >= r) this.appendSlide(t);
else {
for (var n = a > e ? a + 1 : a, l = [], d = r - 1; d >= e; d -= 1) {
var h = this.slides.eq(d);
h.remove(), l.unshift(h);
}
if ("object" == typeof t && "length" in t) {
for (var p = 0; p < t.length; p += 1) t[p] && i.append(t[p]);
n = a > e ? a + t.length : a;
} else i.append(t);
for (var c = 0; c < l.length; c += 1) i.append(l[c]);
s.loop && this.loopCreate(), (s.observer && o.observer) || this.update(), s.loop ? this.slideTo(n + this.loopedSlides, 0, !1) : this.slideTo(n, 0, !1);
}
},
removeSlide: function (e) {
var t = this.params,
i = this.$wrapperEl,
s = this.activeIndex;
t.loop && ((s -= this.loopedSlides), this.loopDestroy(), (this.slides = i.children("." + t.slideClass)));
var a,
r = s;
if ("object" == typeof e && "length" in e) {
for (var n = 0; n < e.length; n += 1) (a = e[n]), this.slides[a] && this.slides.eq(a).remove(), a < r && (r -= 1);
r = Math.max(r, 0);
} else (a = e), this.slides[a] && this.slides.eq(a).remove(), a < r && (r -= 1), (r = Math.max(r, 0));
t.loop && this.loopCreate(), (t.observer && o.observer) || this.update(), t.loop ? this.slideTo(r + this.loopedSlides, 0, !1) : this.slideTo(r, 0, !1);
},
removeAllSlides: function () {
for (var e = [], t = 0; t < this.slides.length; t += 1) e.push(t);
this.removeSlide(e);
},
},
I =
((m = t.navigator.platform),
(g = t.navigator.userAgent),
(b = {
ios: !1,
android: !1,
androidChrome: !1,
desktop: !1,
iphone: !1,
ipod: !1,
ipad: !1,
edge: !1,
ie: !1,
firefox: !1,
macos: !1,
windows: !1,
cordova: !(!t.cordova && !t.phonegap),
phonegap: !(!t.cordova && !t.phonegap),
electron: !1,
}),
(w = t.screen.width),
(y = t.screen.height),
(x = g.match(/(Android);?[\s\/]+([\d.]+)?/)),
(T = g.match(/(iPad).*OS\s([\d_]+)/)),
(E = g.match(/(iPod)(.*OS\s([\d_]+))?/)),
(S = !T && g.match(/(iPhone\sOS|iOS)\s([\d_]+)/)),
(C = g.indexOf("MSIE ") >= 0 || g.indexOf("Trident/") >= 0),
(M = g.indexOf("Edge/") >= 0),
(P = g.indexOf("Gecko/") >= 0 && g.indexOf("Firefox/") >= 0),
(z = "Win32" === m),
(k = g.toLowerCase().indexOf("electron") >= 0),
($ = "MacIntel" === m),
!T && $ && o.touch && ((1024 === w && 1366 === y) || (834 === w && 1194 === y) || (834 === w && 1112 === y) || (768 === w && 1024 === y)) && ((T = g.match(/(Version)\/([\d.]+)/)), ($ = !1)),
(b.ie = C),
(b.edge = M),
(b.firefox = P),
x && !z && ((b.os = "android"), (b.osVersion = x[2]), (b.android = !0), (b.androidChrome = g.toLowerCase().indexOf("chrome") >= 0)),
(T || S || E) && ((b.os = "ios"), (b.ios = !0)),
S && !E && ((b.osVersion = S[2].replace(/_/g, ".")), (b.iphone = !0)),
T && ((b.osVersion = T[2].replace(/_/g, ".")), (b.ipad = !0)),
E && ((b.osVersion = E[3] ? E[3].replace(/_/g, ".") : null), (b.ipod = !0)),
b.ios && b.osVersion && g.indexOf("Version/") >= 0 && "10" === b.osVersion.split(".")[0] && (b.osVersion = g.toLowerCase().split("version/")[1].split(" ")[0]),
(b.webView = !(!(S || T || E) || (!g.match(/.*AppleWebKit(?!.*Safari)/i) && !t.navigator.standalone)) || (t.matchMedia && t.matchMedia("(display-mode: standalone)").matches)),
(b.webview = b.webView),
(b.standalone = b.webView),
(b.desktop = !(b.ios || b.android) || k),
b.desktop && ((b.electron = k), (b.macos = $), (b.windows = z), b.macos && (b.os = "macos"), b.windows && (b.os = "windows")),
(b.pixelRatio = t.devicePixelRatio || 1),
b);
function D(i) {
var a = this.touchEventsData,
r = this.params,
o = this.touches;
if (!this.animating || !r.preventInteractionOnTransition) {
var l = i;
l.originalEvent && (l = l.originalEvent);
var d = s(l.target);
if (
("wrapper" !== r.touchEventsTarget || d.closest(this.wrapperEl).length) &&
((a.isTouchEvent = "touchstart" === l.type), (a.isTouchEvent || !("which" in l) || 3 !== l.which) && !((!a.isTouchEvent && "button" in l && l.button > 0) || (a.isTouched && a.isMoved)))
)
if (r.noSwiping && d.closest(r.noSwipingSelector ? r.noSwipingSelector : "." + r.noSwipingClass)[0]) this.allowClick = !0;
else if (!r.swipeHandler || d.closest(r.swipeHandler)[0]) {
(o.currentX = "touchstart" === l.type ? l.targetTouches[0].pageX : l.pageX), (o.currentY = "touchstart" === l.type ? l.targetTouches[0].pageY : l.pageY);
var h = o.currentX,
p = o.currentY,
c = r.edgeSwipeDetection || r.iOSEdgeSwipeDetection,
u = r.edgeSwipeThreshold || r.iOSEdgeSwipeThreshold;
if (!c || !(h <= u || h >= t.screen.width - u)) {
if (
(n.extend(a, { isTouched: !0, isMoved: !1, allowTouchCallbacks: !0, isScrolling: void 0, startMoving: void 0 }),
(o.startX = h),
(o.startY = p),
(a.touchStartTime = n.now()),
(this.allowClick = !0),
this.updateSize(),
(this.swipeDirection = void 0),
r.threshold > 0 && (a.allowThresholdMove = !1),
"touchstart" !== l.type)
) {
var v = !0;
d.is(a.formElements) && (v = !1), e.activeElement && s(e.activeElement).is(a.formElements) && e.activeElement !== d[0] && e.activeElement.blur();
var f = v && this.allowTouchMove && r.touchStartPreventDefault;
(r.touchStartForcePreventDefault || f) && l.preventDefault();
}
this.emit("touchStart", l);
}
}
}
}
function O(t) {
var i = this.touchEventsData,
a = this.params,
r = this.touches,
o = this.rtlTranslate,
l = t;
if ((l.originalEvent && (l = l.originalEvent), i.isTouched)) {
if (!i.isTouchEvent || "mousemove" !== l.type) {
var d = "touchmove" === l.type && l.targetTouches && (l.targetTouches[0] || l.changedTouches[0]),
h = "touchmove" === l.type ? d.pageX : l.pageX,
p = "touchmove" === l.type ? d.pageY : l.pageY;
if (l.preventedByNestedSwiper) return (r.startX = h), void (r.startY = p);
if (!this.allowTouchMove) return (this.allowClick = !1), void (i.isTouched && (n.extend(r, { startX: h, startY: p, currentX: h, currentY: p }), (i.touchStartTime = n.now())));
if (i.isTouchEvent && a.touchReleaseOnEdges && !a.loop)
if (this.isVertical()) {
if ((p < r.startY && this.translate <= this.maxTranslate()) || (p > r.startY && this.translate >= this.minTranslate())) return (i.isTouched = !1), void (i.isMoved = !1);
} else if ((h < r.startX && this.translate <= this.maxTranslate()) || (h > r.startX && this.translate >= this.minTranslate())) return;
if (i.isTouchEvent && e.activeElement && l.target === e.activeElement && s(l.target).is(i.formElements)) return (i.isMoved = !0), void (this.allowClick = !1);
if ((i.allowTouchCallbacks && this.emit("touchMove", l), !(l.targetTouches && l.targetTouches.length > 1))) {
(r.currentX = h), (r.currentY = p);
var c = r.currentX - r.startX,
u = r.currentY - r.startY;
if (!(this.params.threshold && Math.sqrt(Math.pow(c, 2) + Math.pow(u, 2)) < this.params.threshold)) {
var v;
if (void 0 === i.isScrolling)
(this.isHorizontal() && r.currentY === r.startY) || (this.isVertical() && r.currentX === r.startX)
? (i.isScrolling = !1)
: c * c + u * u >= 25 && ((v = (180 * Math.atan2(Math.abs(u), Math.abs(c))) / Math.PI), (i.isScrolling = this.isHorizontal() ? v > a.touchAngle : 90 - v > a.touchAngle));
if ((i.isScrolling && this.emit("touchMoveOpposite", l), void 0 === i.startMoving && ((r.currentX === r.startX && r.currentY === r.startY) || (i.startMoving = !0)), i.isScrolling)) i.isTouched = !1;
else if (i.startMoving) {
(this.allowClick = !1),
a.cssMode || l.preventDefault(),
a.touchMoveStopPropagation && !a.nested && l.stopPropagation(),
i.isMoved ||
(a.loop && this.loopFix(),
(i.startTranslate = this.getTranslate()),
this.setTransition(0),
this.animating && this.$wrapperEl.trigger("webkitTransitionEnd transitionend"),
(i.allowMomentumBounce = !1),
!a.grabCursor || (!0 !== this.allowSlideNext && !0 !== this.allowSlidePrev) || this.setGrabCursor(!0),
this.emit("sliderFirstMove", l)),
this.emit("sliderMove", l),
(i.isMoved = !0);
var f = this.isHorizontal() ? c : u;
(r.diff = f), (f *= a.touchRatio), o && (f = -f), (this.swipeDirection = f > 0 ? "prev" : "next"), (i.currentTranslate = f + i.startTranslate);
var m = !0,
g = a.resistanceRatio;
if (
(a.touchReleaseOnEdges && (g = 0),
f > 0 && i.currentTranslate > this.minTranslate()
? ((m = !1), a.resistance && (i.currentTranslate = this.minTranslate() - 1 + Math.pow(-this.minTranslate() + i.startTranslate + f, g)))
: f < 0 && i.currentTranslate < this.maxTranslate() && ((m = !1), a.resistance && (i.currentTranslate = this.maxTranslate() + 1 - Math.pow(this.maxTranslate() - i.startTranslate - f, g))),
m && (l.preventedByNestedSwiper = !0),
!this.allowSlideNext && "next" === this.swipeDirection && i.currentTranslate < i.startTranslate && (i.currentTranslate = i.startTranslate),
!this.allowSlidePrev && "prev" === this.swipeDirection && i.currentTranslate > i.startTranslate && (i.currentTranslate = i.startTranslate),
a.threshold > 0)
) {
if (!(Math.abs(f) > a.threshold || i.allowThresholdMove)) return void (i.currentTranslate = i.startTranslate);
if (!i.allowThresholdMove)
return (
(i.allowThresholdMove = !0),
(r.startX = r.currentX),
(r.startY = r.currentY),
(i.currentTranslate = i.startTranslate),
void (r.diff = this.isHorizontal() ? r.currentX - r.startX : r.currentY - r.startY)
);
}
a.followFinger &&
!a.cssMode &&
((a.freeMode || a.watchSlidesProgress || a.watchSlidesVisibility) && (this.updateActiveIndex(), this.updateSlidesClasses()),
a.freeMode &&
(0 === i.velocities.length && i.velocities.push({ position: r[this.isHorizontal() ? "startX" : "startY"], time: i.touchStartTime }),
i.velocities.push({ position: r[this.isHorizontal() ? "currentX" : "currentY"], time: n.now() })),
this.updateProgress(i.currentTranslate),
this.setTranslate(i.currentTranslate));
}
}
}
}
} else i.startMoving && i.isScrolling && this.emit("touchMoveOpposite", l);
}
function A(e) {
var t = this,
i = t.touchEventsData,
s = t.params,
a = t.touches,
r = t.rtlTranslate,
o = t.$wrapperEl,
l = t.slidesGrid,
d = t.snapGrid,
h = e;
if ((h.originalEvent && (h = h.originalEvent), i.allowTouchCallbacks && t.emit("touchEnd", h), (i.allowTouchCallbacks = !1), !i.isTouched))
return i.isMoved && s.grabCursor && t.setGrabCursor(!1), (i.isMoved = !1), void (i.startMoving = !1);
s.grabCursor && i.isMoved && i.isTouched && (!0 === t.allowSlideNext || !0 === t.allowSlidePrev) && t.setGrabCursor(!1);
var p,
c = n.now(),
u = c - i.touchStartTime;
if (
(t.allowClick && (t.updateClickedSlide(h), t.emit("tap click", h), u < 300 && c - i.lastClickTime < 300 && t.emit("doubleTap doubleClick", h)),
(i.lastClickTime = n.now()),
n.nextTick(function () {
t.destroyed || (t.allowClick = !0);
}),
!i.isTouched || !i.isMoved || !t.swipeDirection || 0 === a.diff || i.currentTranslate === i.startTranslate)
)
return (i.isTouched = !1), (i.isMoved = !1), void (i.startMoving = !1);
if (((i.isTouched = !1), (i.isMoved = !1), (i.startMoving = !1), (p = s.followFinger ? (r ? t.translate : -t.translate) : -i.currentTranslate), !s.cssMode))
if (s.freeMode) {
if (p < -t.minTranslate()) return void t.slideTo(t.activeIndex);
if (p > -t.maxTranslate()) return void (t.slides.length < d.length ? t.slideTo(d.length - 1) : t.slideTo(t.slides.length - 1));
if (s.freeModeMomentum) {
if (i.velocities.length > 1) {
var v = i.velocities.pop(),
f = i.velocities.pop(),
m = v.position - f.position,
g = v.time - f.time;
(t.velocity = m / g), (t.velocity /= 2), Math.abs(t.velocity) < s.freeModeMinimumVelocity && (t.velocity = 0), (g > 150 || n.now() - v.time > 300) && (t.velocity = 0);
} else t.velocity = 0;
(t.velocity *= s.freeModeMomentumVelocityRatio), (i.velocities.length = 0);
var b = 1e3 * s.freeModeMomentumRatio,
w = t.velocity * b,
y = t.translate + w;
r && (y = -y);
var x,
T,
E = !1,
S = 20 * Math.abs(t.velocity) * s.freeModeMomentumBounceRatio;
if (y < t.maxTranslate())
s.freeModeMomentumBounce ? (y + t.maxTranslate() < -S && (y = t.maxTranslate() - S), (x = t.maxTranslate()), (E = !0), (i.allowMomentumBounce = !0)) : (y = t.maxTranslate()), s.loop && s.centeredSlides && (T = !0);
else if (y > t.minTranslate())
s.freeModeMomentumBounce ? (y - t.minTranslate() > S && (y = t.minTranslate() + S), (x = t.minTranslate()), (E = !0), (i.allowMomentumBounce = !0)) : (y = t.minTranslate()), s.loop && s.centeredSlides && (T = !0);
else if (s.freeModeSticky) {
for (var C, M = 0; M < d.length; M += 1)
if (d[M] > -y) {
C = M;
break;
}
y = -(y = Math.abs(d[C] - y) < Math.abs(d[C - 1] - y) || "next" === t.swipeDirection ? d[C] : d[C - 1]);
}
if (
(T &&
t.once("transitionEnd", function () {
t.loopFix();
}),
0 !== t.velocity)
) {
if (((b = r ? Math.abs((-y - t.translate) / t.velocity) : Math.abs((y - t.translate) / t.velocity)), s.freeModeSticky)) {
var P = Math.abs((r ? -y : y) - t.translate),
z = t.slidesSizesGrid[t.activeIndex];
b = P < z ? s.speed : P < 2 * z ? 1.5 * s.speed : 2.5 * s.speed;
}
} else if (s.freeModeSticky) return void t.slideToClosest();
s.freeModeMomentumBounce && E
? (t.updateProgress(x),
t.setTransition(b),
t.setTranslate(y),
t.transitionStart(!0, t.swipeDirection),
(t.animating = !0),
o.transitionEnd(function () {
t &&
!t.destroyed &&
i.allowMomentumBounce &&
(t.emit("momentumBounce"),
t.setTransition(s.speed),
t.setTranslate(x),
o.transitionEnd(function () {
t && !t.destroyed && t.transitionEnd();
}));
}))
: t.velocity
? (t.updateProgress(y),
t.setTransition(b),
t.setTranslate(y),
t.transitionStart(!0, t.swipeDirection),
t.animating ||
((t.animating = !0),
o.transitionEnd(function () {
t && !t.destroyed && t.transitionEnd();
})))
: t.updateProgress(y),
t.updateActiveIndex(),
t.updateSlidesClasses();
} else if (s.freeModeSticky) return void t.slideToClosest();
(!s.freeModeMomentum || u >= s.longSwipesMs) && (t.updateProgress(), t.updateActiveIndex(), t.updateSlidesClasses());
} else {
for (var k = 0, $ = t.slidesSizesGrid[0], L = 0; L < l.length; L += L < s.slidesPerGroupSkip ? 1 : s.slidesPerGroup) {
var I = L < s.slidesPerGroupSkip - 1 ? 1 : s.slidesPerGroup;
void 0 !== l[L + I] ? p >= l[L] && p < l[L + I] && ((k = L), ($ = l[L + I] - l[L])) : p >= l[L] && ((k = L), ($ = l[l.length - 1] - l[l.length - 2]));
}
var D = (p - l[k]) / $,
O = k < s.slidesPerGroupSkip - 1 ? 1 : s.slidesPerGroup;
if (u > s.longSwipesMs) {
if (!s.longSwipes) return void t.slideTo(t.activeIndex);
"next" === t.swipeDirection && (D >= s.longSwipesRatio ? t.slideTo(k + O) : t.slideTo(k)), "prev" === t.swipeDirection && (D > 1 - s.longSwipesRatio ? t.slideTo(k + O) : t.slideTo(k));
} else {
if (!s.shortSwipes) return void t.slideTo(t.activeIndex);
t.navigation && (h.target === t.navigation.nextEl || h.target === t.navigation.prevEl)
? h.target === t.navigation.nextEl
? t.slideTo(k + O)
: t.slideTo(k)
: ("next" === t.swipeDirection && t.slideTo(k + O), "prev" === t.swipeDirection && t.slideTo(k));
}
}
}
function G() {
var e = this.params,
t = this.el;
if (!t || 0 !== t.offsetWidth) {
e.breakpoints && this.setBreakpoint();
var i = this.allowSlideNext,
s = this.allowSlidePrev,
a = this.snapGrid;
(this.allowSlideNext = !0),
(this.allowSlidePrev = !0),
this.updateSize(),
this.updateSlides(),
this.updateSlidesClasses(),
("auto" === e.slidesPerView || e.slidesPerView > 1) && this.isEnd && !this.params.centeredSlides ? this.slideTo(this.slides.length - 1, 0, !1, !0) : this.slideTo(this.activeIndex, 0, !1, !0),
this.autoplay && this.autoplay.running && this.autoplay.paused && this.autoplay.run(),
(this.allowSlidePrev = s),
(this.allowSlideNext = i),
this.params.watchOverflow && a !== this.snapGrid && this.checkOverflow();
}
}
function B(e) {
this.allowClick || (this.params.preventClicks && e.preventDefault(), this.params.preventClicksPropagation && this.animating && (e.stopPropagation(), e.stopImmediatePropagation()));
}
function H() {
var e = this.wrapperEl;
(this.previousTranslate = this.translate), (this.translate = this.isHorizontal() ? -e.scrollLeft : -e.scrollTop), -0 === this.translate && (this.translate = 0), this.updateActiveIndex(), this.updateSlidesClasses();
var t = this.maxTranslate() - this.minTranslate();
(0 === t ? 0 : (this.translate - this.minTranslate()) / t) !== this.progress && this.updateProgress(this.translate), this.emit("setTranslate", this.translate, !1);
}
var N = !1;
function X() {}
var V = {
init: !0,
direction: "horizontal",
touchEventsTarget: "container",
initialSlide: 0,
speed: 300,
cssMode: !1,
updateOnWindowResize: !0,
preventInteractionOnTransition: !1,
edgeSwipeDetection: !1,
edgeSwipeThreshold: 20,
freeMode: !1,
freeModeMomentum: !0,
freeModeMomentumRatio: 1,
freeModeMomentumBounce: !0,
freeModeMomentumBounceRatio: 1,
freeModeMomentumVelocityRatio: 1,
freeModeSticky: !1,
freeModeMinimumVelocity: 0.02,
autoHeight: !1,
setWrapperSize: !1,
virtualTranslate: !1,
effect: "slide",
breakpoints: void 0,
spaceBetween: 0,
slidesPerView: 1,
slidesPerColumn: 1,
slidesPerColumnFill: "column",
slidesPerGroup: 1,
slidesPerGroupSkip: 0,
centeredSlides: !1,
centeredSlidesBounds: !1,
slidesOffsetBefore: 0,
slidesOffsetAfter: 0,
normalizeSlideIndex: !0,
centerInsufficientSlides: !1,
watchOverflow: !1,
roundLengths: !1,
touchRatio: 1,
touchAngle: 45,
simulateTouch: !0,
shortSwipes: !0,
longSwipes: !0,
longSwipesRatio: 0.5,
longSwipesMs: 300,
followFinger: !0,
allowTouchMove: !0,
threshold: 0,
touchMoveStopPropagation: !1,
touchStartPreventDefault: !0,
touchStartForcePreventDefault: !1,
touchReleaseOnEdges: !1,
uniqueNavElements: !0,
resistance: !0,
resistanceRatio: 0.85,
watchSlidesProgress: !1,
watchSlidesVisibility: !1,
grabCursor: !1,
preventClicks: !0,
preventClicksPropagation: !0,
slideToClickedSlide: !1,
preloadImages: !0,
updateOnImagesReady: !0,
loop: !1,
loopAdditionalSlides: 0,
loopedSlides: null,
loopFillGroupWithBlank: !1,
allowSlidePrev: !0,
allowSlideNext: !0,
swipeHandler: null,
noSwiping: !0,
noSwipingClass: "swiper-no-swiping",
noSwipingSelector: null,
passiveListeners: !0,
containerModifierClass: "swiper-container-",
slideClass: "swiper-slide",
slideBlankClass: "swiper-slide-invisible-blank",
slideActiveClass: "swiper-slide-active",
slideDuplicateActiveClass: "swiper-slide-duplicate-active",
slideVisibleClass: "swiper-slide-visible",
slideDuplicateClass: "swiper-slide-duplicate",
slideNextClass: "swiper-slide-next",
slideDuplicateNextClass: "swiper-slide-duplicate-next",
slidePrevClass: "swiper-slide-prev",
slideDuplicatePrevClass: "swiper-slide-duplicate-prev",
wrapperClass: "swiper-wrapper",
runCallbacksOnInit: !0,
},
Y = {
update: h,
translate: p,
transition: c,
slide: u,
loop: v,
grabCursor: f,
manipulation: L,
events: {
attachEvents: function () {
var t = this.params,
i = this.touchEvents,
s = this.el,
a = this.wrapperEl;
(this.onTouchStart = D.bind(this)), (this.onTouchMove = O.bind(this)), (this.onTouchEnd = A.bind(this)), t.cssMode && (this.onScroll = H.bind(this)), (this.onClick = B.bind(this));
var r = !!t.nested;
if (!o.touch && o.pointerEvents) s.addEventListener(i.start, this.onTouchStart, !1), e.addEventListener(i.move, this.onTouchMove, r), e.addEventListener(i.end, this.onTouchEnd, !1);
else {
if (o.touch) {
var n = !("touchstart" !== i.start || !o.passiveListener || !t.passiveListeners) && { passive: !0, capture: !1 };
s.addEventListener(i.start, this.onTouchStart, n),
s.addEventListener(i.move, this.onTouchMove, o.passiveListener ? { passive: !1, capture: r } : r),
s.addEventListener(i.end, this.onTouchEnd, n),
i.cancel && s.addEventListener(i.cancel, this.onTouchEnd, n),
N || (e.addEventListener("touchstart", X), (N = !0));
}
((t.simulateTouch && !I.ios && !I.android) || (t.simulateTouch && !o.touch && I.ios)) &&
(s.addEventListener("mousedown", this.onTouchStart, !1), e.addEventListener("mousemove", this.onTouchMove, r), e.addEventListener("mouseup", this.onTouchEnd, !1));
}
(t.preventClicks || t.preventClicksPropagation) && s.addEventListener("click", this.onClick, !0),
t.cssMode && a.addEventListener("scroll", this.onScroll),
t.updateOnWindowResize ? this.on(I.ios || I.android ? "resize orientationchange observerUpdate" : "resize observerUpdate", G, !0) : this.on("observerUpdate", G, !0);
},
detachEvents: function () {
var t = this.params,
i = this.touchEvents,
s = this.el,
a = this.wrapperEl,
r = !!t.nested;
if (!o.touch && o.pointerEvents) s.removeEventListener(i.start, this.onTouchStart, !1), e.removeEventListener(i.move, this.onTouchMove, r), e.removeEventListener(i.end, this.onTouchEnd, !1);
else {
if (o.touch) {
var n = !("onTouchStart" !== i.start || !o.passiveListener || !t.passiveListeners) && { passive: !0, capture: !1 };
s.removeEventListener(i.start, this.onTouchStart, n),
s.removeEventListener(i.move, this.onTouchMove, r),
s.removeEventListener(i.end, this.onTouchEnd, n),
i.cancel && s.removeEventListener(i.cancel, this.onTouchEnd, n);
}
((t.simulateTouch && !I.ios && !I.android) || (t.simulateTouch && !o.touch && I.ios)) &&
(s.removeEventListener("mousedown", this.onTouchStart, !1), e.removeEventListener("mousemove", this.onTouchMove, r), e.removeEventListener("mouseup", this.onTouchEnd, !1));
}
(t.preventClicks || t.preventClicksPropagation) && s.removeEventListener("click", this.onClick, !0),
t.cssMode && a.removeEventListener("scroll", this.onScroll),
this.off(I.ios || I.android ? "resize orientationchange observerUpdate" : "resize observerUpdate", G);
},
},
breakpoints: {
setBreakpoint: function () {
var e = this.activeIndex,
t = this.initialized,
i = this.loopedSlides;
void 0 === i && (i = 0);
var s = this.params,
a = this.$el,
r = s.breakpoints;
if (r && (!r || 0 !== Object.keys(r).length)) {
var o = this.getBreakpoint(r);
if (o && this.currentBreakpoint !== o) {
var l = o in r ? r[o] : void 0;
l &&
["slidesPerView", "spaceBetween", "slidesPerGroup", "slidesPerGroupSkip", "slidesPerColumn"].forEach(function (e) {
var t = l[e];
void 0 !== t && (l[e] = "slidesPerView" !== e || ("AUTO" !== t && "auto" !== t) ? ("slidesPerView" === e ? parseFloat(t) : parseInt(t, 10)) : "auto");
});
var d = l || this.originalParams,
h = s.slidesPerColumn > 1,
p = d.slidesPerColumn > 1;
h && !p
? a.removeClass(s.containerModifierClass + "multirow " + s.containerModifierClass + "multirow-column")
: !h && p && (a.addClass(s.containerModifierClass + "multirow"), "column" === d.slidesPerColumnFill && a.addClass(s.containerModifierClass + "multirow-column"));
var c = d.direction && d.direction !== s.direction,
u = s.loop && (d.slidesPerView !== s.slidesPerView || c);
c && t && this.changeDirection(),
n.extend(this.params, d),
n.extend(this, { allowTouchMove: this.params.allowTouchMove, allowSlideNext: this.params.allowSlideNext, allowSlidePrev: this.params.allowSlidePrev }),
(this.currentBreakpoint = o),
u && t && (this.loopDestroy(), this.loopCreate(), this.updateSlides(), this.slideTo(e - i + this.loopedSlides, 0, !1)),
this.emit("breakpoint", d);
}
}
},
getBreakpoint: function (e) {
if (e) {
var i = !1,
s = Object.keys(e).map(function (e) {
if ("string" == typeof e && e.startsWith("@")) {
var i = parseFloat(e.substr(1));
return { value: t.innerHeight * i, point: e };
}
return { value: e, point: e };
});
s.sort(function (e, t) {
return parseInt(e.value, 10) - parseInt(t.value, 10);
});
for (var a = 0; a < s.length; a += 1) {
var r = s[a],
n = r.point;
r.value <= t.innerWidth && (i = n);
}
return i || "max";
}
},
},
checkOverflow: {
checkOverflow: function () {
var e = this.params,
t = this.isLocked,
i = this.slides.length > 0 && e.slidesOffsetBefore + e.spaceBetween * (this.slides.length - 1) + this.slides[0].offsetWidth * this.slides.length;
e.slidesOffsetBefore && e.slidesOffsetAfter && i ? (this.isLocked = i <= this.size) : (this.isLocked = 1 === this.snapGrid.length),
(this.allowSlideNext = !this.isLocked),
(this.allowSlidePrev = !this.isLocked),
t !== this.isLocked && this.emit(this.isLocked ? "lock" : "unlock"),
t && t !== this.isLocked && ((this.isEnd = !1), this.navigation.update());
},
},
classes: {
addClasses: function () {
var e = this.classNames,
t = this.params,
i = this.rtl,
s = this.$el,
a = [];
a.push("initialized"),
a.push(t.direction),
t.freeMode && a.push("free-mode"),
t.autoHeight && a.push("autoheight"),
i && a.push("rtl"),
t.slidesPerColumn > 1 && (a.push("multirow"), "column" === t.slidesPerColumnFill && a.push("multirow-column")),
I.android && a.push("android"),
I.ios && a.push("ios"),
t.cssMode && a.push("css-mode"),
a.forEach(function (i) {
e.push(t.containerModifierClass + i);
}),
s.addClass(e.join(" "));
},
removeClasses: function () {
var e = this.$el,
t = this.classNames;
e.removeClass(t.join(" "));
},
},
images: {
loadImage: function (e, i, s, a, r, n) {
var o;
function l() {
n && n();
}
e.complete && r ? l() : i ? (((o = new t.Image()).onload = l), (o.onerror = l), a && (o.sizes = a), s && (o.srcset = s), i && (o.src = i)) : l();
},
preloadImages: function () {
var e = this;
function t() {
null != e && e && !e.destroyed && (void 0 !== e.imagesLoaded && (e.imagesLoaded += 1), e.imagesLoaded === e.imagesToLoad.length && (e.params.updateOnImagesReady && e.update(), e.emit("imagesReady")));
}
e.imagesToLoad = e.$el.find("img");
for (var i = 0; i < e.imagesToLoad.length; i += 1) {
var s = e.imagesToLoad[i];
e.loadImage(s, s.currentSrc || s.getAttribute("src"), s.srcset || s.getAttribute("srcset"), s.sizes || s.getAttribute("sizes"), !0, t);
}
},
},
},
F = {},
W = (function (e) {
function t() {
for (var i, a, r, l = [], d = arguments.length; d--; ) l[d] = arguments[d];
1 === l.length && l[0].constructor && l[0].constructor === Object ? (r = l[0]) : ((a = (i = l)[0]), (r = i[1])),
r || (r = {}),
(r = n.extend({}, r)),
a && !r.el && (r.el = a),
e.call(this, r),
Object.keys(Y).forEach(function (e) {
Object.keys(Y[e]).forEach(function (i) {
t.prototype[i] || (t.prototype[i] = Y[e][i]);
});
});
var h = this;
void 0 === h.modules && (h.modules = {}),
Object.keys(h.modules).forEach(function (e) {
var t = h.modules[e];
if (t.params) {
var i = Object.keys(t.params)[0],
s = t.params[i];
if ("object" != typeof s || null === s) return;
if (!(i in r && "enabled" in s)) return;
!0 === r[i] && (r[i] = { enabled: !0 }), "object" != typeof r[i] || "enabled" in r[i] || (r[i].enabled = !0), r[i] || (r[i] = { enabled: !1 });
}
});
var p = n.extend({}, V);
h.useModulesParams(p), (h.params = n.extend({}, p, F, r)), (h.originalParams = n.extend({}, h.params)), (h.passedParams = n.extend({}, r)), (h.$ = s);
var c = s(h.params.el);
if ((a = c[0])) {
if (c.length > 1) {
var u = [];
return (
c.each(function (e, i) {
var s = n.extend({}, r, { el: i });
u.push(new t(s));
}),
u
);
}
var v, f, m;
return (
(a.swiper = h),
c.data("swiper", h),
a && a.shadowRoot && a.shadowRoot.querySelector
? ((v = s(a.shadowRoot.querySelector("." + h.params.wrapperClass))).children = function (e) {
return c.children(e);
})
: (v = c.children("." + h.params.wrapperClass)),
n.extend(h, {
$el: c,
el: a,
$wrapperEl: v,
wrapperEl: v[0],
classNames: [],
slides: s(),
slidesGrid: [],
snapGrid: [],
slidesSizesGrid: [],
isHorizontal: function () {
return "horizontal" === h.params.direction;
},
isVertical: function () {
return "vertical" === h.params.direction;
},
rtl: "rtl" === a.dir.toLowerCase() || "rtl" === c.css("direction"),
rtlTranslate: "horizontal" === h.params.direction && ("rtl" === a.dir.toLowerCase() || "rtl" === c.css("direction")),
wrongRTL: "-webkit-box" === v.css("display"),
activeIndex: 0,
realIndex: 0,
isBeginning: !0,
isEnd: !1,
translate: 0,
previousTranslate: 0,
progress: 0,
velocity: 0,
animating: !1,
allowSlideNext: h.params.allowSlideNext,
allowSlidePrev: h.params.allowSlidePrev,
touchEvents:
((f = ["touchstart", "touchmove", "touchend", "touchcancel"]),
(m = ["mousedown", "mousemove", "mouseup"]),
o.pointerEvents && (m = ["pointerdown", "pointermove", "pointerup"]),
(h.touchEventsTouch = { start: f[0], move: f[1], end: f[2], cancel: f[3] }),
(h.touchEventsDesktop = { start: m[0], move: m[1], end: m[2] }),
o.touch || !h.params.simulateTouch ? h.touchEventsTouch : h.touchEventsDesktop),
touchEventsData: {
isTouched: void 0,
isMoved: void 0,
allowTouchCallbacks: void 0,
touchStartTime: void 0,
isScrolling: void 0,
currentTranslate: void 0,
startTranslate: void 0,
allowThresholdMove: void 0,
formElements: "input, select, option, textarea, button, video, label",
lastClickTime: n.now(),
clickTimeout: void 0,
velocities: [],
allowMomentumBounce: void 0,
isTouchEvent: void 0,
startMoving: void 0,
},
allowClick: !0,
allowTouchMove: h.params.allowTouchMove,
touches: { startX: 0, startY: 0, currentX: 0, currentY: 0, diff: 0 },
imagesToLoad: [],
imagesLoaded: 0,
}),
h.useModules(),
h.params.init && h.init(),
h
);
}
}
e && (t.__proto__ = e), (t.prototype = Object.create(e && e.prototype)), (t.prototype.constructor = t);
var i = { extendedDefaults: { configurable: !0 }, defaults: { configurable: !0 }, Class: { configurable: !0 }, $: { configurable: !0 } };
return (
(t.prototype.slidesPerViewDynamic = function () {
var e = this.params,
t = this.slides,
i = this.slidesGrid,
s = this.size,
a = this.activeIndex,
r = 1;
if (e.centeredSlides) {
for (var n, o = t[a].swiperSlideSize, l = a + 1; l < t.length; l += 1) t[l] && !n && ((r += 1), (o += t[l].swiperSlideSize) > s && (n = !0));
for (var d = a - 1; d >= 0; d -= 1) t[d] && !n && ((r += 1), (o += t[d].swiperSlideSize) > s && (n = !0));
} else for (var h = a + 1; h < t.length; h += 1) i[h] - i[a] < s && (r += 1);
return r;
}),
(t.prototype.update = function () {
var e = this;
if (e && !e.destroyed) {
var t = e.snapGrid,
i = e.params;
i.breakpoints && e.setBreakpoint(),
e.updateSize(),
e.updateSlides(),
e.updateProgress(),
e.updateSlidesClasses(),
e.params.freeMode
? (s(), e.params.autoHeight && e.updateAutoHeight())
: (("auto" === e.params.slidesPerView || e.params.slidesPerView > 1) && e.isEnd && !e.params.centeredSlides ? e.slideTo(e.slides.length - 1, 0, !1, !0) : e.slideTo(e.activeIndex, 0, !1, !0)) || s(),
i.watchOverflow && t !== e.snapGrid && e.checkOverflow(),
e.emit("update");
}
function s() {
var t = e.rtlTranslate ? -1 * e.translate : e.translate,
i = Math.min(Math.max(t, e.maxTranslate()), e.minTranslate());
e.setTranslate(i), e.updateActiveIndex(), e.updateSlidesClasses();
}
}),
(t.prototype.changeDirection = function (e, t) {
void 0 === t && (t = !0);
var i = this.params.direction;
return (
e || (e = "horizontal" === i ? "vertical" : "horizontal"),
e === i || ("horizontal" !== e && "vertical" !== e)
? this
: (this.$el.removeClass("" + this.params.containerModifierClass + i).addClass("" + this.params.containerModifierClass + e),
(this.params.direction = e),
this.slides.each(function (t, i) {
"vertical" === e ? (i.style.width = "") : (i.style.height = "");
}),
this.emit("changeDirection"),
t && this.update(),
this)
);
}),
(t.prototype.init = function () {
this.initialized ||
(this.emit("beforeInit"),
this.params.breakpoints && this.setBreakpoint(),
this.addClasses(),
this.params.loop && this.loopCreate(),
this.updateSize(),
this.updateSlides(),
this.params.watchOverflow && this.checkOverflow(),
this.params.grabCursor && this.setGrabCursor(),
this.params.preloadImages && this.preloadImages(),
this.params.loop ? this.slideTo(this.params.initialSlide + this.loopedSlides, 0, this.params.runCallbacksOnInit) : this.slideTo(this.params.initialSlide, 0, this.params.runCallbacksOnInit),
this.attachEvents(),
(this.initialized = !0),
this.emit("init"));
}),
(t.prototype.destroy = function (e, t) {
void 0 === e && (e = !0), void 0 === t && (t = !0);
var i = this,
s = i.params,
a = i.$el,
r = i.$wrapperEl,
o = i.slides;
return void 0 === i.params || i.destroyed
? null
: (i.emit("beforeDestroy"),
(i.initialized = !1),
i.detachEvents(),
s.loop && i.loopDestroy(),
t &&
(i.removeClasses(),
a.removeAttr("style"),
r.removeAttr("style"),
o && o.length && o.removeClass([s.slideVisibleClass, s.slideActiveClass, s.slideNextClass, s.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),
i.emit("destroy"),
Object.keys(i.eventsListeners).forEach(function (e) {
i.off(e);
}),
!1 !== e && ((i.$el[0].swiper = null), i.$el.data("swiper", null), n.deleteProps(i)),
(i.destroyed = !0),
null);
}),
(t.extendDefaults = function (e) {
n.extend(F, e);
}),
(i.extendedDefaults.get = function () {
return F;
}),
(i.defaults.get = function () {
return V;
}),
(i.Class.get = function () {
return e;
}),
(i.$.get = function () {
return s;
}),
Object.defineProperties(t, i),
t
);
})(l),
R = { name: "device", proto: { device: I }, static: { device: I } },
q = { name: "support", proto: { support: o }, static: { support: o } },
j = {
isEdge: !!t.navigator.userAgent.match(/Edge/g),
isSafari: (function () {
var e = t.navigator.userAgent.toLowerCase();
return e.indexOf("safari") >= 0 && e.indexOf("chrome") < 0 && e.indexOf("android") < 0;
})(),
isUiWebView: /(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent),
},
K = { name: "browser", proto: { browser: j }, static: { browser: j } },
U = {
name: "resize",
create: function () {
var e = this;
n.extend(e, {
resize: {
resizeHandler: function () {
e && !e.destroyed && e.initialized && (e.emit("beforeResize"), e.emit("resize"));
},
orientationChangeHandler: function () {
e && !e.destroyed && e.initialized && e.emit("orientationchange");
},
},
});
},
on: {
init: function () {
t.addEventListener("resize", this.resize.resizeHandler), t.addEventListener("orientationchange", this.resize.orientationChangeHandler);
},
destroy: function () {
t.removeEventListener("resize", this.resize.resizeHandler), t.removeEventListener("orientationchange", this.resize.orientationChangeHandler);
},
},
},
_ = {
func: t.MutationObserver || t.WebkitMutationObserver,
attach: function (e, i) {
void 0 === i && (i = {});
var s = this,
a = new (0, _.func)(function (e) {
if (1 !== e.length) {
var i = function () {
s.emit("observerUpdate", e[0]);
};
t.requestAnimationFrame ? t.requestAnimationFrame(i) : t.setTimeout(i, 0);
} else s.emit("observerUpdate", e[0]);
});
a.observe(e, { attributes: void 0 === i.attributes || i.attributes, childList: void 0 === i.childList || i.childList, characterData: void 0 === i.characterData || i.characterData }), s.observer.observers.push(a);
},
init: function () {
if (o.observer && this.params.observer) {
if (this.params.observeParents) for (var e = this.$el.parents(), t = 0; t < e.length; t += 1) this.observer.attach(e[t]);
this.observer.attach(this.$el[0], { childList: this.params.observeSlideChildren }), this.observer.attach(this.$wrapperEl[0], { attributes: !1 });
}
},
destroy: function () {
this.observer.observers.forEach(function (e) {
e.disconnect();
}),
(this.observer.observers = []);
},
},
Z = {
name: "observer",
params: { observer: !1, observeParents: !1, observeSlideChildren: !1 },
create: function () {
n.extend(this, { observer: { init: _.init.bind(this), attach: _.attach.bind(this), destroy: _.destroy.bind(this), observers: [] } });
},
on: {
init: function () {
this.observer.init();
},
destroy: function () {
this.observer.destroy();
},
},
},
Q = {
update: function (e) {
var t = this,
i = t.params,
s = i.slidesPerView,
a = i.slidesPerGroup,
r = i.centeredSlides,
o = t.params.virtual,
l = o.addSlidesBefore,
d = o.addSlidesAfter,
h = t.virtual,
p = h.from,
c = h.to,
u = h.slides,
v = h.slidesGrid,
f = h.renderSlide,
m = h.offset;
t.updateActiveIndex();
var g,
b,
w,
y = t.activeIndex || 0;
(g = t.rtlTranslate ? "right" : t.isHorizontal() ? "left" : "top"), r ? ((b = Math.floor(s / 2) + a + l), (w = Math.floor(s / 2) + a + d)) : ((b = s + (a - 1) + l), (w = a + d));
var x = Math.max((y || 0) - w, 0),
T = Math.min((y || 0) + b, u.length - 1),
E = (t.slidesGrid[x] || 0) - (t.slidesGrid[0] || 0);
function S() {
t.updateSlides(), t.updateProgress(), t.updateSlidesClasses(), t.lazy && t.params.lazy.enabled && t.lazy.load();
}
if ((n.extend(t.virtual, { from: x, to: T, offset: E, slidesGrid: t.slidesGrid }), p === x && c === T && !e)) return t.slidesGrid !== v && E !== m && t.slides.css(g, E + "px"), void t.updateProgress();
if (t.params.virtual.renderExternal)
return (
t.params.virtual.renderExternal.call(t, {
offset: E,
from: x,
to: T,
slides: (function () {
for (var e = [], t = x; t <= T; t += 1) e.push(u[t]);
return e;
})(),
}),
void S()
);
var C = [],
M = [];
if (e) t.$wrapperEl.find("." + t.params.slideClass).remove();
else for (var P = p; P <= c; P += 1) (P < x || P > T) && t.$wrapperEl.find("." + t.params.slideClass + '[data-swiper-slide-index="' + P + '"]').remove();
for (var z = 0; z < u.length; z += 1) z >= x && z <= T && (void 0 === c || e ? M.push(z) : (z > c && M.push(z), z < p && C.push(z)));
M.forEach(function (e) {
t.$wrapperEl.append(f(u[e], e));
}),
C.sort(function (e, t) {
return t - e;
}).forEach(function (e) {
t.$wrapperEl.prepend(f(u[e], e));
}),
t.$wrapperEl.children(".swiper-slide").css(g, E + "px"),
S();
},
renderSlide: function (e, t) {
var i = this.params.virtual;
if (i.cache && this.virtual.cache[t]) return this.virtual.cache[t];
var a = i.renderSlide ? s(i.renderSlide.call(this, e, t)) : s('' + e + "
");
return a.attr("data-swiper-slide-index") || a.attr("data-swiper-slide-index", t), i.cache && (this.virtual.cache[t] = a), a;
},
appendSlide: function (e) {
if ("object" == typeof e && "length" in e) for (var t = 0; t < e.length; t += 1) e[t] && this.virtual.slides.push(e[t]);
else this.virtual.slides.push(e);
this.virtual.update(!0);
},
prependSlide: function (e) {
var t = this.activeIndex,
i = t + 1,
s = 1;
if (Array.isArray(e)) {
for (var a = 0; a < e.length; a += 1) e[a] && this.virtual.slides.unshift(e[a]);
(i = t + e.length), (s = e.length);
} else this.virtual.slides.unshift(e);
if (this.params.virtual.cache) {
var r = this.virtual.cache,
n = {};
Object.keys(r).forEach(function (e) {
var t = r[e],
i = t.attr("data-swiper-slide-index");
i && t.attr("data-swiper-slide-index", parseInt(i, 10) + 1), (n[parseInt(e, 10) + s] = t);
}),
(this.virtual.cache = n);
}
this.virtual.update(!0), this.slideTo(i, 0);
},
removeSlide: function (e) {
if (null != e) {
var t = this.activeIndex;
if (Array.isArray(e)) for (var i = e.length - 1; i >= 0; i -= 1) this.virtual.slides.splice(e[i], 1), this.params.virtual.cache && delete this.virtual.cache[e[i]], e[i] < t && (t -= 1), (t = Math.max(t, 0));
else this.virtual.slides.splice(e, 1), this.params.virtual.cache && delete this.virtual.cache[e], e < t && (t -= 1), (t = Math.max(t, 0));
this.virtual.update(!0), this.slideTo(t, 0);
}
},
removeAllSlides: function () {
(this.virtual.slides = []), this.params.virtual.cache && (this.virtual.cache = {}), this.virtual.update(!0), this.slideTo(0, 0);
},
},
J = {
name: "virtual",
params: { virtual: { enabled: !1, slides: [], cache: !0, renderSlide: null, renderExternal: null, addSlidesBefore: 0, addSlidesAfter: 0 } },
create: function () {
n.extend(this, {
virtual: {
update: Q.update.bind(this),
appendSlide: Q.appendSlide.bind(this),
prependSlide: Q.prependSlide.bind(this),
removeSlide: Q.removeSlide.bind(this),
removeAllSlides: Q.removeAllSlides.bind(this),
renderSlide: Q.renderSlide.bind(this),
slides: this.params.virtual.slides,
cache: {},
},
});
},
on: {
beforeInit: function () {
if (this.params.virtual.enabled) {
this.classNames.push(this.params.containerModifierClass + "virtual");
var e = { watchSlidesProgress: !0 };
n.extend(this.params, e), n.extend(this.originalParams, e), this.params.initialSlide || this.virtual.update();
}
},
setTranslate: function () {
this.params.virtual.enabled && this.virtual.update();
},
},
},
ee = {
handle: function (i) {
var s = this.rtlTranslate,
a = i;
a.originalEvent && (a = a.originalEvent);
var r = a.keyCode || a.charCode;
if (!this.allowSlideNext && ((this.isHorizontal() && 39 === r) || (this.isVertical() && 40 === r) || 34 === r)) return !1;
if (!this.allowSlidePrev && ((this.isHorizontal() && 37 === r) || (this.isVertical() && 38 === r) || 33 === r)) return !1;
if (!(a.shiftKey || a.altKey || a.ctrlKey || a.metaKey || (e.activeElement && e.activeElement.nodeName && ("input" === e.activeElement.nodeName.toLowerCase() || "textarea" === e.activeElement.nodeName.toLowerCase())))) {
if (this.params.keyboard.onlyInViewport && (33 === r || 34 === r || 37 === r || 39 === r || 38 === r || 40 === r)) {
var n = !1;
if (this.$el.parents("." + this.params.slideClass).length > 0 && 0 === this.$el.parents("." + this.params.slideActiveClass).length) return;
var o = t.innerWidth,
l = t.innerHeight,
d = this.$el.offset();
s && (d.left -= this.$el[0].scrollLeft);
for (
var h = [
[d.left, d.top],
[d.left + this.width, d.top],
[d.left, d.top + this.height],
[d.left + this.width, d.top + this.height],
],
p = 0;
p < h.length;
p += 1
) {
var c = h[p];
c[0] >= 0 && c[0] <= o && c[1] >= 0 && c[1] <= l && (n = !0);
}
if (!n) return;
}
this.isHorizontal()
? ((33 !== r && 34 !== r && 37 !== r && 39 !== r) || (a.preventDefault ? a.preventDefault() : (a.returnValue = !1)),
(((34 !== r && 39 !== r) || s) && ((33 !== r && 37 !== r) || !s)) || this.slideNext(),
(((33 !== r && 37 !== r) || s) && ((34 !== r && 39 !== r) || !s)) || this.slidePrev())
: ((33 !== r && 34 !== r && 38 !== r && 40 !== r) || (a.preventDefault ? a.preventDefault() : (a.returnValue = !1)), (34 !== r && 40 !== r) || this.slideNext(), (33 !== r && 38 !== r) || this.slidePrev()),
this.emit("keyPress", r);
}
},
enable: function () {
this.keyboard.enabled || (s(e).on("keydown", this.keyboard.handle), (this.keyboard.enabled = !0));
},
disable: function () {
this.keyboard.enabled && (s(e).off("keydown", this.keyboard.handle), (this.keyboard.enabled = !1));
},
},
te = {
name: "keyboard",
params: { keyboard: { enabled: !1, onlyInViewport: !0 } },
create: function () {
n.extend(this, { keyboard: { enabled: !1, enable: ee.enable.bind(this), disable: ee.disable.bind(this), handle: ee.handle.bind(this) } });
},
on: {
init: function () {
this.params.keyboard.enabled && this.keyboard.enable();
},
destroy: function () {
this.keyboard.enabled && this.keyboard.disable();
},
},
};
var ie = {
lastScrollTime: n.now(),
lastEventBeforeSnap: void 0,
recentWheelEvents: [],
event: function () {
return t.navigator.userAgent.indexOf("firefox") > -1
? "DOMMouseScroll"
: (function () {
var t = "onwheel" in e;
if (!t) {
var i = e.createElement("div");
i.setAttribute("onwheel", "return;"), (t = "function" == typeof i.onwheel);
}
return !t && e.implementation && e.implementation.hasFeature && !0 !== e.implementation.hasFeature("", "") && (t = e.implementation.hasFeature("Events.wheel", "3.0")), t;
})()
? "wheel"
: "mousewheel";
},
normalize: function (e) {
var t = 0,
i = 0,
s = 0,
a = 0;
return (
"detail" in e && (i = e.detail),
"wheelDelta" in e && (i = -e.wheelDelta / 120),
"wheelDeltaY" in e && (i = -e.wheelDeltaY / 120),
"wheelDeltaX" in e && (t = -e.wheelDeltaX / 120),
"axis" in e && e.axis === e.HORIZONTAL_AXIS && ((t = i), (i = 0)),
(s = 10 * t),
(a = 10 * i),
"deltaY" in e && (a = e.deltaY),
"deltaX" in e && (s = e.deltaX),
e.shiftKey && !s && ((s = a), (a = 0)),
(s || a) && e.deltaMode && (1 === e.deltaMode ? ((s *= 40), (a *= 40)) : ((s *= 800), (a *= 800))),
s && !t && (t = s < 1 ? -1 : 1),
a && !i && (i = a < 1 ? -1 : 1),
{ spinX: t, spinY: i, pixelX: s, pixelY: a }
);
},
handleMouseEnter: function () {
this.mouseEntered = !0;
},
handleMouseLeave: function () {
this.mouseEntered = !1;
},
handle: function (e) {
var t = e,
i = this,
a = i.params.mousewheel;
i.params.cssMode && t.preventDefault();
var r = i.$el;
if (("container" !== i.params.mousewheel.eventsTarged && (r = s(i.params.mousewheel.eventsTarged)), !i.mouseEntered && !r[0].contains(t.target) && !a.releaseOnEdges)) return !0;
t.originalEvent && (t = t.originalEvent);
var o = 0,
l = i.rtlTranslate ? -1 : 1,
d = ie.normalize(t);
if (a.forceToAxis)
if (i.isHorizontal()) {
if (!(Math.abs(d.pixelX) > Math.abs(d.pixelY))) return !0;
o = d.pixelX * l;
} else {
if (!(Math.abs(d.pixelY) > Math.abs(d.pixelX))) return !0;
o = d.pixelY;
}
else o = Math.abs(d.pixelX) > Math.abs(d.pixelY) ? -d.pixelX * l : -d.pixelY;
if (0 === o) return !0;
if ((a.invert && (o = -o), i.params.freeMode)) {
var h = { time: n.now(), delta: Math.abs(o), direction: Math.sign(o) },
p = i.mousewheel.lastEventBeforeSnap,
c = p && h.time < p.time + 500 && h.delta <= p.delta && h.direction === p.direction;
if (!c) {
(i.mousewheel.lastEventBeforeSnap = void 0), i.params.loop && i.loopFix();
var u = i.getTranslate() + o * a.sensitivity,
v = i.isBeginning,
f = i.isEnd;
if (
(u >= i.minTranslate() && (u = i.minTranslate()),
u <= i.maxTranslate() && (u = i.maxTranslate()),
i.setTransition(0),
i.setTranslate(u),
i.updateProgress(),
i.updateActiveIndex(),
i.updateSlidesClasses(),
((!v && i.isBeginning) || (!f && i.isEnd)) && i.updateSlidesClasses(),
i.params.freeModeSticky)
) {
clearTimeout(i.mousewheel.timeout), (i.mousewheel.timeout = void 0);
var m = i.mousewheel.recentWheelEvents;
m.length >= 15 && m.shift();
var g = m.length ? m[m.length - 1] : void 0,
b = m[0];
if ((m.push(h), g && (h.delta > g.delta || h.direction !== g.direction))) m.splice(0);
else if (m.length >= 15 && h.time - b.time < 500 && b.delta - h.delta >= 1 && h.delta <= 6) {
var w = o > 0 ? 0.8 : 0.2;
(i.mousewheel.lastEventBeforeSnap = h),
m.splice(0),
(i.mousewheel.timeout = n.nextTick(function () {
i.slideToClosest(i.params.speed, !0, void 0, w);
}, 0));
}
i.mousewheel.timeout ||
(i.mousewheel.timeout = n.nextTick(function () {
(i.mousewheel.lastEventBeforeSnap = h), m.splice(0), i.slideToClosest(i.params.speed, !0, void 0, 0.5);
}, 500));
}
if ((c || i.emit("scroll", t), i.params.autoplay && i.params.autoplayDisableOnInteraction && i.autoplay.stop(), u === i.minTranslate() || u === i.maxTranslate())) return !0;
}
} else {
var y = { time: n.now(), delta: Math.abs(o), direction: Math.sign(o), raw: e },
x = i.mousewheel.recentWheelEvents;
x.length >= 2 && x.shift();
var T = x.length ? x[x.length - 1] : void 0;
if ((x.push(y), T ? (y.direction !== T.direction || y.delta > T.delta) && i.mousewheel.animateSlider(y) : i.mousewheel.animateSlider(y), i.mousewheel.releaseScroll(y))) return !0;
}
return t.preventDefault ? t.preventDefault() : (t.returnValue = !1), !1;
},
animateSlider: function (e) {
return (
(e.delta >= 6 && n.now() - this.mousewheel.lastScrollTime < 60) ||
(e.direction < 0
? (this.isEnd && !this.params.loop) || this.animating || (this.slideNext(), this.emit("scroll", e.raw))
: (this.isBeginning && !this.params.loop) || this.animating || (this.slidePrev(), this.emit("scroll", e.raw)),
(this.mousewheel.lastScrollTime = new t.Date().getTime()),
!1)
);
},
releaseScroll: function (e) {
var t = this.params.mousewheel;
if (e.direction < 0) {
if (this.isEnd && !this.params.loop && t.releaseOnEdges) return !0;
} else if (this.isBeginning && !this.params.loop && t.releaseOnEdges) return !0;
return !1;
},
enable: function () {
var e = ie.event();
if (this.params.cssMode) return this.wrapperEl.removeEventListener(e, this.mousewheel.handle), !0;
if (!e) return !1;
if (this.mousewheel.enabled) return !1;
var t = this.$el;
return (
"container" !== this.params.mousewheel.eventsTarged && (t = s(this.params.mousewheel.eventsTarged)),
t.on("mouseenter", this.mousewheel.handleMouseEnter),
t.on("mouseleave", this.mousewheel.handleMouseLeave),
t.on(e, this.mousewheel.handle),
(this.mousewheel.enabled = !0),
!0
);
},
disable: function () {
var e = ie.event();
if (this.params.cssMode) return this.wrapperEl.addEventListener(e, this.mousewheel.handle), !0;
if (!e) return !1;
if (!this.mousewheel.enabled) return !1;
var t = this.$el;
return "container" !== this.params.mousewheel.eventsTarged && (t = s(this.params.mousewheel.eventsTarged)), t.off(e, this.mousewheel.handle), (this.mousewheel.enabled = !1), !0;
},
},
se = {
update: function () {
var e = this.params.navigation;
if (!this.params.loop) {
var t = this.navigation,
i = t.$nextEl,
s = t.$prevEl;
s && s.length > 0 && (this.isBeginning ? s.addClass(e.disabledClass) : s.removeClass(e.disabledClass), s[this.params.watchOverflow && this.isLocked ? "addClass" : "removeClass"](e.lockClass)),
i && i.length > 0 && (this.isEnd ? i.addClass(e.disabledClass) : i.removeClass(e.disabledClass), i[this.params.watchOverflow && this.isLocked ? "addClass" : "removeClass"](e.lockClass));
}
},
onPrevClick: function (e) {
e.preventDefault(), (this.isBeginning && !this.params.loop) || this.slidePrev();
},
onNextClick: function (e) {
e.preventDefault(), (this.isEnd && !this.params.loop) || this.slideNext();
},
init: function () {
var e,
t,
i = this.params.navigation;
(i.nextEl || i.prevEl) &&
(i.nextEl && ((e = s(i.nextEl)), this.params.uniqueNavElements && "string" == typeof i.nextEl && e.length > 1 && 1 === this.$el.find(i.nextEl).length && (e = this.$el.find(i.nextEl))),
i.prevEl && ((t = s(i.prevEl)), this.params.uniqueNavElements && "string" == typeof i.prevEl && t.length > 1 && 1 === this.$el.find(i.prevEl).length && (t = this.$el.find(i.prevEl))),
e && e.length > 0 && e.on("click", this.navigation.onNextClick),
t && t.length > 0 && t.on("click", this.navigation.onPrevClick),
n.extend(this.navigation, { $nextEl: e, nextEl: e && e[0], $prevEl: t, prevEl: t && t[0] }));
},
destroy: function () {
var e = this.navigation,
t = e.$nextEl,
i = e.$prevEl;
t && t.length && (t.off("click", this.navigation.onNextClick), t.removeClass(this.params.navigation.disabledClass)),
i && i.length && (i.off("click", this.navigation.onPrevClick), i.removeClass(this.params.navigation.disabledClass));
},
},
ae = {
update: function () {
var e = this.rtl,
t = this.params.pagination;
if (t.el && this.pagination.el && this.pagination.$el && 0 !== this.pagination.$el.length) {
var i,
a = this.virtual && this.params.virtual.enabled ? this.virtual.slides.length : this.slides.length,
r = this.pagination.$el,
n = this.params.loop ? Math.ceil((a - 2 * this.loopedSlides) / this.params.slidesPerGroup) : this.snapGrid.length;
if (
(this.params.loop
? ((i = Math.ceil((this.activeIndex - this.loopedSlides) / this.params.slidesPerGroup)) > a - 1 - 2 * this.loopedSlides && (i -= a - 2 * this.loopedSlides),
i > n - 1 && (i -= n),
i < 0 && "bullets" !== this.params.paginationType && (i = n + i))
: (i = void 0 !== this.snapIndex ? this.snapIndex : this.activeIndex || 0),
"bullets" === t.type && this.pagination.bullets && this.pagination.bullets.length > 0)
) {
var o,
l,
d,
h = this.pagination.bullets;
if (
(t.dynamicBullets &&
((this.pagination.bulletSize = h.eq(0)[this.isHorizontal() ? "outerWidth" : "outerHeight"](!0)),
r.css(this.isHorizontal() ? "width" : "height", this.pagination.bulletSize * (t.dynamicMainBullets + 4) + "px"),
t.dynamicMainBullets > 1 &&
void 0 !== this.previousIndex &&
((this.pagination.dynamicBulletIndex += i - this.previousIndex),
this.pagination.dynamicBulletIndex > t.dynamicMainBullets - 1
? (this.pagination.dynamicBulletIndex = t.dynamicMainBullets - 1)
: this.pagination.dynamicBulletIndex < 0 && (this.pagination.dynamicBulletIndex = 0)),
(o = i - this.pagination.dynamicBulletIndex),
(d = ((l = o + (Math.min(h.length, t.dynamicMainBullets) - 1)) + o) / 2)),
h.removeClass(
t.bulletActiveClass + " " + t.bulletActiveClass + "-next " + t.bulletActiveClass + "-next-next " + t.bulletActiveClass + "-prev " + t.bulletActiveClass + "-prev-prev " + t.bulletActiveClass + "-main"
),
r.length > 1)
)
h.each(function (e, a) {
var r = s(a),
n = r.index();
n === i && r.addClass(t.bulletActiveClass),
t.dynamicBullets &&
(n >= o && n <= l && r.addClass(t.bulletActiveClass + "-main"),
n === o &&
r
.prev()
.addClass(t.bulletActiveClass + "-prev")
.prev()
.addClass(t.bulletActiveClass + "-prev-prev"),
n === l &&
r
.next()
.addClass(t.bulletActiveClass + "-next")
.next()
.addClass(t.bulletActiveClass + "-next-next"));
});
else {
var p = h.eq(i),
c = p.index();
if ((p.addClass(t.bulletActiveClass), t.dynamicBullets)) {
for (var u = h.eq(o), v = h.eq(l), f = o; f <= l; f += 1) h.eq(f).addClass(t.bulletActiveClass + "-main");
if (this.params.loop)
if (c >= h.length - t.dynamicMainBullets) {
for (var m = t.dynamicMainBullets; m >= 0; m -= 1) h.eq(h.length - m).addClass(t.bulletActiveClass + "-main");
h.eq(h.length - t.dynamicMainBullets - 1).addClass(t.bulletActiveClass + "-prev");
} else
u
.prev()
.addClass(t.bulletActiveClass + "-prev")
.prev()
.addClass(t.bulletActiveClass + "-prev-prev"),
v
.next()
.addClass(t.bulletActiveClass + "-next")
.next()
.addClass(t.bulletActiveClass + "-next-next");
else
u
.prev()
.addClass(t.bulletActiveClass + "-prev")
.prev()
.addClass(t.bulletActiveClass + "-prev-prev"),
v
.next()
.addClass(t.bulletActiveClass + "-next")
.next()
.addClass(t.bulletActiveClass + "-next-next");
}
}
if (t.dynamicBullets) {
var g = Math.min(h.length, t.dynamicMainBullets + 4),
b = (this.pagination.bulletSize * g - this.pagination.bulletSize) / 2 - d * this.pagination.bulletSize,
w = e ? "right" : "left";
h.css(this.isHorizontal() ? w : "top", b + "px");
}
}
if (("fraction" === t.type && (r.find("." + t.currentClass).text(t.formatFractionCurrent(i + 1)), r.find("." + t.totalClass).text(t.formatFractionTotal(n))), "progressbar" === t.type)) {
var y;
y = t.progressbarOpposite ? (this.isHorizontal() ? "vertical" : "horizontal") : this.isHorizontal() ? "horizontal" : "vertical";
var x = (i + 1) / n,
T = 1,
E = 1;
"horizontal" === y ? (T = x) : (E = x),
r
.find("." + t.progressbarFillClass)
.transform("translate3d(0,0,0) scaleX(" + T + ") scaleY(" + E + ")")
.transition(this.params.speed);
}
"custom" === t.type && t.renderCustom ? (r.html(t.renderCustom(this, i + 1, n)), this.emit("paginationRender", this, r[0])) : this.emit("paginationUpdate", this, r[0]),
r[this.params.watchOverflow && this.isLocked ? "addClass" : "removeClass"](t.lockClass);
}
},
render: function () {
var e = this.params.pagination;
if (e.el && this.pagination.el && this.pagination.$el && 0 !== this.pagination.$el.length) {
var t = this.virtual && this.params.virtual.enabled ? this.virtual.slides.length : this.slides.length,
i = this.pagination.$el,
s = "";
if ("bullets" === e.type) {
for (var a = this.params.loop ? Math.ceil((t - 2 * this.loopedSlides) / this.params.slidesPerGroup) : this.snapGrid.length, r = 0; r < a; r += 1)
e.renderBullet ? (s += e.renderBullet.call(this, r, e.bulletClass)) : (s += "<" + e.bulletElement + ' class="' + e.bulletClass + '">' + e.bulletElement + ">");
i.html(s), (this.pagination.bullets = i.find("." + e.bulletClass));
}
"fraction" === e.type && ((s = e.renderFraction ? e.renderFraction.call(this, e.currentClass, e.totalClass) : ' / '), i.html(s)),
"progressbar" === e.type && ((s = e.renderProgressbar ? e.renderProgressbar.call(this, e.progressbarFillClass) : ''), i.html(s)),
"custom" !== e.type && this.emit("paginationRender", this.pagination.$el[0]);
}
},
init: function () {
var e = this,
t = e.params.pagination;
if (t.el) {
var i = s(t.el);
0 !== i.length &&
(e.params.uniqueNavElements && "string" == typeof t.el && i.length > 1 && 1 === e.$el.find(t.el).length && (i = e.$el.find(t.el)),
"bullets" === t.type && t.clickable && i.addClass(t.clickableClass),
i.addClass(t.modifierClass + t.type),
"bullets" === t.type && t.dynamicBullets && (i.addClass("" + t.modifierClass + t.type + "-dynamic"), (e.pagination.dynamicBulletIndex = 0), t.dynamicMainBullets < 1 && (t.dynamicMainBullets = 1)),
"progressbar" === t.type && t.progressbarOpposite && i.addClass(t.progressbarOppositeClass),
t.clickable &&
i.on("click", "." + t.bulletClass, function (t) {
t.preventDefault();
var i = s(this).index() * e.params.slidesPerGroup;
e.params.loop && (i += e.loopedSlides), e.slideTo(i);
}),
n.extend(e.pagination, { $el: i, el: i[0] }));
}
},
destroy: function () {
var e = this.params.pagination;
if (e.el && this.pagination.el && this.pagination.$el && 0 !== this.pagination.$el.length) {
var t = this.pagination.$el;
t.removeClass(e.hiddenClass), t.removeClass(e.modifierClass + e.type), this.pagination.bullets && this.pagination.bullets.removeClass(e.bulletActiveClass), e.clickable && t.off("click", "." + e.bulletClass);
}
},
},
re = {
setTranslate: function () {
if (this.params.scrollbar.el && this.scrollbar.el) {
var e = this.scrollbar,
t = this.rtlTranslate,
i = this.progress,
s = e.dragSize,
a = e.trackSize,
r = e.$dragEl,
n = e.$el,
o = this.params.scrollbar,
l = s,
d = (a - s) * i;
t ? ((d = -d) > 0 ? ((l = s - d), (d = 0)) : -d + s > a && (l = a + d)) : d < 0 ? ((l = s + d), (d = 0)) : d + s > a && (l = a - d),
this.isHorizontal() ? (r.transform("translate3d(" + d + "px, 0, 0)"), (r[0].style.width = l + "px")) : (r.transform("translate3d(0px, " + d + "px, 0)"), (r[0].style.height = l + "px")),
o.hide &&
(clearTimeout(this.scrollbar.timeout),
(n[0].style.opacity = 1),
(this.scrollbar.timeout = setTimeout(function () {
(n[0].style.opacity = 0), n.transition(400);
}, 1e3)));
}
},
setTransition: function (e) {
this.params.scrollbar.el && this.scrollbar.el && this.scrollbar.$dragEl.transition(e);
},
updateSize: function () {
if (this.params.scrollbar.el && this.scrollbar.el) {
var e = this.scrollbar,
t = e.$dragEl,
i = e.$el;
(t[0].style.width = ""), (t[0].style.height = "");
var s,
a = this.isHorizontal() ? i[0].offsetWidth : i[0].offsetHeight,
r = this.size / this.virtualSize,
o = r * (a / this.size);
(s = "auto" === this.params.scrollbar.dragSize ? a * r : parseInt(this.params.scrollbar.dragSize, 10)),
this.isHorizontal() ? (t[0].style.width = s + "px") : (t[0].style.height = s + "px"),
(i[0].style.display = r >= 1 ? "none" : ""),
this.params.scrollbar.hide && (i[0].style.opacity = 0),
n.extend(e, { trackSize: a, divider: r, moveDivider: o, dragSize: s }),
e.$el[this.params.watchOverflow && this.isLocked ? "addClass" : "removeClass"](this.params.scrollbar.lockClass);
}
},
getPointerPosition: function (e) {
return this.isHorizontal() ? ("touchstart" === e.type || "touchmove" === e.type ? e.targetTouches[0].clientX : e.clientX) : "touchstart" === e.type || "touchmove" === e.type ? e.targetTouches[0].clientY : e.clientY;
},
setDragPosition: function (e) {
var t,
i = this.scrollbar,
s = this.rtlTranslate,
a = i.$el,
r = i.dragSize,
n = i.trackSize,
o = i.dragStartPos;
(t = (i.getPointerPosition(e) - a.offset()[this.isHorizontal() ? "left" : "top"] - (null !== o ? o : r / 2)) / (n - r)), (t = Math.max(Math.min(t, 1), 0)), s && (t = 1 - t);
var l = this.minTranslate() + (this.maxTranslate() - this.minTranslate()) * t;
this.updateProgress(l), this.setTranslate(l), this.updateActiveIndex(), this.updateSlidesClasses();
},
onDragStart: function (e) {
var t = this.params.scrollbar,
i = this.scrollbar,
s = this.$wrapperEl,
a = i.$el,
r = i.$dragEl;
(this.scrollbar.isTouched = !0),
(this.scrollbar.dragStartPos = e.target === r[0] || e.target === r ? i.getPointerPosition(e) - e.target.getBoundingClientRect()[this.isHorizontal() ? "left" : "top"] : null),
e.preventDefault(),
e.stopPropagation(),
s.transition(100),
r.transition(100),
i.setDragPosition(e),
clearTimeout(this.scrollbar.dragTimeout),
a.transition(0),
t.hide && a.css("opacity", 1),
this.params.cssMode && this.$wrapperEl.css("scroll-snap-type", "none"),
this.emit("scrollbarDragStart", e);
},
onDragMove: function (e) {
var t = this.scrollbar,
i = this.$wrapperEl,
s = t.$el,
a = t.$dragEl;
this.scrollbar.isTouched && (e.preventDefault ? e.preventDefault() : (e.returnValue = !1), t.setDragPosition(e), i.transition(0), s.transition(0), a.transition(0), this.emit("scrollbarDragMove", e));
},
onDragEnd: function (e) {
var t = this.params.scrollbar,
i = this.scrollbar,
s = this.$wrapperEl,
a = i.$el;
this.scrollbar.isTouched &&
((this.scrollbar.isTouched = !1),
this.params.cssMode && (this.$wrapperEl.css("scroll-snap-type", ""), s.transition("")),
t.hide &&
(clearTimeout(this.scrollbar.dragTimeout),
(this.scrollbar.dragTimeout = n.nextTick(function () {
a.css("opacity", 0), a.transition(400);
}, 1e3))),
this.emit("scrollbarDragEnd", e),
t.snapOnRelease && this.slideToClosest());
},
enableDraggable: function () {
if (this.params.scrollbar.el) {
var t = this.scrollbar,
i = this.touchEventsTouch,
s = this.touchEventsDesktop,
a = this.params,
r = t.$el[0],
n = !(!o.passiveListener || !a.passiveListeners) && { passive: !1, capture: !1 },
l = !(!o.passiveListener || !a.passiveListeners) && { passive: !0, capture: !1 };
o.touch
? (r.addEventListener(i.start, this.scrollbar.onDragStart, n), r.addEventListener(i.move, this.scrollbar.onDragMove, n), r.addEventListener(i.end, this.scrollbar.onDragEnd, l))
: (r.addEventListener(s.start, this.scrollbar.onDragStart, n), e.addEventListener(s.move, this.scrollbar.onDragMove, n), e.addEventListener(s.end, this.scrollbar.onDragEnd, l));
}
},
disableDraggable: function () {
if (this.params.scrollbar.el) {
var t = this.scrollbar,
i = this.touchEventsTouch,
s = this.touchEventsDesktop,
a = this.params,
r = t.$el[0],
n = !(!o.passiveListener || !a.passiveListeners) && { passive: !1, capture: !1 },
l = !(!o.passiveListener || !a.passiveListeners) && { passive: !0, capture: !1 };
o.touch
? (r.removeEventListener(i.start, this.scrollbar.onDragStart, n), r.removeEventListener(i.move, this.scrollbar.onDragMove, n), r.removeEventListener(i.end, this.scrollbar.onDragEnd, l))
: (r.removeEventListener(s.start, this.scrollbar.onDragStart, n), e.removeEventListener(s.move, this.scrollbar.onDragMove, n), e.removeEventListener(s.end, this.scrollbar.onDragEnd, l));
}
},
init: function () {
if (this.params.scrollbar.el) {
var e = this.scrollbar,
t = this.$el,
i = this.params.scrollbar,
a = s(i.el);
this.params.uniqueNavElements && "string" == typeof i.el && a.length > 1 && 1 === t.find(i.el).length && (a = t.find(i.el));
var r = a.find("." + this.params.scrollbar.dragClass);
0 === r.length && ((r = s('')), a.append(r)), n.extend(e, { $el: a, el: a[0], $dragEl: r, dragEl: r[0] }), i.draggable && e.enableDraggable();
}
},
destroy: function () {
this.scrollbar.disableDraggable();
},
},
ne = {
setTransform: function (e, t) {
var i = this.rtl,
a = s(e),
r = i ? -1 : 1,
n = a.attr("data-swiper-parallax") || "0",
o = a.attr("data-swiper-parallax-x"),
l = a.attr("data-swiper-parallax-y"),
d = a.attr("data-swiper-parallax-scale"),
h = a.attr("data-swiper-parallax-opacity");
if (
(o || l ? ((o = o || "0"), (l = l || "0")) : this.isHorizontal() ? ((o = n), (l = "0")) : ((l = n), (o = "0")),
(o = o.indexOf("%") >= 0 ? parseInt(o, 10) * t * r + "%" : o * t * r + "px"),
(l = l.indexOf("%") >= 0 ? parseInt(l, 10) * t + "%" : l * t + "px"),
null != h)
) {
var p = h - (h - 1) * (1 - Math.abs(t));
a[0].style.opacity = p;
}
if (null == d) a.transform("translate3d(" + o + ", " + l + ", 0px)");
else {
var c = d - (d - 1) * (1 - Math.abs(t));
a.transform("translate3d(" + o + ", " + l + ", 0px) scale(" + c + ")");
}
},
setTranslate: function () {
var e = this,
t = e.$el,
i = e.slides,
a = e.progress,
r = e.snapGrid;
t.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(function (t, i) {
e.parallax.setTransform(i, a);
}),
i.each(function (t, i) {
var n = i.progress;
e.params.slidesPerGroup > 1 && "auto" !== e.params.slidesPerView && (n += Math.ceil(t / 2) - a * (r.length - 1)),
(n = Math.min(Math.max(n, -1), 1)),
s(i)
.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]")
.each(function (t, i) {
e.parallax.setTransform(i, n);
});
});
},
setTransition: function (e) {
void 0 === e && (e = this.params.speed);
this.$el.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(function (t, i) {
var a = s(i),
r = parseInt(a.attr("data-swiper-parallax-duration"), 10) || e;
0 === e && (r = 0), a.transition(r);
});
},
},
oe = {
getDistanceBetweenTouches: function (e) {
if (e.targetTouches.length < 2) return 1;
var t = e.targetTouches[0].pageX,
i = e.targetTouches[0].pageY,
s = e.targetTouches[1].pageX,
a = e.targetTouches[1].pageY;
return Math.sqrt(Math.pow(s - t, 2) + Math.pow(a - i, 2));
},
onGestureStart: function (e) {
var t = this.params.zoom,
i = this.zoom,
a = i.gesture;
if (((i.fakeGestureTouched = !1), (i.fakeGestureMoved = !1), !o.gestures)) {
if ("touchstart" !== e.type || ("touchstart" === e.type && e.targetTouches.length < 2)) return;
(i.fakeGestureTouched = !0), (a.scaleStart = oe.getDistanceBetweenTouches(e));
}
(a.$slideEl && a.$slideEl.length) ||
((a.$slideEl = s(e.target).closest(".swiper-slide")),
0 === a.$slideEl.length && (a.$slideEl = this.slides.eq(this.activeIndex)),
(a.$imageEl = a.$slideEl.find("img, svg, canvas")),
(a.$imageWrapEl = a.$imageEl.parent("." + t.containerClass)),
(a.maxRatio = a.$imageWrapEl.attr("data-swiper-zoom") || t.maxRatio),
0 !== a.$imageWrapEl.length)
? (a.$imageEl.transition(0), (this.zoom.isScaling = !0))
: (a.$imageEl = void 0);
},
onGestureChange: function (e) {
var t = this.params.zoom,
i = this.zoom,
s = i.gesture;
if (!o.gestures) {
if ("touchmove" !== e.type || ("touchmove" === e.type && e.targetTouches.length < 2)) return;
(i.fakeGestureMoved = !0), (s.scaleMove = oe.getDistanceBetweenTouches(e));
}
s.$imageEl &&
0 !== s.$imageEl.length &&
(o.gestures ? (i.scale = e.scale * i.currentScale) : (i.scale = (s.scaleMove / s.scaleStart) * i.currentScale),
i.scale > s.maxRatio && (i.scale = s.maxRatio - 1 + Math.pow(i.scale - s.maxRatio + 1, 0.5)),
i.scale < t.minRatio && (i.scale = t.minRatio + 1 - Math.pow(t.minRatio - i.scale + 1, 0.5)),
s.$imageEl.transform("translate3d(0,0,0) scale(" + i.scale + ")"));
},
onGestureEnd: function (e) {
var t = this.params.zoom,
i = this.zoom,
s = i.gesture;
if (!o.gestures) {
if (!i.fakeGestureTouched || !i.fakeGestureMoved) return;
if ("touchend" !== e.type || ("touchend" === e.type && e.changedTouches.length < 2 && !I.android)) return;
(i.fakeGestureTouched = !1), (i.fakeGestureMoved = !1);
}
s.$imageEl &&
0 !== s.$imageEl.length &&
((i.scale = Math.max(Math.min(i.scale, s.maxRatio), t.minRatio)),
s.$imageEl.transition(this.params.speed).transform("translate3d(0,0,0) scale(" + i.scale + ")"),
(i.currentScale = i.scale),
(i.isScaling = !1),
1 === i.scale && (s.$slideEl = void 0));
},
onTouchStart: function (e) {
var t = this.zoom,
i = t.gesture,
s = t.image;
i.$imageEl &&
0 !== i.$imageEl.length &&
(s.isTouched ||
(I.android && e.preventDefault(),
(s.isTouched = !0),
(s.touchesStart.x = "touchstart" === e.type ? e.targetTouches[0].pageX : e.pageX),
(s.touchesStart.y = "touchstart" === e.type ? e.targetTouches[0].pageY : e.pageY)));
},
onTouchMove: function (e) {
var t = this.zoom,
i = t.gesture,
s = t.image,
a = t.velocity;
if (i.$imageEl && 0 !== i.$imageEl.length && ((this.allowClick = !1), s.isTouched && i.$slideEl)) {
s.isMoved ||
((s.width = i.$imageEl[0].offsetWidth),
(s.height = i.$imageEl[0].offsetHeight),
(s.startX = n.getTranslate(i.$imageWrapEl[0], "x") || 0),
(s.startY = n.getTranslate(i.$imageWrapEl[0], "y") || 0),
(i.slideWidth = i.$slideEl[0].offsetWidth),
(i.slideHeight = i.$slideEl[0].offsetHeight),
i.$imageWrapEl.transition(0),
this.rtl && ((s.startX = -s.startX), (s.startY = -s.startY)));
var r = s.width * t.scale,
o = s.height * t.scale;
if (!(r < i.slideWidth && o < i.slideHeight)) {
if (
((s.minX = Math.min(i.slideWidth / 2 - r / 2, 0)),
(s.maxX = -s.minX),
(s.minY = Math.min(i.slideHeight / 2 - o / 2, 0)),
(s.maxY = -s.minY),
(s.touchesCurrent.x = "touchmove" === e.type ? e.targetTouches[0].pageX : e.pageX),
(s.touchesCurrent.y = "touchmove" === e.type ? e.targetTouches[0].pageY : e.pageY),
!s.isMoved && !t.isScaling)
) {
if (this.isHorizontal() && ((Math.floor(s.minX) === Math.floor(s.startX) && s.touchesCurrent.x < s.touchesStart.x) || (Math.floor(s.maxX) === Math.floor(s.startX) && s.touchesCurrent.x > s.touchesStart.x)))
return void (s.isTouched = !1);
if (!this.isHorizontal() && ((Math.floor(s.minY) === Math.floor(s.startY) && s.touchesCurrent.y < s.touchesStart.y) || (Math.floor(s.maxY) === Math.floor(s.startY) && s.touchesCurrent.y > s.touchesStart.y)))
return void (s.isTouched = !1);
}
e.preventDefault(),
e.stopPropagation(),
(s.isMoved = !0),
(s.currentX = s.touchesCurrent.x - s.touchesStart.x + s.startX),
(s.currentY = s.touchesCurrent.y - s.touchesStart.y + s.startY),
s.currentX < s.minX && (s.currentX = s.minX + 1 - Math.pow(s.minX - s.currentX + 1, 0.8)),
s.currentX > s.maxX && (s.currentX = s.maxX - 1 + Math.pow(s.currentX - s.maxX + 1, 0.8)),
s.currentY < s.minY && (s.currentY = s.minY + 1 - Math.pow(s.minY - s.currentY + 1, 0.8)),
s.currentY > s.maxY && (s.currentY = s.maxY - 1 + Math.pow(s.currentY - s.maxY + 1, 0.8)),
a.prevPositionX || (a.prevPositionX = s.touchesCurrent.x),
a.prevPositionY || (a.prevPositionY = s.touchesCurrent.y),
a.prevTime || (a.prevTime = Date.now()),
(a.x = (s.touchesCurrent.x - a.prevPositionX) / (Date.now() - a.prevTime) / 2),
(a.y = (s.touchesCurrent.y - a.prevPositionY) / (Date.now() - a.prevTime) / 2),
Math.abs(s.touchesCurrent.x - a.prevPositionX) < 2 && (a.x = 0),
Math.abs(s.touchesCurrent.y - a.prevPositionY) < 2 && (a.y = 0),
(a.prevPositionX = s.touchesCurrent.x),
(a.prevPositionY = s.touchesCurrent.y),
(a.prevTime = Date.now()),
i.$imageWrapEl.transform("translate3d(" + s.currentX + "px, " + s.currentY + "px,0)");
}
}
},
onTouchEnd: function () {
var e = this.zoom,
t = e.gesture,
i = e.image,
s = e.velocity;
if (t.$imageEl && 0 !== t.$imageEl.length) {
if (!i.isTouched || !i.isMoved) return (i.isTouched = !1), void (i.isMoved = !1);
(i.isTouched = !1), (i.isMoved = !1);
var a = 300,
r = 300,
n = s.x * a,
o = i.currentX + n,
l = s.y * r,
d = i.currentY + l;
0 !== s.x && (a = Math.abs((o - i.currentX) / s.x)), 0 !== s.y && (r = Math.abs((d - i.currentY) / s.y));
var h = Math.max(a, r);
(i.currentX = o), (i.currentY = d);
var p = i.width * e.scale,
c = i.height * e.scale;
(i.minX = Math.min(t.slideWidth / 2 - p / 2, 0)),
(i.maxX = -i.minX),
(i.minY = Math.min(t.slideHeight / 2 - c / 2, 0)),
(i.maxY = -i.minY),
(i.currentX = Math.max(Math.min(i.currentX, i.maxX), i.minX)),
(i.currentY = Math.max(Math.min(i.currentY, i.maxY), i.minY)),
t.$imageWrapEl.transition(h).transform("translate3d(" + i.currentX + "px, " + i.currentY + "px,0)");
}
},
onTransitionEnd: function () {
var e = this.zoom,
t = e.gesture;
t.$slideEl &&
this.previousIndex !== this.activeIndex &&
(t.$imageEl.transform("translate3d(0,0,0) scale(1)"), t.$imageWrapEl.transform("translate3d(0,0,0)"), (e.scale = 1), (e.currentScale = 1), (t.$slideEl = void 0), (t.$imageEl = void 0), (t.$imageWrapEl = void 0));
},
toggle: function (e) {
var t = this.zoom;
t.scale && 1 !== t.scale ? t.out() : t.in(e);
},
in: function (e) {
var t,
i,
a,
r,
n,
o,
l,
d,
h,
p,
c,
u,
v,
f,
m,
g,
b = this.zoom,
w = this.params.zoom,
y = b.gesture,
x = b.image;
(y.$slideEl || ((y.$slideEl = this.clickedSlide ? s(this.clickedSlide) : this.slides.eq(this.activeIndex)), (y.$imageEl = y.$slideEl.find("img, svg, canvas")), (y.$imageWrapEl = y.$imageEl.parent("." + w.containerClass))),
y.$imageEl && 0 !== y.$imageEl.length) &&
(y.$slideEl.addClass("" + w.zoomedSlideClass),
void 0 === x.touchesStart.x && e
? ((t = "touchend" === e.type ? e.changedTouches[0].pageX : e.pageX), (i = "touchend" === e.type ? e.changedTouches[0].pageY : e.pageY))
: ((t = x.touchesStart.x), (i = x.touchesStart.y)),
(b.scale = y.$imageWrapEl.attr("data-swiper-zoom") || w.maxRatio),
(b.currentScale = y.$imageWrapEl.attr("data-swiper-zoom") || w.maxRatio),
e
? ((m = y.$slideEl[0].offsetWidth),
(g = y.$slideEl[0].offsetHeight),
(a = y.$slideEl.offset().left + m / 2 - t),
(r = y.$slideEl.offset().top + g / 2 - i),
(l = y.$imageEl[0].offsetWidth),
(d = y.$imageEl[0].offsetHeight),
(h = l * b.scale),
(p = d * b.scale),
(v = -(c = Math.min(m / 2 - h / 2, 0))),
(f = -(u = Math.min(g / 2 - p / 2, 0))),
(n = a * b.scale) < c && (n = c),
n > v && (n = v),
(o = r * b.scale) < u && (o = u),
o > f && (o = f))
: ((n = 0), (o = 0)),
y.$imageWrapEl.transition(300).transform("translate3d(" + n + "px, " + o + "px,0)"),
y.$imageEl.transition(300).transform("translate3d(0,0,0) scale(" + b.scale + ")"));
},
out: function () {
var e = this.zoom,
t = this.params.zoom,
i = e.gesture;
i.$slideEl || ((i.$slideEl = this.clickedSlide ? s(this.clickedSlide) : this.slides.eq(this.activeIndex)), (i.$imageEl = i.$slideEl.find("img, svg, canvas")), (i.$imageWrapEl = i.$imageEl.parent("." + t.containerClass))),
i.$imageEl &&
0 !== i.$imageEl.length &&
((e.scale = 1),
(e.currentScale = 1),
i.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"),
i.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"),
i.$slideEl.removeClass("" + t.zoomedSlideClass),
(i.$slideEl = void 0));
},
enable: function () {
var e = this.zoom;
if (!e.enabled) {
e.enabled = !0;
var t = !("touchstart" !== this.touchEvents.start || !o.passiveListener || !this.params.passiveListeners) && { passive: !0, capture: !1 },
i = !o.passiveListener || { passive: !1, capture: !0 };
o.gestures
? (this.$wrapperEl.on("gesturestart", ".swiper-slide", e.onGestureStart, t),
this.$wrapperEl.on("gesturechange", ".swiper-slide", e.onGestureChange, t),
this.$wrapperEl.on("gestureend", ".swiper-slide", e.onGestureEnd, t))
: "touchstart" === this.touchEvents.start &&
(this.$wrapperEl.on(this.touchEvents.start, ".swiper-slide", e.onGestureStart, t),
this.$wrapperEl.on(this.touchEvents.move, ".swiper-slide", e.onGestureChange, i),
this.$wrapperEl.on(this.touchEvents.end, ".swiper-slide", e.onGestureEnd, t),
this.touchEvents.cancel && this.$wrapperEl.on(this.touchEvents.cancel, ".swiper-slide", e.onGestureEnd, t)),
this.$wrapperEl.on(this.touchEvents.move, "." + this.params.zoom.containerClass, e.onTouchMove, i);
}
},
disable: function () {
var e = this.zoom;
if (e.enabled) {
this.zoom.enabled = !1;
var t = !("touchstart" !== this.touchEvents.start || !o.passiveListener || !this.params.passiveListeners) && { passive: !0, capture: !1 },
i = !o.passiveListener || { passive: !1, capture: !0 };
o.gestures
? (this.$wrapperEl.off("gesturestart", ".swiper-slide", e.onGestureStart, t),
this.$wrapperEl.off("gesturechange", ".swiper-slide", e.onGestureChange, t),
this.$wrapperEl.off("gestureend", ".swiper-slide", e.onGestureEnd, t))
: "touchstart" === this.touchEvents.start &&
(this.$wrapperEl.off(this.touchEvents.start, ".swiper-slide", e.onGestureStart, t),
this.$wrapperEl.off(this.touchEvents.move, ".swiper-slide", e.onGestureChange, i),
this.$wrapperEl.off(this.touchEvents.end, ".swiper-slide", e.onGestureEnd, t),
this.touchEvents.cancel && this.$wrapperEl.off(this.touchEvents.cancel, ".swiper-slide", e.onGestureEnd, t)),
this.$wrapperEl.off(this.touchEvents.move, "." + this.params.zoom.containerClass, e.onTouchMove, i);
}
},
},
le = {
loadInSlide: function (e, t) {
void 0 === t && (t = !0);
var i = this,
a = i.params.lazy;
if (void 0 !== e && 0 !== i.slides.length) {
var r = i.virtual && i.params.virtual.enabled ? i.$wrapperEl.children("." + i.params.slideClass + '[data-swiper-slide-index="' + e + '"]') : i.slides.eq(e),
n = r.find("." + a.elementClass + ":not(." + a.loadedClass + "):not(." + a.loadingClass + ")");
!r.hasClass(a.elementClass) || r.hasClass(a.loadedClass) || r.hasClass(a.loadingClass) || (n = n.add(r[0])),
0 !== n.length &&
n.each(function (e, n) {
var o = s(n);
o.addClass(a.loadingClass);
var l = o.attr("data-background"),
d = o.attr("data-src"),
h = o.attr("data-srcset"),
p = o.attr("data-sizes");
i.loadImage(o[0], d || l, h, p, !1, function () {
if (null != i && i && (!i || i.params) && !i.destroyed) {
if (
(l
? (o.css("background-image", 'url("' + l + '")'), o.removeAttr("data-background"))
: (h && (o.attr("srcset", h), o.removeAttr("data-srcset")), p && (o.attr("sizes", p), o.removeAttr("data-sizes")), d && (o.attr("src", d), o.removeAttr("data-src"))),
o.addClass(a.loadedClass).removeClass(a.loadingClass),
r.find("." + a.preloaderClass).remove(),
i.params.loop && t)
) {
var e = r.attr("data-swiper-slide-index");
if (r.hasClass(i.params.slideDuplicateClass)) {
var s = i.$wrapperEl.children('[data-swiper-slide-index="' + e + '"]:not(.' + i.params.slideDuplicateClass + ")");
i.lazy.loadInSlide(s.index(), !1);
} else {
var n = i.$wrapperEl.children("." + i.params.slideDuplicateClass + '[data-swiper-slide-index="' + e + '"]');
i.lazy.loadInSlide(n.index(), !1);
}
}
i.emit("lazyImageReady", r[0], o[0]);
}
}),
i.emit("lazyImageLoad", r[0], o[0]);
});
}
},
load: function () {
var e = this,
t = e.$wrapperEl,
i = e.params,
a = e.slides,
r = e.activeIndex,
n = e.virtual && i.virtual.enabled,
o = i.lazy,
l = i.slidesPerView;
function d(e) {
if (n) {
if (t.children("." + i.slideClass + '[data-swiper-slide-index="' + e + '"]').length) return !0;
} else if (a[e]) return !0;
return !1;
}
function h(e) {
return n ? s(e).attr("data-swiper-slide-index") : s(e).index();
}
if (("auto" === l && (l = 0), e.lazy.initialImageLoaded || (e.lazy.initialImageLoaded = !0), e.params.watchSlidesVisibility))
t.children("." + i.slideVisibleClass).each(function (t, i) {
var a = n ? s(i).attr("data-swiper-slide-index") : s(i).index();
e.lazy.loadInSlide(a);
});
else if (l > 1) for (var p = r; p < r + l; p += 1) d(p) && e.lazy.loadInSlide(p);
else e.lazy.loadInSlide(r);
if (o.loadPrevNext)
if (l > 1 || (o.loadPrevNextAmount && o.loadPrevNextAmount > 1)) {
for (var c = o.loadPrevNextAmount, u = l, v = Math.min(r + u + Math.max(c, u), a.length), f = Math.max(r - Math.max(u, c), 0), m = r + l; m < v; m += 1) d(m) && e.lazy.loadInSlide(m);
for (var g = f; g < r; g += 1) d(g) && e.lazy.loadInSlide(g);
} else {
var b = t.children("." + i.slideNextClass);
b.length > 0 && e.lazy.loadInSlide(h(b));
var w = t.children("." + i.slidePrevClass);
w.length > 0 && e.lazy.loadInSlide(h(w));
}
},
},
de = {
LinearSpline: function (e, t) {
var i,
s,
a,
r,
n,
o = function (e, t) {
for (s = -1, i = e.length; i - s > 1; ) e[(a = (i + s) >> 1)] <= t ? (s = a) : (i = a);
return i;
};
return (
(this.x = e),
(this.y = t),
(this.lastIndex = e.length - 1),
(this.interpolate = function (e) {
return e ? ((n = o(this.x, e)), (r = n - 1), ((e - this.x[r]) * (this.y[n] - this.y[r])) / (this.x[n] - this.x[r]) + this.y[r]) : 0;
}),
this
);
},
getInterpolateFunction: function (e) {
this.controller.spline || (this.controller.spline = this.params.loop ? new de.LinearSpline(this.slidesGrid, e.slidesGrid) : new de.LinearSpline(this.snapGrid, e.snapGrid));
},
setTranslate: function (e, t) {
var i,
s,
a = this,
r = a.controller.control;
function n(e) {
var t = a.rtlTranslate ? -a.translate : a.translate;
"slide" === a.params.controller.by && (a.controller.getInterpolateFunction(e), (s = -a.controller.spline.interpolate(-t))),
(s && "container" !== a.params.controller.by) || ((i = (e.maxTranslate() - e.minTranslate()) / (a.maxTranslate() - a.minTranslate())), (s = (t - a.minTranslate()) * i + e.minTranslate())),
a.params.controller.inverse && (s = e.maxTranslate() - s),
e.updateProgress(s),
e.setTranslate(s, a),
e.updateActiveIndex(),
e.updateSlidesClasses();
}
if (Array.isArray(r)) for (var o = 0; o < r.length; o += 1) r[o] !== t && r[o] instanceof W && n(r[o]);
else r instanceof W && t !== r && n(r);
},
setTransition: function (e, t) {
var i,
s = this,
a = s.controller.control;
function r(t) {
t.setTransition(e, s),
0 !== e &&
(t.transitionStart(),
t.params.autoHeight &&
n.nextTick(function () {
t.updateAutoHeight();
}),
t.$wrapperEl.transitionEnd(function () {
a && (t.params.loop && "slide" === s.params.controller.by && t.loopFix(), t.transitionEnd());
}));
}
if (Array.isArray(a)) for (i = 0; i < a.length; i += 1) a[i] !== t && a[i] instanceof W && r(a[i]);
else a instanceof W && t !== a && r(a);
},
},
he = {
makeElFocusable: function (e) {
return e.attr("tabIndex", "0"), e;
},
addElRole: function (e, t) {
return e.attr("role", t), e;
},
addElLabel: function (e, t) {
return e.attr("aria-label", t), e;
},
disableEl: function (e) {
return e.attr("aria-disabled", !0), e;
},
enableEl: function (e) {
return e.attr("aria-disabled", !1), e;
},
onEnterKey: function (e) {
var t = this.params.a11y;
if (13 === e.keyCode) {
var i = s(e.target);
this.navigation &&
this.navigation.$nextEl &&
i.is(this.navigation.$nextEl) &&
((this.isEnd && !this.params.loop) || this.slideNext(), this.isEnd ? this.a11y.notify(t.lastSlideMessage) : this.a11y.notify(t.nextSlideMessage)),
this.navigation &&
this.navigation.$prevEl &&
i.is(this.navigation.$prevEl) &&
((this.isBeginning && !this.params.loop) || this.slidePrev(), this.isBeginning ? this.a11y.notify(t.firstSlideMessage) : this.a11y.notify(t.prevSlideMessage)),
this.pagination && i.is("." + this.params.pagination.bulletClass) && i[0].click();
}
},
notify: function (e) {
var t = this.a11y.liveRegion;
0 !== t.length && (t.html(""), t.html(e));
},
updateNavigation: function () {
if (!this.params.loop && this.navigation) {
var e = this.navigation,
t = e.$nextEl,
i = e.$prevEl;
i && i.length > 0 && (this.isBeginning ? this.a11y.disableEl(i) : this.a11y.enableEl(i)), t && t.length > 0 && (this.isEnd ? this.a11y.disableEl(t) : this.a11y.enableEl(t));
}
},
updatePagination: function () {
var e = this,
t = e.params.a11y;
e.pagination &&
e.params.pagination.clickable &&
e.pagination.bullets &&
e.pagination.bullets.length &&
e.pagination.bullets.each(function (i, a) {
var r = s(a);
e.a11y.makeElFocusable(r), e.a11y.addElRole(r, "button"), e.a11y.addElLabel(r, t.paginationBulletMessage.replace(/{{index}}/, r.index() + 1));
});
},
init: function () {
this.$el.append(this.a11y.liveRegion);
var e,
t,
i = this.params.a11y;
this.navigation && this.navigation.$nextEl && (e = this.navigation.$nextEl),
this.navigation && this.navigation.$prevEl && (t = this.navigation.$prevEl),
e && (this.a11y.makeElFocusable(e), this.a11y.addElRole(e, "button"), this.a11y.addElLabel(e, i.nextSlideMessage), e.on("keydown", this.a11y.onEnterKey)),
t && (this.a11y.makeElFocusable(t), this.a11y.addElRole(t, "button"), this.a11y.addElLabel(t, i.prevSlideMessage), t.on("keydown", this.a11y.onEnterKey)),
this.pagination && this.params.pagination.clickable && this.pagination.bullets && this.pagination.bullets.length && this.pagination.$el.on("keydown", "." + this.params.pagination.bulletClass, this.a11y.onEnterKey);
},
destroy: function () {
var e, t;
this.a11y.liveRegion && this.a11y.liveRegion.length > 0 && this.a11y.liveRegion.remove(),
this.navigation && this.navigation.$nextEl && (e = this.navigation.$nextEl),
this.navigation && this.navigation.$prevEl && (t = this.navigation.$prevEl),
e && e.off("keydown", this.a11y.onEnterKey),
t && t.off("keydown", this.a11y.onEnterKey),
this.pagination && this.params.pagination.clickable && this.pagination.bullets && this.pagination.bullets.length && this.pagination.$el.off("keydown", "." + this.params.pagination.bulletClass, this.a11y.onEnterKey);
},
},
pe = {
init: function () {
if (this.params.history) {
if (!t.history || !t.history.pushState) return (this.params.history.enabled = !1), void (this.params.hashNavigation.enabled = !0);
var e = this.history;
(e.initialized = !0),
(e.paths = pe.getPathValues()),
(e.paths.key || e.paths.value) && (e.scrollToSlide(0, e.paths.value, this.params.runCallbacksOnInit), this.params.history.replaceState || t.addEventListener("popstate", this.history.setHistoryPopState));
}
},
destroy: function () {
this.params.history.replaceState || t.removeEventListener("popstate", this.history.setHistoryPopState);
},
setHistoryPopState: function () {
(this.history.paths = pe.getPathValues()), this.history.scrollToSlide(this.params.speed, this.history.paths.value, !1);
},
getPathValues: function () {
var e = t.location.pathname
.slice(1)
.split("/")
.filter(function (e) {
return "" !== e;
}),
i = e.length;
return { key: e[i - 2], value: e[i - 1] };
},
setHistory: function (e, i) {
if (this.history.initialized && this.params.history.enabled) {
var s = this.slides.eq(i),
a = pe.slugify(s.attr("data-history"));
t.location.pathname.includes(e) || (a = e + "/" + a);
var r = t.history.state;
(r && r.value === a) || (this.params.history.replaceState ? t.history.replaceState({ value: a }, null, a) : t.history.pushState({ value: a }, null, a));
}
},
slugify: function (e) {
return e
.toString()
.replace(/\s+/g, "-")
.replace(/[^\w-]+/g, "")
.replace(/--+/g, "-")
.replace(/^-+/, "")
.replace(/-+$/, "");
},
scrollToSlide: function (e, t, i) {
if (t)
for (var s = 0, a = this.slides.length; s < a; s += 1) {
var r = this.slides.eq(s);
if (pe.slugify(r.attr("data-history")) === t && !r.hasClass(this.params.slideDuplicateClass)) {
var n = r.index();
this.slideTo(n, e, i);
}
}
else this.slideTo(0, e, i);
},
},
ce = {
onHashCange: function () {
var t = e.location.hash.replace("#", "");
if (t !== this.slides.eq(this.activeIndex).attr("data-hash")) {
var i = this.$wrapperEl.children("." + this.params.slideClass + '[data-hash="' + t + '"]').index();
if (void 0 === i) return;
this.slideTo(i);
}
},
setHash: function () {
if (this.hashNavigation.initialized && this.params.hashNavigation.enabled)
if (this.params.hashNavigation.replaceState && t.history && t.history.replaceState) t.history.replaceState(null, null, "#" + this.slides.eq(this.activeIndex).attr("data-hash") || "");
else {
var i = this.slides.eq(this.activeIndex),
s = i.attr("data-hash") || i.attr("data-history");
e.location.hash = s || "";
}
},
init: function () {
if (!(!this.params.hashNavigation.enabled || (this.params.history && this.params.history.enabled))) {
this.hashNavigation.initialized = !0;
var i = e.location.hash.replace("#", "");
if (i)
for (var a = 0, r = this.slides.length; a < r; a += 1) {
var n = this.slides.eq(a);
if ((n.attr("data-hash") || n.attr("data-history")) === i && !n.hasClass(this.params.slideDuplicateClass)) {
var o = n.index();
this.slideTo(o, 0, this.params.runCallbacksOnInit, !0);
}
}
this.params.hashNavigation.watchState && s(t).on("hashchange", this.hashNavigation.onHashCange);
}
},
destroy: function () {
this.params.hashNavigation.watchState && s(t).off("hashchange", this.hashNavigation.onHashCange);
},
},
ue = {
run: function () {
var e = this,
t = e.slides.eq(e.activeIndex),
i = e.params.autoplay.delay;
t.attr("data-swiper-autoplay") && (i = t.attr("data-swiper-autoplay") || e.params.autoplay.delay),
clearTimeout(e.autoplay.timeout),
(e.autoplay.timeout = n.nextTick(function () {
e.params.autoplay.reverseDirection
? e.params.loop
? (e.loopFix(), e.slidePrev(e.params.speed, !0, !0), e.emit("autoplay"))
: e.isBeginning
? e.params.autoplay.stopOnLastSlide
? e.autoplay.stop()
: (e.slideTo(e.slides.length - 1, e.params.speed, !0, !0), e.emit("autoplay"))
: (e.slidePrev(e.params.speed, !0, !0), e.emit("autoplay"))
: e.params.loop
? (e.loopFix(), e.slideNext(e.params.speed, !0, !0), e.emit("autoplay"))
: e.isEnd
? e.params.autoplay.stopOnLastSlide
? e.autoplay.stop()
: (e.slideTo(0, e.params.speed, !0, !0), e.emit("autoplay"))
: (e.slideNext(e.params.speed, !0, !0), e.emit("autoplay")),
e.params.cssMode && e.autoplay.running && e.autoplay.run();
}, i));
},
start: function () {
return void 0 === this.autoplay.timeout && !this.autoplay.running && ((this.autoplay.running = !0), this.emit("autoplayStart"), this.autoplay.run(), !0);
},
stop: function () {
return (
!!this.autoplay.running &&
void 0 !== this.autoplay.timeout &&
(this.autoplay.timeout && (clearTimeout(this.autoplay.timeout), (this.autoplay.timeout = void 0)), (this.autoplay.running = !1), this.emit("autoplayStop"), !0)
);
},
pause: function (e) {
this.autoplay.running &&
(this.autoplay.paused ||
(this.autoplay.timeout && clearTimeout(this.autoplay.timeout),
(this.autoplay.paused = !0),
0 !== e && this.params.autoplay.waitForTransition
? (this.$wrapperEl[0].addEventListener("transitionend", this.autoplay.onTransitionEnd), this.$wrapperEl[0].addEventListener("webkitTransitionEnd", this.autoplay.onTransitionEnd))
: ((this.autoplay.paused = !1), this.autoplay.run())));
},
},
ve = {
setTranslate: function () {
for (var e = this.slides, t = 0; t < e.length; t += 1) {
var i = this.slides.eq(t),
s = -i[0].swiperSlideOffset;
this.params.virtualTranslate || (s -= this.translate);
var a = 0;
this.isHorizontal() || ((a = s), (s = 0));
var r = this.params.fadeEffect.crossFade ? Math.max(1 - Math.abs(i[0].progress), 0) : 1 + Math.min(Math.max(i[0].progress, -1), 0);
i.css({ opacity: r }).transform("translate3d(" + s + "px, " + a + "px, 0px)");
}
},
setTransition: function (e) {
var t = this,
i = t.slides,
s = t.$wrapperEl;
if ((i.transition(e), t.params.virtualTranslate && 0 !== e)) {
var a = !1;
i.transitionEnd(function () {
if (!a && t && !t.destroyed) {
(a = !0), (t.animating = !1);
for (var e = ["webkitTransitionEnd", "transitionend"], i = 0; i < e.length; i += 1) s.trigger(e[i]);
}
});
}
},
},
fe = {
setTranslate: function () {
var e,
t = this.$el,
i = this.$wrapperEl,
a = this.slides,
r = this.width,
n = this.height,
o = this.rtlTranslate,
l = this.size,
d = this.params.cubeEffect,
h = this.isHorizontal(),
p = this.virtual && this.params.virtual.enabled,
c = 0;
d.shadow &&
(h
? (0 === (e = i.find(".swiper-cube-shadow")).length && ((e = s('')), i.append(e)), e.css({ height: r + "px" }))
: 0 === (e = t.find(".swiper-cube-shadow")).length && ((e = s('')), t.append(e)));
for (var u = 0; u < a.length; u += 1) {
var v = a.eq(u),
f = u;
p && (f = parseInt(v.attr("data-swiper-slide-index"), 10));
var m = 90 * f,
g = Math.floor(m / 360);
o && ((m = -m), (g = Math.floor(-m / 360)));
var b = Math.max(Math.min(v[0].progress, 1), -1),
w = 0,
y = 0,
x = 0;
f % 4 == 0 ? ((w = 4 * -g * l), (x = 0)) : (f - 1) % 4 == 0 ? ((w = 0), (x = 4 * -g * l)) : (f - 2) % 4 == 0 ? ((w = l + 4 * g * l), (x = l)) : (f - 3) % 4 == 0 && ((w = -l), (x = 3 * l + 4 * l * g)),
o && (w = -w),
h || ((y = w), (w = 0));
var T = "rotateX(" + (h ? 0 : -m) + "deg) rotateY(" + (h ? m : 0) + "deg) translate3d(" + w + "px, " + y + "px, " + x + "px)";
if ((b <= 1 && b > -1 && ((c = 90 * f + 90 * b), o && (c = 90 * -f - 90 * b)), v.transform(T), d.slideShadows)) {
var E = h ? v.find(".swiper-slide-shadow-left") : v.find(".swiper-slide-shadow-top"),
S = h ? v.find(".swiper-slide-shadow-right") : v.find(".swiper-slide-shadow-bottom");
0 === E.length && ((E = s('')), v.append(E)),
0 === S.length && ((S = s('')), v.append(S)),
E.length && (E[0].style.opacity = Math.max(-b, 0)),
S.length && (S[0].style.opacity = Math.max(b, 0));
}
}
if (
(i.css({ "-webkit-transform-origin": "50% 50% -" + l / 2 + "px", "-moz-transform-origin": "50% 50% -" + l / 2 + "px", "-ms-transform-origin": "50% 50% -" + l / 2 + "px", "transform-origin": "50% 50% -" + l / 2 + "px" }),
d.shadow)
)
if (h) e.transform("translate3d(0px, " + (r / 2 + d.shadowOffset) + "px, " + -r / 2 + "px) rotateX(90deg) rotateZ(0deg) scale(" + d.shadowScale + ")");
else {
var C = Math.abs(c) - 90 * Math.floor(Math.abs(c) / 90),
M = 1.5 - (Math.sin((2 * C * Math.PI) / 360) / 2 + Math.cos((2 * C * Math.PI) / 360) / 2),
P = d.shadowScale,
z = d.shadowScale / M,
k = d.shadowOffset;
e.transform("scale3d(" + P + ", 1, " + z + ") translate3d(0px, " + (n / 2 + k) + "px, " + -n / 2 / z + "px) rotateX(-90deg)");
}
var $ = j.isSafari || j.isUiWebView ? -l / 2 : 0;
i.transform("translate3d(0px,0," + $ + "px) rotateX(" + (this.isHorizontal() ? 0 : c) + "deg) rotateY(" + (this.isHorizontal() ? -c : 0) + "deg)");
},
setTransition: function (e) {
var t = this.$el;
this.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),
this.params.cubeEffect.shadow && !this.isHorizontal() && t.find(".swiper-cube-shadow").transition(e);
},
},
me = {
setTranslate: function () {
for (var e = this.slides, t = this.rtlTranslate, i = 0; i < e.length; i += 1) {
var a = e.eq(i),
r = a[0].progress;
this.params.flipEffect.limitRotation && (r = Math.max(Math.min(a[0].progress, 1), -1));
var n = -180 * r,
o = 0,
l = -a[0].swiperSlideOffset,
d = 0;
if ((this.isHorizontal() ? t && (n = -n) : ((d = l), (l = 0), (o = -n), (n = 0)), (a[0].style.zIndex = -Math.abs(Math.round(r)) + e.length), this.params.flipEffect.slideShadows)) {
var h = this.isHorizontal() ? a.find(".swiper-slide-shadow-left") : a.find(".swiper-slide-shadow-top"),
p = this.isHorizontal() ? a.find(".swiper-slide-shadow-right") : a.find(".swiper-slide-shadow-bottom");
0 === h.length && ((h = s('')), a.append(h)),
0 === p.length && ((p = s('')), a.append(p)),
h.length && (h[0].style.opacity = Math.max(-r, 0)),
p.length && (p[0].style.opacity = Math.max(r, 0));
}
a.transform("translate3d(" + l + "px, " + d + "px, 0px) rotateX(" + o + "deg) rotateY(" + n + "deg)");
}
},
setTransition: function (e) {
var t = this,
i = t.slides,
s = t.activeIndex,
a = t.$wrapperEl;
if ((i.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e), t.params.virtualTranslate && 0 !== e)) {
var r = !1;
i.eq(s).transitionEnd(function () {
if (!r && t && !t.destroyed) {
(r = !0), (t.animating = !1);
for (var e = ["webkitTransitionEnd", "transitionend"], i = 0; i < e.length; i += 1) a.trigger(e[i]);
}
});
}
},
},
ge = {
setTranslate: function () {
for (
var e = this.width,
t = this.height,
i = this.slides,
a = this.$wrapperEl,
r = this.slidesSizesGrid,
n = this.params.coverflowEffect,
l = this.isHorizontal(),
d = this.translate,
h = l ? e / 2 - d : t / 2 - d,
p = l ? n.rotate : -n.rotate,
c = n.depth,
u = 0,
v = i.length;
u < v;
u += 1
) {
var f = i.eq(u),
m = r[u],
g = ((h - f[0].swiperSlideOffset - m / 2) / m) * n.modifier,
b = l ? p * g : 0,
w = l ? 0 : p * g,
y = -c * Math.abs(g),
x = l ? 0 : n.stretch * g,
T = l ? n.stretch * g : 0;
Math.abs(T) < 0.001 && (T = 0), Math.abs(x) < 0.001 && (x = 0), Math.abs(y) < 0.001 && (y = 0), Math.abs(b) < 0.001 && (b = 0), Math.abs(w) < 0.001 && (w = 0);
var E = "translate3d(" + T + "px," + x + "px," + y + "px) rotateX(" + w + "deg) rotateY(" + b + "deg)";
if ((f.transform(E), (f[0].style.zIndex = 1 - Math.abs(Math.round(g))), n.slideShadows)) {
var S = l ? f.find(".swiper-slide-shadow-left") : f.find(".swiper-slide-shadow-top"),
C = l ? f.find(".swiper-slide-shadow-right") : f.find(".swiper-slide-shadow-bottom");
0 === S.length && ((S = s('')), f.append(S)),
0 === C.length && ((C = s('')), f.append(C)),
S.length && (S[0].style.opacity = g > 0 ? g : 0),
C.length && (C[0].style.opacity = -g > 0 ? -g : 0);
}
}
(o.pointerEvents || o.prefixedPointerEvents) && (a[0].style.perspectiveOrigin = h + "px 50%");
},
setTransition: function (e) {
this.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e);
},
},
be = {
init: function () {
var e = this.params.thumbs,
t = this.constructor;
e.swiper instanceof t
? ((this.thumbs.swiper = e.swiper),
n.extend(this.thumbs.swiper.originalParams, { watchSlidesProgress: !0, slideToClickedSlide: !1 }),
n.extend(this.thumbs.swiper.params, { watchSlidesProgress: !0, slideToClickedSlide: !1 }))
: n.isObject(e.swiper) && ((this.thumbs.swiper = new t(n.extend({}, e.swiper, { watchSlidesVisibility: !0, watchSlidesProgress: !0, slideToClickedSlide: !1 }))), (this.thumbs.swiperCreated = !0)),
this.thumbs.swiper.$el.addClass(this.params.thumbs.thumbsContainerClass),
this.thumbs.swiper.on("tap", this.thumbs.onThumbClick);
},
onThumbClick: function () {
var e = this.thumbs.swiper;
if (e) {
var t = e.clickedIndex,
i = e.clickedSlide;
if (!((i && s(i).hasClass(this.params.thumbs.slideThumbActiveClass)) || null == t)) {
var a;
if (((a = e.params.loop ? parseInt(s(e.clickedSlide).attr("data-swiper-slide-index"), 10) : t), this.params.loop)) {
var r = this.activeIndex;
this.slides.eq(r).hasClass(this.params.slideDuplicateClass) && (this.loopFix(), (this._clientLeft = this.$wrapperEl[0].clientLeft), (r = this.activeIndex));
var n = this.slides
.eq(r)
.prevAll('[data-swiper-slide-index="' + a + '"]')
.eq(0)
.index(),
o = this.slides
.eq(r)
.nextAll('[data-swiper-slide-index="' + a + '"]')
.eq(0)
.index();
a = void 0 === n ? o : void 0 === o ? n : o - r < r - n ? o : n;
}
this.slideTo(a);
}
}
},
update: function (e) {
var t = this.thumbs.swiper;
if (t) {
var i = "auto" === t.params.slidesPerView ? t.slidesPerViewDynamic() : t.params.slidesPerView;
if (this.realIndex !== t.realIndex) {
var s,
a = t.activeIndex;
if (t.params.loop) {
t.slides.eq(a).hasClass(t.params.slideDuplicateClass) && (t.loopFix(), (t._clientLeft = t.$wrapperEl[0].clientLeft), (a = t.activeIndex));
var r = t.slides
.eq(a)
.prevAll('[data-swiper-slide-index="' + this.realIndex + '"]')
.eq(0)
.index(),
n = t.slides
.eq(a)
.nextAll('[data-swiper-slide-index="' + this.realIndex + '"]')
.eq(0)
.index();
s = void 0 === r ? n : void 0 === n ? r : n - a == a - r ? a : n - a < a - r ? n : r;
} else s = this.realIndex;
t.visibleSlidesIndexes &&
t.visibleSlidesIndexes.indexOf(s) < 0 &&
(t.params.centeredSlides ? (s = s > a ? s - Math.floor(i / 2) + 1 : s + Math.floor(i / 2) - 1) : s > a && (s = s - i + 1), t.slideTo(s, e ? 0 : void 0));
}
var o = 1,
l = this.params.thumbs.slideThumbActiveClass;
if (
(this.params.slidesPerView > 1 && !this.params.centeredSlides && (o = this.params.slidesPerView),
this.params.thumbs.multipleActiveThumbs || (o = 1),
(o = Math.floor(o)),
t.slides.removeClass(l),
t.params.loop || (t.params.virtual && t.params.virtual.enabled))
)
for (var d = 0; d < o; d += 1) t.$wrapperEl.children('[data-swiper-slide-index="' + (this.realIndex + d) + '"]').addClass(l);
else for (var h = 0; h < o; h += 1) t.slides.eq(this.realIndex + h).addClass(l);
}
},
},
we = [
R,
q,
K,
U,
Z,
J,
te,
{
name: "mousewheel",
params: { mousewheel: { enabled: !1, releaseOnEdges: !1, invert: !1, forceToAxis: !1, sensitivity: 1, eventsTarged: "container" } },
create: function () {
n.extend(this, {
mousewheel: {
enabled: !1,
enable: ie.enable.bind(this),
disable: ie.disable.bind(this),
handle: ie.handle.bind(this),
handleMouseEnter: ie.handleMouseEnter.bind(this),
handleMouseLeave: ie.handleMouseLeave.bind(this),
animateSlider: ie.animateSlider.bind(this),
releaseScroll: ie.releaseScroll.bind(this),
lastScrollTime: n.now(),
lastEventBeforeSnap: void 0,
recentWheelEvents: [],
},
});
},
on: {
init: function () {
!this.params.mousewheel.enabled && this.params.cssMode && this.mousewheel.disable(), this.params.mousewheel.enabled && this.mousewheel.enable();
},
destroy: function () {
this.params.cssMode && this.mousewheel.enable(), this.mousewheel.enabled && this.mousewheel.disable();
},
},
},
{
name: "navigation",
params: { navigation: { nextEl: null, prevEl: null, hideOnClick: !1, disabledClass: "swiper-button-disabled", hiddenClass: "swiper-button-hidden", lockClass: "swiper-button-lock" } },
create: function () {
n.extend(this, { navigation: { init: se.init.bind(this), update: se.update.bind(this), destroy: se.destroy.bind(this), onNextClick: se.onNextClick.bind(this), onPrevClick: se.onPrevClick.bind(this) } });
},
on: {
init: function () {
this.navigation.init(), this.navigation.update();
},
toEdge: function () {
this.navigation.update();
},
fromEdge: function () {
this.navigation.update();
},
destroy: function () {
this.navigation.destroy();
},
click: function (e) {
var t,
i = this.navigation,
a = i.$nextEl,
r = i.$prevEl;
!this.params.navigation.hideOnClick ||
s(e.target).is(r) ||
s(e.target).is(a) ||
(a ? (t = a.hasClass(this.params.navigation.hiddenClass)) : r && (t = r.hasClass(this.params.navigation.hiddenClass)),
!0 === t ? this.emit("navigationShow", this) : this.emit("navigationHide", this),
a && a.toggleClass(this.params.navigation.hiddenClass),
r && r.toggleClass(this.params.navigation.hiddenClass));
},
},
},
{
name: "pagination",
params: {
pagination: {
el: null,
bulletElement: "span",
clickable: !1,
hideOnClick: !1,
renderBullet: null,
renderProgressbar: null,
renderFraction: null,
renderCustom: null,
progressbarOpposite: !1,
type: "bullets",
dynamicBullets: !1,
dynamicMainBullets: 1,
formatFractionCurrent: function (e) {
return e;
},
formatFractionTotal: function (e) {
return e;
},
bulletClass: "swiper-pagination-bullet",
bulletActiveClass: "swiper-pagination-bullet-active",
modifierClass: "swiper-pagination-",
currentClass: "swiper-pagination-current",
totalClass: "swiper-pagination-total",
hiddenClass: "swiper-pagination-hidden",
progressbarFillClass: "swiper-pagination-progressbar-fill",
progressbarOppositeClass: "swiper-pagination-progressbar-opposite",
clickableClass: "swiper-pagination-clickable",
lockClass: "swiper-pagination-lock",
},
},
create: function () {
n.extend(this, { pagination: { init: ae.init.bind(this), render: ae.render.bind(this), update: ae.update.bind(this), destroy: ae.destroy.bind(this), dynamicBulletIndex: 0 } });
},
on: {
init: function () {
this.pagination.init(), this.pagination.render(), this.pagination.update();
},
activeIndexChange: function () {
this.params.loop ? this.pagination.update() : void 0 === this.snapIndex && this.pagination.update();
},
snapIndexChange: function () {
this.params.loop || this.pagination.update();
},
slidesLengthChange: function () {
this.params.loop && (this.pagination.render(), this.pagination.update());
},
snapGridLengthChange: function () {
this.params.loop || (this.pagination.render(), this.pagination.update());
},
destroy: function () {
this.pagination.destroy();
},
click: function (e) {
this.params.pagination.el &&
this.params.pagination.hideOnClick &&
this.pagination.$el.length > 0 &&
!s(e.target).hasClass(this.params.pagination.bulletClass) &&
(!0 === this.pagination.$el.hasClass(this.params.pagination.hiddenClass) ? this.emit("paginationShow", this) : this.emit("paginationHide", this),
this.pagination.$el.toggleClass(this.params.pagination.hiddenClass));
},
},
},
{
name: "scrollbar",
params: { scrollbar: { el: null, dragSize: "auto", hide: !1, draggable: !1, snapOnRelease: !0, lockClass: "swiper-scrollbar-lock", dragClass: "swiper-scrollbar-drag" } },
create: function () {
n.extend(this, {
scrollbar: {
init: re.init.bind(this),
destroy: re.destroy.bind(this),
updateSize: re.updateSize.bind(this),
setTranslate: re.setTranslate.bind(this),
setTransition: re.setTransition.bind(this),
enableDraggable: re.enableDraggable.bind(this),
disableDraggable: re.disableDraggable.bind(this),
setDragPosition: re.setDragPosition.bind(this),
getPointerPosition: re.getPointerPosition.bind(this),
onDragStart: re.onDragStart.bind(this),
onDragMove: re.onDragMove.bind(this),
onDragEnd: re.onDragEnd.bind(this),
isTouched: !1,
timeout: null,
dragTimeout: null,
},
});
},
on: {
init: function () {
this.scrollbar.init(), this.scrollbar.updateSize(), this.scrollbar.setTranslate();
},
update: function () {
this.scrollbar.updateSize();
},
resize: function () {
this.scrollbar.updateSize();
},
observerUpdate: function () {
this.scrollbar.updateSize();
},
setTranslate: function () {
this.scrollbar.setTranslate();
},
setTransition: function (e) {
this.scrollbar.setTransition(e);
},
destroy: function () {
this.scrollbar.destroy();
},
},
},
{
name: "parallax",
params: { parallax: { enabled: !1 } },
create: function () {
n.extend(this, { parallax: { setTransform: ne.setTransform.bind(this), setTranslate: ne.setTranslate.bind(this), setTransition: ne.setTransition.bind(this) } });
},
on: {
beforeInit: function () {
this.params.parallax.enabled && ((this.params.watchSlidesProgress = !0), (this.originalParams.watchSlidesProgress = !0));
},
init: function () {
this.params.parallax.enabled && this.parallax.setTranslate();
},
setTranslate: function () {
this.params.parallax.enabled && this.parallax.setTranslate();
},
setTransition: function (e) {
this.params.parallax.enabled && this.parallax.setTransition(e);
},
},
},
{
name: "zoom",
params: { zoom: { enabled: !1, maxRatio: 3, minRatio: 1, toggle: !0, containerClass: "swiper-zoom-container", zoomedSlideClass: "swiper-slide-zoomed" } },
create: function () {
var e = this,
t = {
enabled: !1,
scale: 1,
currentScale: 1,
isScaling: !1,
gesture: { $slideEl: void 0, slideWidth: void 0, slideHeight: void 0, $imageEl: void 0, $imageWrapEl: void 0, maxRatio: 3 },
image: {
isTouched: void 0,
isMoved: void 0,
currentX: void 0,
currentY: void 0,
minX: void 0,
minY: void 0,
maxX: void 0,
maxY: void 0,
width: void 0,
height: void 0,
startX: void 0,
startY: void 0,
touchesStart: {},
touchesCurrent: {},
},
velocity: { x: void 0, y: void 0, prevPositionX: void 0, prevPositionY: void 0, prevTime: void 0 },
};
"onGestureStart onGestureChange onGestureEnd onTouchStart onTouchMove onTouchEnd onTransitionEnd toggle enable disable in out".split(" ").forEach(function (i) {
t[i] = oe[i].bind(e);
}),
n.extend(e, { zoom: t });
var i = 1;
Object.defineProperty(e.zoom, "scale", {
get: function () {
return i;
},
set: function (t) {
if (i !== t) {
var s = e.zoom.gesture.$imageEl ? e.zoom.gesture.$imageEl[0] : void 0,
a = e.zoom.gesture.$slideEl ? e.zoom.gesture.$slideEl[0] : void 0;
e.emit("zoomChange", t, s, a);
}
i = t;
},
});
},
on: {
init: function () {
this.params.zoom.enabled && this.zoom.enable();
},
destroy: function () {
this.zoom.disable();
},
touchStart: function (e) {
this.zoom.enabled && this.zoom.onTouchStart(e);
},
touchEnd: function (e) {
this.zoom.enabled && this.zoom.onTouchEnd(e);
},
doubleTap: function (e) {
this.params.zoom.enabled && this.zoom.enabled && this.params.zoom.toggle && this.zoom.toggle(e);
},
transitionEnd: function () {
this.zoom.enabled && this.params.zoom.enabled && this.zoom.onTransitionEnd();
},
slideChange: function () {
this.zoom.enabled && this.params.zoom.enabled && this.params.cssMode && this.zoom.onTransitionEnd();
},
},
},
{
name: "lazy",
params: {
lazy: {
enabled: !1,
loadPrevNext: !1,
loadPrevNextAmount: 1,
loadOnTransitionStart: !1,
elementClass: "swiper-lazy",
loadingClass: "swiper-lazy-loading",
loadedClass: "swiper-lazy-loaded",
preloaderClass: "swiper-lazy-preloader",
},
},
create: function () {
n.extend(this, { lazy: { initialImageLoaded: !1, load: le.load.bind(this), loadInSlide: le.loadInSlide.bind(this) } });
},
on: {
beforeInit: function () {
this.params.lazy.enabled && this.params.preloadImages && (this.params.preloadImages = !1);
},
init: function () {
this.params.lazy.enabled && !this.params.loop && 0 === this.params.initialSlide && this.lazy.load();
},
scroll: function () {
this.params.freeMode && !this.params.freeModeSticky && this.lazy.load();
},
resize: function () {
this.params.lazy.enabled && this.lazy.load();
},
scrollbarDragMove: function () {
this.params.lazy.enabled && this.lazy.load();
},
transitionStart: function () {
this.params.lazy.enabled && (this.params.lazy.loadOnTransitionStart || (!this.params.lazy.loadOnTransitionStart && !this.lazy.initialImageLoaded)) && this.lazy.load();
},
transitionEnd: function () {
this.params.lazy.enabled && !this.params.lazy.loadOnTransitionStart && this.lazy.load();
},
slideChange: function () {
this.params.lazy.enabled && this.params.cssMode && this.lazy.load();
},
},
},
{
name: "controller",
params: { controller: { control: void 0, inverse: !1, by: "slide" } },
create: function () {
n.extend(this, {
controller: { control: this.params.controller.control, getInterpolateFunction: de.getInterpolateFunction.bind(this), setTranslate: de.setTranslate.bind(this), setTransition: de.setTransition.bind(this) },
});
},
on: {
update: function () {
this.controller.control && this.controller.spline && ((this.controller.spline = void 0), delete this.controller.spline);
},
resize: function () {
this.controller.control && this.controller.spline && ((this.controller.spline = void 0), delete this.controller.spline);
},
observerUpdate: function () {
this.controller.control && this.controller.spline && ((this.controller.spline = void 0), delete this.controller.spline);
},
setTranslate: function (e, t) {
this.controller.control && this.controller.setTranslate(e, t);
},
setTransition: function (e, t) {
this.controller.control && this.controller.setTransition(e, t);
},
},
},
{
name: "a11y",
params: {
a11y: {
enabled: !0,
notificationClass: "swiper-notification",
prevSlideMessage: "Previous slide",
nextSlideMessage: "Next slide",
firstSlideMessage: "This is the first slide",
lastSlideMessage: "This is the last slide",
paginationBulletMessage: "Go to slide {{index}}",
},
},
create: function () {
var e = this;
n.extend(e, { a11y: { liveRegion: s('') } }),
Object.keys(he).forEach(function (t) {
e.a11y[t] = he[t].bind(e);
});
},
on: {
init: function () {
this.params.a11y.enabled && (this.a11y.init(), this.a11y.updateNavigation());
},
toEdge: function () {
this.params.a11y.enabled && this.a11y.updateNavigation();
},
fromEdge: function () {
this.params.a11y.enabled && this.a11y.updateNavigation();
},
paginationUpdate: function () {
this.params.a11y.enabled && this.a11y.updatePagination();
},
destroy: function () {
this.params.a11y.enabled && this.a11y.destroy();
},
},
},
{
name: "history",
params: { history: { enabled: !1, replaceState: !1, key: "slides" } },
create: function () {
n.extend(this, {
history: { init: pe.init.bind(this), setHistory: pe.setHistory.bind(this), setHistoryPopState: pe.setHistoryPopState.bind(this), scrollToSlide: pe.scrollToSlide.bind(this), destroy: pe.destroy.bind(this) },
});
},
on: {
init: function () {
this.params.history.enabled && this.history.init();
},
destroy: function () {
this.params.history.enabled && this.history.destroy();
},
transitionEnd: function () {
this.history.initialized && this.history.setHistory(this.params.history.key, this.activeIndex);
},
slideChange: function () {
this.history.initialized && this.params.cssMode && this.history.setHistory(this.params.history.key, this.activeIndex);
},
},
},
{
name: "hash-navigation",
params: { hashNavigation: { enabled: !1, replaceState: !1, watchState: !1 } },
create: function () {
n.extend(this, { hashNavigation: { initialized: !1, init: ce.init.bind(this), destroy: ce.destroy.bind(this), setHash: ce.setHash.bind(this), onHashCange: ce.onHashCange.bind(this) } });
},
on: {
init: function () {
this.params.hashNavigation.enabled && this.hashNavigation.init();
},
destroy: function () {
this.params.hashNavigation.enabled && this.hashNavigation.destroy();
},
transitionEnd: function () {
this.hashNavigation.initialized && this.hashNavigation.setHash();
},
slideChange: function () {
this.hashNavigation.initialized && this.params.cssMode && this.hashNavigation.setHash();
},
},
},
{
name: "autoplay",
params: { autoplay: { enabled: !1, delay: 3e3, waitForTransition: !0, disableOnInteraction: !0, stopOnLastSlide: !1, reverseDirection: !1 } },
create: function () {
var e = this;
n.extend(e, {
autoplay: {
running: !1,
paused: !1,
run: ue.run.bind(e),
start: ue.start.bind(e),
stop: ue.stop.bind(e),
pause: ue.pause.bind(e),
onVisibilityChange: function () {
"hidden" === document.visibilityState && e.autoplay.running && e.autoplay.pause(), "visible" === document.visibilityState && e.autoplay.paused && (e.autoplay.run(), (e.autoplay.paused = !1));
},
onTransitionEnd: function (t) {
e &&
!e.destroyed &&
e.$wrapperEl &&
t.target === this &&
(e.$wrapperEl[0].removeEventListener("transitionend", e.autoplay.onTransitionEnd),
e.$wrapperEl[0].removeEventListener("webkitTransitionEnd", e.autoplay.onTransitionEnd),
(e.autoplay.paused = !1),
e.autoplay.running ? e.autoplay.run() : e.autoplay.stop());
},
},
});
},
on: {
init: function () {
this.params.autoplay.enabled && (this.autoplay.start(), document.addEventListener("visibilitychange", this.autoplay.onVisibilityChange));
},
beforeTransitionStart: function (e, t) {
this.autoplay.running && (t || !this.params.autoplay.disableOnInteraction ? this.autoplay.pause(e) : this.autoplay.stop());
},
sliderFirstMove: function () {
this.autoplay.running && (this.params.autoplay.disableOnInteraction ? this.autoplay.stop() : this.autoplay.pause());
},
touchEnd: function () {
this.params.cssMode && this.autoplay.paused && !this.params.autoplay.disableOnInteraction && this.autoplay.run();
},
destroy: function () {
this.autoplay.running && this.autoplay.stop(), document.removeEventListener("visibilitychange", this.autoplay.onVisibilityChange);
},
},
},
{
name: "effect-fade",
params: { fadeEffect: { crossFade: !1 } },
create: function () {
n.extend(this, { fadeEffect: { setTranslate: ve.setTranslate.bind(this), setTransition: ve.setTransition.bind(this) } });
},
on: {
beforeInit: function () {
if ("fade" === this.params.effect) {
this.classNames.push(this.params.containerModifierClass + "fade");
var e = { slidesPerView: 1, slidesPerColumn: 1, slidesPerGroup: 1, watchSlidesProgress: !0, spaceBetween: 0, virtualTranslate: !0 };
n.extend(this.params, e), n.extend(this.originalParams, e);
}
},
setTranslate: function () {
"fade" === this.params.effect && this.fadeEffect.setTranslate();
},
setTransition: function (e) {
"fade" === this.params.effect && this.fadeEffect.setTransition(e);
},
},
},
{
name: "effect-cube",
params: { cubeEffect: { slideShadows: !0, shadow: !0, shadowOffset: 20, shadowScale: 0.94 } },
create: function () {
n.extend(this, { cubeEffect: { setTranslate: fe.setTranslate.bind(this), setTransition: fe.setTransition.bind(this) } });
},
on: {
beforeInit: function () {
if ("cube" === this.params.effect) {
this.classNames.push(this.params.containerModifierClass + "cube"), this.classNames.push(this.params.containerModifierClass + "3d");
var e = { slidesPerView: 1, slidesPerColumn: 1, slidesPerGroup: 1, watchSlidesProgress: !0, resistanceRatio: 0, spaceBetween: 0, centeredSlides: !1, virtualTranslate: !0 };
n.extend(this.params, e), n.extend(this.originalParams, e);
}
},
setTranslate: function () {
"cube" === this.params.effect && this.cubeEffect.setTranslate();
},
setTransition: function (e) {
"cube" === this.params.effect && this.cubeEffect.setTransition(e);
},
},
},
{
name: "effect-flip",
params: { flipEffect: { slideShadows: !0, limitRotation: !0 } },
create: function () {
n.extend(this, { flipEffect: { setTranslate: me.setTranslate.bind(this), setTransition: me.setTransition.bind(this) } });
},
on: {
beforeInit: function () {
if ("flip" === this.params.effect) {
this.classNames.push(this.params.containerModifierClass + "flip"), this.classNames.push(this.params.containerModifierClass + "3d");
var e = { slidesPerView: 1, slidesPerColumn: 1, slidesPerGroup: 1, watchSlidesProgress: !0, spaceBetween: 0, virtualTranslate: !0 };
n.extend(this.params, e), n.extend(this.originalParams, e);
}
},
setTranslate: function () {
"flip" === this.params.effect && this.flipEffect.setTranslate();
},
setTransition: function (e) {
"flip" === this.params.effect && this.flipEffect.setTransition(e);
},
},
},
{
name: "effect-coverflow",
params: { coverflowEffect: { rotate: 50, stretch: 0, depth: 100, modifier: 1, slideShadows: !0 } },
create: function () {
n.extend(this, { coverflowEffect: { setTranslate: ge.setTranslate.bind(this), setTransition: ge.setTransition.bind(this) } });
},
on: {
beforeInit: function () {
"coverflow" === this.params.effect &&
(this.classNames.push(this.params.containerModifierClass + "coverflow"),
this.classNames.push(this.params.containerModifierClass + "3d"),
(this.params.watchSlidesProgress = !0),
(this.originalParams.watchSlidesProgress = !0));
},
setTranslate: function () {
"coverflow" === this.params.effect && this.coverflowEffect.setTranslate();
},
setTransition: function (e) {
"coverflow" === this.params.effect && this.coverflowEffect.setTransition(e);
},
},
},
{
name: "thumbs",
params: { thumbs: { multipleActiveThumbs: !0, swiper: null, slideThumbActiveClass: "swiper-slide-thumb-active", thumbsContainerClass: "swiper-container-thumbs" } },
create: function () {
n.extend(this, { thumbs: { swiper: null, init: be.init.bind(this), update: be.update.bind(this), onThumbClick: be.onThumbClick.bind(this) } });
},
on: {
beforeInit: function () {
var e = this.params.thumbs;
e && e.swiper && (this.thumbs.init(), this.thumbs.update(!0));
},
slideChange: function () {
this.thumbs.swiper && this.thumbs.update();
},
update: function () {
this.thumbs.swiper && this.thumbs.update();
},
resize: function () {
this.thumbs.swiper && this.thumbs.update();
},
observerUpdate: function () {
this.thumbs.swiper && this.thumbs.update();
},
setTransition: function (e) {
var t = this.thumbs.swiper;
t && t.setTransition(e);
},
beforeDestroy: function () {
var e = this.thumbs.swiper;
e && this.thumbs.swiperCreated && e && e.destroy();
},
},
},
];
return void 0 === W.use && ((W.use = W.Class.use), (W.installModule = W.Class.installModule)), W.use(we), W;
});
//# sourceMappingURL=swiper.min.js.map
;
/********************************************
- THEMEPUNCH TOOLS Ver. 1.0 -
Last Update of Tools 08.03.2018
*********************************************/
/*
* @fileOverview TouchSwipe - jQuery Plugin
* @version 1.6.9
*
* @author Matt Bryson http://www.github.com/mattbryson
* @see https://github.com/mattbryson/TouchSwipe-Jquery-Plugin
* @see http://labs.skinkers.com/touchSwipe/
* @see http://plugins.jquery.com/project/touchSwipe
*
* Copyright (c) 2010 Matt Bryson
* Dual licensed under the MIT or GPL Version 2 licenses.
*
*/
(function(a){if(typeof define==="function"&&define.amd&&define.amd.jQuery){define(["jquery"],a)}else{a(jQuery)}}(function(f){var y="1.6.9",p="left",o="right",e="up",x="down",c="in",A="out",m="none",s="auto",l="swipe",t="pinch",B="tap",j="doubletap",b="longtap",z="hold",E="horizontal",u="vertical",i="all",r=10,g="start",k="move",h="end",q="cancel",a="ontouchstart" in window,v=window.navigator.msPointerEnabled&&!window.navigator.pointerEnabled,d=window.navigator.pointerEnabled||window.navigator.msPointerEnabled,C="TouchSwipe";var n={fingers:1,threshold:75,cancelThreshold:null,pinchThreshold:20,maxTimeThreshold:null,fingerReleaseThreshold:250,longTapThreshold:500,doubleTapThreshold:200,swipe:null,swipeLeft:null,swipeRight:null,swipeUp:null,swipeDown:null,swipeStatus:null,pinchIn:null,pinchOut:null,pinchStatus:null,click:null,tap:null,doubleTap:null,longTap:null,hold:null,triggerOnTouchEnd:true,triggerOnTouchLeave:false,allowPageScroll:"auto",fallbackToMouseEvents:true,excludedElements:"label, button, input, select, textarea, a, .noSwipe",preventDefaultEvents:true};f.fn.swipetp=function(H){var G=f(this),F=G.data(C);if(F&&typeof H==="string"){if(F[H]){return F[H].apply(this,Array.prototype.slice.call(arguments,1))}else{f.error("Method "+H+" does not exist on jQuery.swipetp")}}else{if(!F&&(typeof H==="object"||!H)){return w.apply(this,arguments)}}return G};f.fn.swipetp.version=y;f.fn.swipetp.defaults=n;f.fn.swipetp.phases={PHASE_START:g,PHASE_MOVE:k,PHASE_END:h,PHASE_CANCEL:q};f.fn.swipetp.directions={LEFT:p,RIGHT:o,UP:e,DOWN:x,IN:c,OUT:A};f.fn.swipetp.pageScroll={NONE:m,HORIZONTAL:E,VERTICAL:u,AUTO:s};f.fn.swipetp.fingers={ONE:1,TWO:2,THREE:3,ALL:i};function w(F){if(F&&(F.allowPageScroll===undefined&&(F.swipe!==undefined||F.swipeStatus!==undefined))){F.allowPageScroll=m}if(F.click!==undefined&&F.tap===undefined){F.tap=F.click}if(!F){F={}}F=f.extend({},f.fn.swipetp.defaults,F);return this.each(function(){var H=f(this);var G=H.data(C);if(!G){G=new D(this,F);H.data(C,G)}})}function D(a5,aw){var aA=(a||d||!aw.fallbackToMouseEvents),K=aA?(d?(v?"MSPointerDown":"pointerdown"):"touchstart"):"mousedown",az=aA?(d?(v?"MSPointerMove":"pointermove"):"touchmove"):"mousemove",V=aA?(d?(v?"MSPointerUp":"pointerup"):"touchend"):"mouseup",T=aA?null:"mouseleave",aE=(d?(v?"MSPointerCancel":"pointercancel"):"touchcancel");var ah=0,aQ=null,ac=0,a2=0,a0=0,H=1,ar=0,aK=0,N=null;var aS=f(a5);var aa="start";var X=0;var aR=null;var U=0,a3=0,a6=0,ae=0,O=0;var aX=null,ag=null;try{aS.bind(K,aO);aS.bind(aE,ba)}catch(al){f.error("events not supported "+K+","+aE+" on jQuery.swipetp")}this.enable=function(){aS.bind(K,aO);aS.bind(aE,ba);return aS};this.disable=function(){aL();return aS};this.destroy=function(){aL();aS.data(C,null);aS=null};this.option=function(bd,bc){if(aw[bd]!==undefined){if(bc===undefined){return aw[bd]}else{aw[bd]=bc}}else{f.error("Option "+bd+" does not exist on jQuery.swipetp.options")}return null};function aO(be){if(aC()){return}if(f(be.target).closest(aw.excludedElements,aS).length>0){return}var bf=be.originalEvent?be.originalEvent:be;var bd,bg=bf.touches,bc=bg?bg[0]:bf;aa=g;if(bg){X=bg.length}else{be.preventDefault()}ah=0;aQ=null;aK=null;ac=0;a2=0;a0=0;H=1;ar=0;aR=ak();N=ab();S();if(!bg||(X===aw.fingers||aw.fingers===i)||aY()){aj(0,bc);U=au();if(X==2){aj(1,bg[1]);a2=a0=av(aR[0].start,aR[1].start)}if(aw.swipeStatus||aw.pinchStatus){bd=P(bf,aa)}}else{bd=false}if(bd===false){aa=q;P(bf,aa);return bd}else{if(aw.hold){ag=setTimeout(f.proxy(function(){aS.trigger("hold",[bf.target]);if(aw.hold){bd=aw.hold.call(aS,bf,bf.target)}},this),aw.longTapThreshold)}ap(true)}return null}function a4(bf){var bi=bf.originalEvent?bf.originalEvent:bf;if(aa===h||aa===q||an()){return}var be,bj=bi.touches,bd=bj?bj[0]:bi;var bg=aI(bd);a3=au();if(bj){X=bj.length}if(aw.hold){clearTimeout(ag)}aa=k;if(X==2){if(a2==0){aj(1,bj[1]);a2=a0=av(aR[0].start,aR[1].start)}else{aI(bj[1]);a0=av(aR[0].end,aR[1].end);aK=at(aR[0].end,aR[1].end)}H=a8(a2,a0);ar=Math.abs(a2-a0)}if((X===aw.fingers||aw.fingers===i)||!bj||aY()){aQ=aM(bg.start,bg.end);am(bf,aQ);ah=aT(bg.start,bg.end);ac=aN();aJ(aQ,ah);if(aw.swipeStatus||aw.pinchStatus){be=P(bi,aa)}if(!aw.triggerOnTouchEnd||aw.triggerOnTouchLeave){var bc=true;if(aw.triggerOnTouchLeave){var bh=aZ(this);bc=F(bg.end,bh)}if(!aw.triggerOnTouchEnd&&bc){aa=aD(k)}else{if(aw.triggerOnTouchLeave&&!bc){aa=aD(h)}}if(aa==q||aa==h){P(bi,aa)}}}else{aa=q;P(bi,aa)}if(be===false){aa=q;P(bi,aa)}}function M(bc){var bd=bc.originalEvent?bc.originalEvent:bc,be=bd.touches;if(be){if(be.length){G();return true}}if(an()){X=ae}a3=au();ac=aN();if(bb()||!ao()){aa=q;P(bd,aa)}else{if(aw.triggerOnTouchEnd||(aw.triggerOnTouchEnd==false&&aa===k)){bc.preventDefault();aa=h;P(bd,aa)}else{if(!aw.triggerOnTouchEnd&&a7()){aa=h;aG(bd,aa,B)}else{if(aa===k){aa=q;P(bd,aa)}}}}ap(false);return null}function ba(){X=0;a3=0;U=0;a2=0;a0=0;H=1;S();ap(false)}function L(bc){var bd=bc.originalEvent?bc.originalEvent:bc;if(aw.triggerOnTouchLeave){aa=aD(h);P(bd,aa)}}function aL(){aS.unbind(K,aO);aS.unbind(aE,ba);aS.unbind(az,a4);aS.unbind(V,M);if(T){aS.unbind(T,L)}ap(false)}function aD(bg){var bf=bg;var be=aB();var bd=ao();var bc=bb();if(!be||bc){bf=q}else{if(bd&&bg==k&&(!aw.triggerOnTouchEnd||aw.triggerOnTouchLeave)){bf=h}else{if(!bd&&bg==h&&aw.triggerOnTouchLeave){bf=q}}}return bf}function P(be,bc){var bd,bf=be.touches;if((J()||W())||(Q()||aY())){if(J()||W()){bd=aG(be,bc,l)}if((Q()||aY())&&bd!==false){bd=aG(be,bc,t)}}else{if(aH()&&bd!==false){bd=aG(be,bc,j)}else{if(aq()&&bd!==false){bd=aG(be,bc,b)}else{if(ai()&&bd!==false){bd=aG(be,bc,B)}}}}if(bc===q){ba(be)}if(bc===h){if(bf){if(!bf.length){ba(be)}}else{ba(be)}}return bd}function aG(bf,bc,be){var bd;if(be==l){aS.trigger("swipeStatus",[bc,aQ||null,ah||0,ac||0,X,aR]);if(aw.swipeStatus){bd=aw.swipeStatus.call(aS,bf,bc,aQ||null,ah||0,ac||0,X,aR);if(bd===false){return false}}if(bc==h&&aW()){aS.trigger("swipe",[aQ,ah,ac,X,aR]);if(aw.swipe){bd=aw.swipe.call(aS,bf,aQ,ah,ac,X,aR);if(bd===false){return false}}switch(aQ){case p:aS.trigger("swipeLeft",[aQ,ah,ac,X,aR]);if(aw.swipeLeft){bd=aw.swipeLeft.call(aS,bf,aQ,ah,ac,X,aR)}break;case o:aS.trigger("swipeRight",[aQ,ah,ac,X,aR]);if(aw.swipeRight){bd=aw.swipeRight.call(aS,bf,aQ,ah,ac,X,aR)}break;case e:aS.trigger("swipeUp",[aQ,ah,ac,X,aR]);if(aw.swipeUp){bd=aw.swipeUp.call(aS,bf,aQ,ah,ac,X,aR)}break;case x:aS.trigger("swipeDown",[aQ,ah,ac,X,aR]);if(aw.swipeDown){bd=aw.swipeDown.call(aS,bf,aQ,ah,ac,X,aR)}break}}}if(be==t){aS.trigger("pinchStatus",[bc,aK||null,ar||0,ac||0,X,H,aR]);if(aw.pinchStatus){bd=aw.pinchStatus.call(aS,bf,bc,aK||null,ar||0,ac||0,X,H,aR);if(bd===false){return false}}if(bc==h&&a9()){switch(aK){case c:aS.trigger("pinchIn",[aK||null,ar||0,ac||0,X,H,aR]);if(aw.pinchIn){bd=aw.pinchIn.call(aS,bf,aK||null,ar||0,ac||0,X,H,aR)}break;case A:aS.trigger("pinchOut",[aK||null,ar||0,ac||0,X,H,aR]);if(aw.pinchOut){bd=aw.pinchOut.call(aS,bf,aK||null,ar||0,ac||0,X,H,aR)}break}}}if(be==B){if(bc===q||bc===h){clearTimeout(aX);clearTimeout(ag);if(Z()&&!I()){O=au();aX=setTimeout(f.proxy(function(){O=null;aS.trigger("tap",[bf.target]);if(aw.tap){bd=aw.tap.call(aS,bf,bf.target)}},this),aw.doubleTapThreshold)}else{O=null;aS.trigger("tap",[bf.target]);if(aw.tap){bd=aw.tap.call(aS,bf,bf.target)}}}}else{if(be==j){if(bc===q||bc===h){clearTimeout(aX);O=null;aS.trigger("doubletap",[bf.target]);if(aw.doubleTap){bd=aw.doubleTap.call(aS,bf,bf.target)}}}else{if(be==b){if(bc===q||bc===h){clearTimeout(aX);O=null;aS.trigger("longtap",[bf.target]);if(aw.longTap){bd=aw.longTap.call(aS,bf,bf.target)}}}}}return bd}function ao(){var bc=true;if(aw.threshold!==null){bc=ah>=aw.threshold}return bc}function bb(){var bc=false;if(aw.cancelThreshold!==null&&aQ!==null){bc=(aU(aQ)-ah)>=aw.cancelThreshold}return bc}function af(){if(aw.pinchThreshold!==null){return ar>=aw.pinchThreshold}return true}function aB(){var bc;if(aw.maxTimeThreshold){if(ac>=aw.maxTimeThreshold){bc=false}else{bc=true}}else{bc=true}return bc}function am(bc,bd){if(aw.preventDefaultEvents===false){return}if(aw.allowPageScroll===m){bc.preventDefault()}else{var be=aw.allowPageScroll===s;switch(bd){case p:if((aw.swipeLeft&&be)||(!be&&aw.allowPageScroll!=E)){bc.preventDefault()}break;case o:if((aw.swipeRight&&be)||(!be&&aw.allowPageScroll!=E)){bc.preventDefault()}break;case e:if((aw.swipeUp&&be)||(!be&&aw.allowPageScroll!=u)){bc.preventDefault()}break;case x:if((aw.swipeDown&&be)||(!be&&aw.allowPageScroll!=u)){bc.preventDefault()}break}}}function a9(){var bd=aP();var bc=Y();var be=af();return bd&&bc&&be}function aY(){return !!(aw.pinchStatus||aw.pinchIn||aw.pinchOut)}function Q(){return !!(a9()&&aY())}function aW(){var bf=aB();var bh=ao();var be=aP();var bc=Y();var bd=bb();var bg=!bd&&bc&&be&&bh&&bf;return bg}function W(){return !!(aw.swipe||aw.swipeStatus||aw.swipeLeft||aw.swipeRight||aw.swipeUp||aw.swipeDown)}function J(){return !!(aW()&&W())}function aP(){return((X===aw.fingers||aw.fingers===i)||!a)}function Y(){return aR[0].end.x!==0}function a7(){return !!(aw.tap)}function Z(){return !!(aw.doubleTap)}function aV(){return !!(aw.longTap)}function R(){if(O==null){return false}var bc=au();return(Z()&&((bc-O)<=aw.doubleTapThreshold))}function I(){return R()}function ay(){return((X===1||!a)&&(isNaN(ah)||ahaw.longTapThreshold)&&(ah=0)){return p}else{if((be<=360)&&(be>=315)){return p}else{if((be>=135)&&(be<=225)){return o}else{if((be>45)&&(be<135)){return x}else{return e}}}}}function au(){var bc=new Date();return bc.getTime()}function aZ(bc){bc=f(bc);var be=bc.offset();var bd={left:be.left,right:be.left+bc.outerWidth(),top:be.top,bottom:be.top+bc.outerHeight()};return bd}function F(bc,bd){return(bc.x>bd.left&&bc.xbd.top&&bc.y-1;)(l=q[f[s]]||new r(f[s],[])).gsClass?(i[s]=l.gsClass,t--):j&&l.sc.push(this);if(0===t&&g){if(m=("com.greensock."+d).split("."),n=m.pop(),o=k(m.join("."))[n]=this.gsClass=g.apply(g,i),h)if(e[n]=c[n]=o,p="undefined"!=typeof module&&module.exports,!p&&"function"==typeof define&&define.amd)define((a.GreenSockAMDPath?a.GreenSockAMDPath+"/":"")+d.split(".").pop(),[],function(){return o});else if(p)if(d===b){module.exports=c[b]=o;for(s in c)o[s]=c[s]}else c[b]&&(c[b][n]=o);for(s=0;s-1;)for(f=i[j],e=d?t("easing."+f,null,!0):l.easing[f]||{},g=k.length;--g>-1;)h=k[g],w[f+"."+h]=w[h+f]=e[h]=a.getRatio?a:a[h]||new a};for(h=v.prototype,h._calcEnd=!1,h.getRatio=function(a){if(this._func)return this._params[0]=a,this._func.apply(null,this._params);var b=this._type,c=this._power,d=1===b?1-a:2===b?a:.5>a?2*a:2*(1-a);return 1===c?d*=d:2===c?d*=d*d:3===c?d*=d*d*d:4===c&&(d*=d*d*d*d),1===b?1-d:2===b?d:.5>a?d/2:1-d/2},f=["Linear","Quad","Cubic","Quart","Quint,Strong"],g=f.length;--g>-1;)h=f[g]+",Power"+g,x(new v(null,null,1,g),h,"easeOut",!0),x(new v(null,null,2,g),h,"easeIn"+(0===g?",easeNone":"")),x(new v(null,null,3,g),h,"easeInOut");w.linear=l.easing.Linear.easeIn,w.swing=l.easing.Quad.easeInOut;var y=t("events.EventDispatcher",function(a){this._listeners={},this._eventTarget=a||this});h=y.prototype,h.addEventListener=function(a,b,c,d,e){e=e||0;var f,g,h=this._listeners[a],k=0;for(this!==i||j||i.wake(),null==h&&(this._listeners[a]=h=[]),g=h.length;--g>-1;)f=h[g],f.c===b&&f.s===c?h.splice(g,1):0===k&&f.pr-1;)if(d[c].c===b)return void d.splice(c,1)},h.dispatchEvent=function(a){var b,c,d,e=this._listeners[a];if(e)for(b=e.length,b>1&&(e=e.slice(0)),c=this._eventTarget;--b>-1;)d=e[b],d&&(d.up?d.c.call(d.s||c,{type:a,target:c}):d.c.call(d.s||c))};var z=a.requestAnimationFrame,A=a.cancelAnimationFrame,B=Date.now||function(){return(new Date).getTime()},C=B();for(f=["ms","moz","webkit","o"],g=f.length;--g>-1&&!z;)z=a[f[g]+"RequestAnimationFrame"],A=a[f[g]+"CancelAnimationFrame"]||a[f[g]+"CancelRequestAnimationFrame"];t("Ticker",function(a,b){var c,e,f,g,h,k=this,l=B(),n=b!==!1&&z?"auto":!1,p=500,q=33,r="tick",s=function(a){var b,d,i=B()-C;i>p&&(l+=i-q),C+=i,k.time=(C-l)/1e3,b=k.time-h,(!c||b>0||a===!0)&&(k.frame++,h+=b+(b>=g?.004:g-b),d=!0),a!==!0&&(f=e(s)),d&&k.dispatchEvent(r)};y.call(k),k.time=k.frame=0,k.tick=function(){s(!0)},k.lagSmoothing=function(a,b){p=a||1/m,q=Math.min(b,p,0)},k.sleep=function(){null!=f&&(n&&A?A(f):clearTimeout(f),e=o,f=null,k===i&&(j=!1))},k.wake=function(a){null!==f?k.sleep():a?l+=-C+(C=B()):k.frame>10&&(C=B()-p+5),e=0===c?o:n&&z?z:function(a){return setTimeout(a,1e3*(h-k.time)+1|0)},k===i&&(j=!0),s(2)},k.fps=function(a){return arguments.length?(c=a,g=1/(c||60),h=this.time+g,void k.wake()):c},k.useRAF=function(a){return arguments.length?(k.sleep(),n=a,void k.fps(c)):n},k.fps(a),setTimeout(function(){"auto"===n&&k.frame<5&&"hidden"!==d.visibilityState&&k.useRAF(!1)},1500)}),h=l.Ticker.prototype=new l.events.EventDispatcher,h.constructor=l.Ticker;var D=t("core.Animation",function(a,b){if(this.vars=b=b||{},this._duration=this._totalDuration=a||0,this._delay=Number(b.delay)||0,this._timeScale=1,this._active=b.immediateRender===!0,this.data=b.data,this._reversed=b.reversed===!0,W){j||i.wake();var c=this.vars.useFrames?V:W;c.add(this,c._time),this.vars.paused&&this.paused(!0)}});i=D.ticker=new l.Ticker,h=D.prototype,h._dirty=h._gc=h._initted=h._paused=!1,h._totalTime=h._time=0,h._rawPrevTime=-1,h._next=h._last=h._onUpdate=h._timeline=h.timeline=null,h._paused=!1;var E=function(){j&&B()-C>2e3&&i.wake(),setTimeout(E,2e3)};E(),h.play=function(a,b){return null!=a&&this.seek(a,b),this.reversed(!1).paused(!1)},h.pause=function(a,b){return null!=a&&this.seek(a,b),this.paused(!0)},h.resume=function(a,b){return null!=a&&this.seek(a,b),this.paused(!1)},h.seek=function(a,b){return this.totalTime(Number(a),b!==!1)},h.restart=function(a,b){return this.reversed(!1).paused(!1).totalTime(a?-this._delay:0,b!==!1,!0)},h.reverse=function(a,b){return null!=a&&this.seek(a||this.totalDuration(),b),this.reversed(!0).paused(!1)},h.render=function(a,b,c){},h.invalidate=function(){return this._time=this._totalTime=0,this._initted=this._gc=!1,this._rawPrevTime=-1,(this._gc||!this.timeline)&&this._enabled(!0),this},h.isActive=function(){var a,b=this._timeline,c=this._startTime;return!b||!this._gc&&!this._paused&&b.isActive()&&(a=b.rawTime(!0))>=c&&a-1;)"{self}"===a[b]&&(c[b]=this);return c},h._callback=function(a){var b=this.vars,c=b[a],d=b[a+"Params"],e=b[a+"Scope"]||b.callbackScope||this,f=d?d.length:0;switch(f){case 0:c.call(e);break;case 1:c.call(e,d[0]);break;case 2:c.call(e,d[0],d[1]);break;default:c.apply(e,d)}},h.eventCallback=function(a,b,c,d){if("on"===(a||"").substr(0,2)){var e=this.vars;if(1===arguments.length)return e[a];null==b?delete e[a]:(e[a]=b,e[a+"Params"]=p(c)&&-1!==c.join("").indexOf("{self}")?this._swapSelfInParams(c):c,e[a+"Scope"]=d),"onUpdate"===a&&(this._onUpdate=b)}return this},h.delay=function(a){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+a-this._delay),this._delay=a,this):this._delay},h.duration=function(a){return arguments.length?(this._duration=this._totalDuration=a,this._uncache(!0),this._timeline.smoothChildTiming&&this._time>0&&this._timethis._duration?this._duration:a,b)):this._time},h.totalTime=function(a,b,c){if(j||i.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(0>a&&!c&&(a+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var d=this._totalDuration,e=this._timeline;if(a>d&&!c&&(a=d),this._startTime=(this._paused?this._pauseTime:e._time)-(this._reversed?d-a:a)/this._timeScale,e._dirty||this._uncache(!1),e._timeline)for(;e._timeline;)e._timeline._time!==(e._startTime+e._totalTime)/e._timeScale&&e.totalTime(e._totalTime,!0),e=e._timeline}this._gc&&this._enabled(!0,!1),(this._totalTime!==a||0===this._duration)&&(J.length&&Y(),this.render(a,b,!1),J.length&&Y())}return this},h.progress=h.totalProgress=function(a,b){var c=this.duration();return arguments.length?this.totalTime(c*a,b):c?this._time/c:this.ratio},h.startTime=function(a){return arguments.length?(a!==this._startTime&&(this._startTime=a,this.timeline&&this.timeline._sortChildren&&this.timeline.add(this,a-this._delay)),this):this._startTime},h.endTime=function(a){return this._startTime+(0!=a?this.totalDuration():this.duration())/this._timeScale},h.timeScale=function(a){if(!arguments.length)return this._timeScale;if(a=a||m,this._timeline&&this._timeline.smoothChildTiming){var b=this._pauseTime,c=b||0===b?b:this._timeline.totalTime();this._startTime=c-(c-this._startTime)*this._timeScale/a}return this._timeScale=a,this._uncache(!1)},h.reversed=function(a){return arguments.length?(a!=this._reversed&&(this._reversed=a,this.totalTime(this._timeline&&!this._timeline.smoothChildTiming?this.totalDuration()-this._totalTime:this._totalTime,!0)),this):this._reversed},h.paused=function(a){if(!arguments.length)return this._paused;var b,c,d=this._timeline;return a!=this._paused&&d&&(j||a||i.wake(),b=d.rawTime(),c=b-this._pauseTime,!a&&d.smoothChildTiming&&(this._startTime+=c,this._uncache(!1)),this._pauseTime=a?b:null,this._paused=a,this._active=this.isActive(),!a&&0!==c&&this._initted&&this.duration()&&(b=d.smoothChildTiming?this._totalTime:(b-this._startTime)/this._timeScale,this.render(b,b===this._totalTime,!0))),this._gc&&!a&&this._enabled(!0,!1),this};var F=t("core.SimpleTimeline",function(a){D.call(this,0,a),this.autoRemoveChildren=this.smoothChildTiming=!0});h=F.prototype=new D,h.constructor=F,h.kill()._gc=!1,h._first=h._last=h._recent=null,h._sortChildren=!1,h.add=h.insert=function(a,b,c,d){var e,f;if(a._startTime=Number(b||0)+a._delay,a._paused&&this!==a._timeline&&(a._pauseTime=a._startTime+(this.rawTime()-a._startTime)/a._timeScale),a.timeline&&a.timeline._remove(a,!0),a.timeline=a._timeline=this,a._gc&&a._enabled(!0,!0),e=this._last,this._sortChildren)for(f=a._startTime;e&&e._startTime>f;)e=e._prev;return e?(a._next=e._next,e._next=a):(a._next=this._first,this._first=a),a._next?a._next._prev=a:this._last=a,a._prev=e,this._recent=a,this._timeline&&this._uncache(!0),this},h._remove=function(a,b){return a.timeline===this&&(b||a._enabled(!1,!0),a._prev?a._prev._next=a._next:this._first===a&&(this._first=a._next),a._next?a._next._prev=a._prev:this._last===a&&(this._last=a._prev),a._next=a._prev=a.timeline=null,a===this._recent&&(this._recent=this._last),this._timeline&&this._uncache(!0)),this},h.render=function(a,b,c){var d,e=this._first;for(this._totalTime=this._time=this._rawPrevTime=a;e;)d=e._next,(e._active||a>=e._startTime&&!e._paused)&&(e._reversed?e.render((e._dirty?e.totalDuration():e._totalDuration)-(a-e._startTime)*e._timeScale,b,c):e.render((a-e._startTime)*e._timeScale,b,c)),e=d},h.rawTime=function(){return j||i.wake(),this._totalTime};var G=t("TweenLite",function(b,c,d){if(D.call(this,c,d),this.render=G.prototype.render,null==b)throw"Cannot tween a null target.";this.target=b="string"!=typeof b?b:G.selector(b)||b;var e,f,g,h=b.jquery||b.length&&b!==a&&b[0]&&(b[0]===a||b[0].nodeType&&b[0].style&&!b.nodeType),i=this.vars.overwrite;if(this._overwrite=i=null==i?U[G.defaultOverwrite]:"number"==typeof i?i>>0:U[i],(h||b instanceof Array||b.push&&p(b))&&"number"!=typeof b[0])for(this._targets=g=n(b),this._propLookup=[],this._siblings=[],e=0;e1&&_(f,this,null,1,this._siblings[e])):(f=g[e--]=G.selector(f),"string"==typeof f&&g.splice(e+1,1)):g.splice(e--,1);else this._propLookup={},this._siblings=Z(b,this,!1),1===i&&this._siblings.length>1&&_(b,this,null,1,this._siblings);(this.vars.immediateRender||0===c&&0===this._delay&&this.vars.immediateRender!==!1)&&(this._time=-m,this.render(Math.min(0,-this._delay)))},!0),H=function(b){return b&&b.length&&b!==a&&b[0]&&(b[0]===a||b[0].nodeType&&b[0].style&&!b.nodeType)},I=function(a,b){var c,d={};for(c in a)T[c]||c in b&&"transform"!==c&&"x"!==c&&"y"!==c&&"width"!==c&&"height"!==c&&"className"!==c&&"border"!==c||!(!Q[c]||Q[c]&&Q[c]._autoCSS)||(d[c]=a[c],delete a[c]);a.css=d};h=G.prototype=new D,h.constructor=G,h.kill()._gc=!1,h.ratio=0,h._firstPT=h._targets=h._overwrittenProps=h._startAt=null,h._notifyPluginsOfEnabled=h._lazy=!1,G.version="1.19.1",G.defaultEase=h._ease=new v(null,null,1,1),G.defaultOverwrite="auto",G.ticker=i,G.autoSleep=120,G.lagSmoothing=function(a,b){i.lagSmoothing(a,b)},G.selector=a.$||a.jQuery||function(b){var c=a.$||a.jQuery;return c?(G.selector=c,c(b)):"undefined"==typeof d?b:d.querySelectorAll?d.querySelectorAll(b):d.getElementById("#"===b.charAt(0)?b.substr(1):b)};var J=[],K={},L=/(?:(-|-=|\+=)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,M=function(a){for(var b,c=this._firstPT,d=1e-6;c;)b=c.blob?1===a?this.end:a?this.join(""):this.start:c.c*a+c.s,c.m?b=c.m(b,this._target||c.t):d>b&&b>-d&&!c.blob&&(b=0),c.f?c.fp?c.t[c.p](c.fp,b):c.t[c.p](b):c.t[c.p]=b,c=c._next},N=function(a,b,c,d){var e,f,g,h,i,j,k,l=[],m=0,n="",o=0;for(l.start=a,l.end=b,a=l[0]=a+"",b=l[1]=b+"",c&&(c(l),a=l[0],b=l[1]),l.length=0,e=a.match(L)||[],f=b.match(L)||[],d&&(d._next=null,d.blob=1,l._firstPT=l._applyPT=d),i=f.length,h=0;i>h;h++)k=f[h],j=b.substr(m,b.indexOf(k,m)-m),n+=j||!h?j:",",m+=j.length,o?o=(o+1)%5:"rgba("===j.substr(-5)&&(o=1),k===e[h]||e.length<=h?n+=k:(n&&(l.push(n),n=""),g=parseFloat(e[h]),l.push(g),l._firstPT={_next:l._firstPT,t:l,p:l.length-1,s:g,c:("="===k.charAt(1)?parseInt(k.charAt(0)+"1",10)*parseFloat(k.substr(2)):parseFloat(k)-g)||0,f:0,m:o&&4>o?Math.round:0}),m+=k.length;return n+=b.substr(m),n&&l.push(n),l.setRatio=M,l},O=function(a,b,c,d,e,f,g,h,i){"function"==typeof d&&(d=d(i||0,a));var j,k=typeof a[b],l="function"!==k?"":b.indexOf("set")||"function"!=typeof a["get"+b.substr(3)]?b:"get"+b.substr(3),m="get"!==c?c:l?g?a[l](g):a[l]():a[b],n="string"==typeof d&&"="===d.charAt(1),o={t:a,p:b,s:m,f:"function"===k,pg:0,n:e||b,m:f?"function"==typeof f?f:Math.round:0,pr:0,c:n?parseInt(d.charAt(0)+"1",10)*parseFloat(d.substr(2)):parseFloat(d)-m||0};return("number"!=typeof m||"number"!=typeof d&&!n)&&(g||isNaN(m)||!n&&isNaN(d)||"boolean"==typeof m||"boolean"==typeof d?(o.fp=g,j=N(m,n?o.s+o.c:d,h||G.defaultStringFilter,o),o={t:j,p:"setRatio",s:0,c:1,f:2,pg:0,n:e||b,pr:0,m:0}):(o.s=parseFloat(m),n||(o.c=parseFloat(d)-o.s||0))),o.c?((o._next=this._firstPT)&&(o._next._prev=o),this._firstPT=o,o):void 0},P=G._internals={isArray:p,isSelector:H,lazyTweens:J,blobDif:N},Q=G._plugins={},R=P.tweenLookup={},S=0,T=P.reservedProps={ease:1,delay:1,overwrite:1,onComplete:1,onCompleteParams:1,onCompleteScope:1,useFrames:1,runBackwards:1,startAt:1,onUpdate:1,onUpdateParams:1,onUpdateScope:1,onStart:1,onStartParams:1,onStartScope:1,onReverseComplete:1,onReverseCompleteParams:1,onReverseCompleteScope:1,onRepeat:1,onRepeatParams:1,onRepeatScope:1,easeParams:1,yoyo:1,immediateRender:1,repeat:1,repeatDelay:1,data:1,paused:1,reversed:1,autoCSS:1,lazy:1,onOverwrite:1,callbackScope:1,stringFilter:1,id:1},U={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,"true":1,"false":0},V=D._rootFramesTimeline=new F,W=D._rootTimeline=new F,X=30,Y=P.lazyRender=function(){var a,b=J.length;for(K={};--b>-1;)a=J[b],a&&a._lazy!==!1&&(a.render(a._lazy[0],a._lazy[1],!0),a._lazy=!1);J.length=0};W._startTime=i.time,V._startTime=i.frame,W._active=V._active=!0,setTimeout(Y,1),D._updateRoot=G.render=function(){var a,b,c;if(J.length&&Y(),W.render((i.time-W._startTime)*W._timeScale,!1,!1),V.render((i.frame-V._startTime)*V._timeScale,!1,!1),J.length&&Y(),i.frame>=X){X=i.frame+(parseInt(G.autoSleep,10)||120);for(c in R){for(b=R[c].tweens,a=b.length;--a>-1;)b[a]._gc&&b.splice(a,1);0===b.length&&delete R[c]}if(c=W._first,(!c||c._paused)&&G.autoSleep&&!V._first&&1===i._listeners.tick.length){for(;c&&c._paused;)c=c._next;c||i.sleep()}}},i.addEventListener("tick",D._updateRoot);var Z=function(a,b,c){var d,e,f=a._gsTweenID;if(R[f||(a._gsTweenID=f="t"+S++)]||(R[f]={target:a,tweens:[]}),b&&(d=R[f].tweens,d[e=d.length]=b,c))for(;--e>-1;)d[e]===b&&d.splice(e,1);return R[f].tweens},$=function(a,b,c,d){var e,f,g=a.vars.onOverwrite;return g&&(e=g(a,b,c,d)),g=G.onOverwrite,g&&(f=g(a,b,c,d)),e!==!1&&f!==!1},_=function(a,b,c,d,e){var f,g,h,i;if(1===d||d>=4){for(i=e.length,f=0;i>f;f++)if((h=e[f])!==b)h._gc||h._kill(null,a,b)&&(g=!0);else if(5===d)break;return g}var j,k=b._startTime+m,l=[],n=0,o=0===b._duration;for(f=e.length;--f>-1;)(h=e[f])===b||h._gc||h._paused||(h._timeline!==b._timeline?(j=j||aa(b,0,o),0===aa(h,j,o)&&(l[n++]=h)):h._startTime<=k&&h._startTime+h.totalDuration()/h._timeScale>k&&((o||!h._initted)&&k-h._startTime<=2e-10||(l[n++]=h)));for(f=n;--f>-1;)if(h=l[f],2===d&&h._kill(c,a,b)&&(g=!0),2!==d||!h._firstPT&&h._initted){if(2!==d&&!$(h,b))continue;h._enabled(!1,!1)&&(g=!0)}return g},aa=function(a,b,c){for(var d=a._timeline,e=d._timeScale,f=a._startTime;d._timeline;){if(f+=d._startTime,e*=d._timeScale,d._paused)return-100;d=d._timeline}return f/=e,f>b?f-b:c&&f===b||!a._initted&&2*m>f-b?m:(f+=a.totalDuration()/a._timeScale/e)>b+m?0:f-b-m};h._init=function(){var a,b,c,d,e,f,g=this.vars,h=this._overwrittenProps,i=this._duration,j=!!g.immediateRender,k=g.ease;if(g.startAt){this._startAt&&(this._startAt.render(-1,!0),this._startAt.kill()),e={};for(d in g.startAt)e[d]=g.startAt[d];if(e.overwrite=!1,e.immediateRender=!0,e.lazy=j&&g.lazy!==!1,e.startAt=e.delay=null,this._startAt=G.to(this.target,0,e),j)if(this._time>0)this._startAt=null;else if(0!==i)return}else if(g.runBackwards&&0!==i)if(this._startAt)this._startAt.render(-1,!0),this._startAt.kill(),this._startAt=null;else{0!==this._time&&(j=!1),c={};for(d in g)T[d]&&"autoCSS"!==d||(c[d]=g[d]);if(c.overwrite=0,c.data="isFromStart",c.lazy=j&&g.lazy!==!1,c.immediateRender=j,this._startAt=G.to(this.target,0,c),j){if(0===this._time)return}else this._startAt._init(),this._startAt._enabled(!1),this.vars.immediateRender&&(this._startAt=null)}if(this._ease=k=k?k instanceof v?k:"function"==typeof k?new v(k,g.easeParams):w[k]||G.defaultEase:G.defaultEase,g.easeParams instanceof Array&&k.config&&(this._ease=k.config.apply(k,g.easeParams)),this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets)for(f=this._targets.length,a=0;f>a;a++)this._initProps(this._targets[a],this._propLookup[a]={},this._siblings[a],h?h[a]:null,a)&&(b=!0);else b=this._initProps(this.target,this._propLookup,this._siblings,h,0);if(b&&G._onPluginEvent("_onInitAllProps",this),h&&(this._firstPT||"function"!=typeof this.target&&this._enabled(!1,!1)),g.runBackwards)for(c=this._firstPT;c;)c.s+=c.c,c.c=-c.c,c=c._next;this._onUpdate=g.onUpdate,this._initted=!0},h._initProps=function(b,c,d,e,f){var g,h,i,j,k,l;if(null==b)return!1;K[b._gsTweenID]&&Y(),this.vars.css||b.style&&b!==a&&b.nodeType&&Q.css&&this.vars.autoCSS!==!1&&I(this.vars,b);for(g in this.vars)if(l=this.vars[g],T[g])l&&(l instanceof Array||l.push&&p(l))&&-1!==l.join("").indexOf("{self}")&&(this.vars[g]=l=this._swapSelfInParams(l,this));else if(Q[g]&&(j=new Q[g])._onInitTween(b,this.vars[g],this,f)){for(this._firstPT=k={_next:this._firstPT,t:j,p:"setRatio",s:0,c:1,f:1,n:g,pg:1,pr:j._priority,m:0},h=j._overwriteProps.length;--h>-1;)c[j._overwriteProps[h]]=this._firstPT;(j._priority||j._onInitAllProps)&&(i=!0),(j._onDisable||j._onEnable)&&(this._notifyPluginsOfEnabled=!0),k._next&&(k._next._prev=k)}else c[g]=O.call(this,b,g,"get",l,g,0,null,this.vars.stringFilter,f);return e&&this._kill(e,b)?this._initProps(b,c,d,e,f):this._overwrite>1&&this._firstPT&&d.length>1&&_(b,this,c,this._overwrite,d)?(this._kill(c,b),this._initProps(b,c,d,e,f)):(this._firstPT&&(this.vars.lazy!==!1&&this._duration||this.vars.lazy&&!this._duration)&&(K[b._gsTweenID]=!0),i)},h.render=function(a,b,c){var d,e,f,g,h=this._time,i=this._duration,j=this._rawPrevTime;if(a>=i-1e-7&&a>=0)this._totalTime=this._time=i,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1,this._reversed||(d=!0,e="onComplete",c=c||this._timeline.autoRemoveChildren),0===i&&(this._initted||!this.vars.lazy||c)&&(this._startTime===this._timeline._duration&&(a=0),(0>j||0>=a&&a>=-1e-7||j===m&&"isPause"!==this.data)&&j!==a&&(c=!0,j>m&&(e="onReverseComplete")),this._rawPrevTime=g=!b||a||j===a?a:m);else if(1e-7>a)this._totalTime=this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==h||0===i&&j>0)&&(e="onReverseComplete",d=this._reversed),0>a&&(this._active=!1,0===i&&(this._initted||!this.vars.lazy||c)&&(j>=0&&(j!==m||"isPause"!==this.data)&&(c=!0),this._rawPrevTime=g=!b||a||j===a?a:m)),this._initted||(c=!0);else if(this._totalTime=this._time=a,this._easeType){var k=a/i,l=this._easeType,n=this._easePower;(1===l||3===l&&k>=.5)&&(k=1-k),3===l&&(k*=2),1===n?k*=k:2===n?k*=k*k:3===n?k*=k*k*k:4===n&&(k*=k*k*k*k),1===l?this.ratio=1-k:2===l?this.ratio=k:.5>a/i?this.ratio=k/2:this.ratio=1-k/2}else this.ratio=this._ease.getRatio(a/i);if(this._time!==h||c){if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!c&&this._firstPT&&(this.vars.lazy!==!1&&this._duration||this.vars.lazy&&!this._duration))return this._time=this._totalTime=h,this._rawPrevTime=j,J.push(this),void(this._lazy=[a,b]);this._time&&!d?this.ratio=this._ease.getRatio(this._time/i):d&&this._ease._calcEnd&&(this.ratio=this._ease.getRatio(0===this._time?0:1))}for(this._lazy!==!1&&(this._lazy=!1),this._active||!this._paused&&this._time!==h&&a>=0&&(this._active=!0),0===h&&(this._startAt&&(a>=0?this._startAt.render(a,b,c):e||(e="_dummyGS")),this.vars.onStart&&(0!==this._time||0===i)&&(b||this._callback("onStart"))),f=this._firstPT;f;)f.f?f.t[f.p](f.c*this.ratio+f.s):f.t[f.p]=f.c*this.ratio+f.s,f=f._next;this._onUpdate&&(0>a&&this._startAt&&a!==-1e-4&&this._startAt.render(a,b,c),b||(this._time!==h||d||c)&&this._callback("onUpdate")),e&&(!this._gc||c)&&(0>a&&this._startAt&&!this._onUpdate&&a!==-1e-4&&this._startAt.render(a,b,c),d&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!b&&this.vars[e]&&this._callback(e),0===i&&this._rawPrevTime===m&&g!==m&&(this._rawPrevTime=0))}},h._kill=function(a,b,c){if("all"===a&&(a=null),null==a&&(null==b||b===this.target))return this._lazy=!1,this._enabled(!1,!1);b="string"!=typeof b?b||this._targets||this.target:G.selector(b)||b;var d,e,f,g,h,i,j,k,l,m=c&&this._time&&c._startTime===this._startTime&&this._timeline===c._timeline;if((p(b)||H(b))&&"number"!=typeof b[0])for(d=b.length;--d>-1;)this._kill(a,b[d],c)&&(i=!0);else{if(this._targets){for(d=this._targets.length;--d>-1;)if(b===this._targets[d]){h=this._propLookup[d]||{},this._overwrittenProps=this._overwrittenProps||[],e=this._overwrittenProps[d]=a?this._overwrittenProps[d]||{}:"all";break}}else{if(b!==this.target)return!1;h=this._propLookup,e=this._overwrittenProps=a?this._overwrittenProps||{}:"all"}if(h){if(j=a||h,k=a!==e&&"all"!==e&&a!==h&&("object"!=typeof a||!a._tempKill),c&&(G.onOverwrite||this.vars.onOverwrite)){for(f in j)h[f]&&(l||(l=[]),l.push(f));if((l||!a)&&!$(this,c,b,l))return!1}for(f in j)(g=h[f])&&(m&&(g.f?g.t[g.p](g.s):g.t[g.p]=g.s,i=!0),g.pg&&g.t._kill(j)&&(i=!0),g.pg&&0!==g.t._overwriteProps.length||(g._prev?g._prev._next=g._next:g===this._firstPT&&(this._firstPT=g._next),g._next&&(g._next._prev=g._prev),g._next=g._prev=null),delete h[f]),k&&(e[f]=1);!this._firstPT&&this._initted&&this._enabled(!1,!1)}}return i},h.invalidate=function(){return this._notifyPluginsOfEnabled&&G._onPluginEvent("_onDisable",this),this._firstPT=this._overwrittenProps=this._startAt=this._onUpdate=null,this._notifyPluginsOfEnabled=this._active=this._lazy=!1,this._propLookup=this._targets?{}:[],D.prototype.invalidate.call(this),this.vars.immediateRender&&(this._time=-m,this.render(Math.min(0,-this._delay))),this},h._enabled=function(a,b){if(j||i.wake(),a&&this._gc){var c,d=this._targets;if(d)for(c=d.length;--c>-1;)this._siblings[c]=Z(d[c],this,!0);else this._siblings=Z(this.target,this,!0)}return D.prototype._enabled.call(this,a,b),this._notifyPluginsOfEnabled&&this._firstPT?G._onPluginEvent(a?"_onEnable":"_onDisable",this):!1},G.to=function(a,b,c){return new G(a,b,c)},G.from=function(a,b,c){return c.runBackwards=!0,c.immediateRender=0!=c.immediateRender,new G(a,b,c)},G.fromTo=function(a,b,c,d){return d.startAt=c,d.immediateRender=0!=d.immediateRender&&0!=c.immediateRender,new G(a,b,d)},G.delayedCall=function(a,b,c,d,e){return new G(b,0,{delay:a,onComplete:b,onCompleteParams:c,callbackScope:d,onReverseComplete:b,onReverseCompleteParams:c,immediateRender:!1,lazy:!1,useFrames:e,overwrite:0})},G.set=function(a,b){return new G(a,0,b)},G.getTweensOf=function(a,b){if(null==a)return[];a="string"!=typeof a?a:G.selector(a)||a;var c,d,e,f;if((p(a)||H(a))&&"number"!=typeof a[0]){for(c=a.length,d=[];--c>-1;)d=d.concat(G.getTweensOf(a[c],b));for(c=d.length;--c>-1;)for(f=d[c],e=c;--e>-1;)f===d[e]&&d.splice(c,1)}else for(d=Z(a).concat(),c=d.length;--c>-1;)(d[c]._gc||b&&!d[c].isActive())&&d.splice(c,1);return d},G.killTweensOf=G.killDelayedCallsTo=function(a,b,c){"object"==typeof b&&(c=b,b=!1);for(var d=G.getTweensOf(a,b),e=d.length;--e>-1;)d[e]._kill(c,a)};var ba=t("plugins.TweenPlugin",function(a,b){this._overwriteProps=(a||"").split(","),this._propName=this._overwriteProps[0],this._priority=b||0,this._super=ba.prototype},!0);if(h=ba.prototype,ba.version="1.19.0",ba.API=2,h._firstPT=null,h._addTween=O,h.setRatio=M,h._kill=function(a){var b,c=this._overwriteProps,d=this._firstPT;if(null!=a[this._propName])this._overwriteProps=[];else for(b=c.length;--b>-1;)null!=a[c[b]]&&c.splice(b,1);for(;d;)null!=a[d.n]&&(d._next&&(d._next._prev=d._prev),d._prev?(d._prev._next=d._next,d._prev=null):this._firstPT===d&&(this._firstPT=d._next)),d=d._next;return!1},h._mod=h._roundProps=function(a){for(var b,c=this._firstPT;c;)b=a[this._propName]||null!=c.n&&a[c.n.split(this._propName+"_").join("")],b&&"function"==typeof b&&(2===c.f?c.t._applyPT.m=b:c.m=b),c=c._next},G._onPluginEvent=function(a,b){var c,d,e,f,g,h=b._firstPT;if("_onInitAllProps"===a){for(;h;){for(g=h._next,d=e;d&&d.pr>h.pr;)d=d._next;(h._prev=d?d._prev:f)?h._prev._next=h:e=h,(h._next=d)?d._prev=h:f=h,h=g}h=b._firstPT=e}for(;h;)h.pg&&"function"==typeof h.t[a]&&h.t[a]()&&(c=!0),h=h._next;return c},ba.activate=function(a){for(var b=a.length;--b>-1;)a[b].API===ba.API&&(Q[(new a[b])._propName]=a[b]);return!0},s.plugin=function(a){if(!(a&&a.propName&&a.init&&a.API))throw"illegal plugin definition.";var b,c=a.propName,d=a.priority||0,e=a.overwriteProps,f={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_mod",mod:"_mod",initAll:"_onInitAllProps"},g=t("plugins."+c.charAt(0).toUpperCase()+c.substr(1)+"Plugin",function(){ba.call(this,c,d),this._overwriteProps=e||[]},a.global===!0),h=g.prototype=new ba(c);h.constructor=g,g.API=a.API;for(b in f)"function"==typeof a[b]&&(h[f[b]]=a[b]);return g.version=a.version,ba.activate([g]),g},f=a._gsQueue){for(g=0;gt._rawPrevTime||0===t._rawPrevTime&&a._reversed,_=l?0:r,f=l?r:0;if(e||!this._forcingPlayhead){for(a.pause(h),n=t._prev;n&&n._startTime===h;)n._rawPrevTime=f,n=n._prev;for(n=t._next;n&&n._startTime===h;)n._rawPrevTime=_,n=n._next;e&&e.apply(s||a.vars.callbackScope||a,i||u),(this._forcingPlayhead||!a._paused)&&a.seek(o)}},m=function(t){var e,i=[],s=t.length;for(e=0;e!==s;i.push(t[e++]));return i},d=s.prototype=new e;return s.version="1.17.0",d.constructor=s,d.kill()._gc=d._forcingPlayhead=!1,d.to=function(t,e,s,r){var n=s.repeat&&f.TweenMax||i;return e?this.add(new n(t,e,s),r):this.set(t,s,r)},d.from=function(t,e,s,r){return this.add((s.repeat&&f.TweenMax||i).from(t,e,s),r)},d.fromTo=function(t,e,s,r,n){var a=r.repeat&&f.TweenMax||i;return e?this.add(a.fromTo(t,e,s,r),n):this.set(t,r,n)},d.staggerTo=function(t,e,r,n,a,h,l,_){var u,f=new s({onComplete:h,onCompleteParams:l,callbackScope:_,smoothChildTiming:this.smoothChildTiming});for("string"==typeof t&&(t=i.selector(t)||t),t=t||[],o(t)&&(t=m(t)),n=n||0,0>n&&(t=m(t),t.reverse(),n*=-1),u=0;t.length>u;u++)r.startAt&&(r.startAt=c(r.startAt)),f.to(t[u],e,c(r),u*n);return this.add(f,a)},d.staggerFrom=function(t,e,i,s,r,n,a,o){return i.immediateRender=0!=i.immediateRender,i.runBackwards=!0,this.staggerTo(t,e,i,s,r,n,a,o)},d.staggerFromTo=function(t,e,i,s,r,n,a,o,h){return s.startAt=i,s.immediateRender=0!=s.immediateRender&&0!=i.immediateRender,this.staggerTo(t,e,s,r,n,a,o,h)},d.call=function(t,e,s,r){return this.add(i.delayedCall(0,t,e,s),r)},d.set=function(t,e,s){return s=this._parseTimeOrLabel(s,0,!0),null==e.immediateRender&&(e.immediateRender=s===this._time&&!this._paused),this.add(new i(t,0,e),s)},s.exportRoot=function(t,e){t=t||{},null==t.smoothChildTiming&&(t.smoothChildTiming=!0);var r,n,a=new s(t),o=a._timeline;for(null==e&&(e=!0),o._remove(a,!0),a._startTime=0,a._rawPrevTime=a._time=a._totalTime=o._time,r=o._first;r;)n=r._next,e&&r instanceof i&&r.target===r.vars.onComplete||a.add(r,r._startTime-r._delay),r=n;return o.add(a,0),a},d.add=function(r,n,a,o){var l,_,u,f,c,p;if("number"!=typeof n&&(n=this._parseTimeOrLabel(n,0,!0,r)),!(r instanceof t)){if(r instanceof Array||r&&r.push&&h(r)){for(a=a||"normal",o=o||0,l=n,_=r.length,u=0;_>u;u++)h(f=r[u])&&(f=new s({tweens:f})),this.add(f,l),"string"!=typeof f&&"function"!=typeof f&&("sequence"===a?l=f._startTime+f.totalDuration()/f._timeScale:"start"===a&&(f._startTime-=f.delay())),l+=o;return this._uncache(!0)}if("string"==typeof r)return this.addLabel(r,n);if("function"!=typeof r)throw"Cannot add "+r+" into the timeline; it is not a tween, timeline, function, or string.";r=i.delayedCall(0,r)}if(e.prototype.add.call(this,r,n),(this._gc||this._time===this._duration)&&!this._paused&&this._durationr._startTime;c._timeline;)p&&c._timeline.smoothChildTiming?c.totalTime(c._totalTime,!0):c._gc&&c._enabled(!0,!1),c=c._timeline;return this},d.remove=function(e){if(e instanceof t)return this._remove(e,!1);if(e instanceof Array||e&&e.push&&h(e)){for(var i=e.length;--i>-1;)this.remove(e[i]);return this}return"string"==typeof e?this.removeLabel(e):this.kill(null,e)},d._remove=function(t,i){e.prototype._remove.call(this,t,i);var s=this._last;return s?this._time>s._startTime+s._totalDuration/s._timeScale&&(this._time=this.duration(),this._totalTime=this._totalDuration):this._time=this._totalTime=this._duration=this._totalDuration=0,this},d.append=function(t,e){return this.add(t,this._parseTimeOrLabel(null,e,!0,t))},d.insert=d.insertMultiple=function(t,e,i,s){return this.add(t,e||0,i,s)},d.appendMultiple=function(t,e,i,s){return this.add(t,this._parseTimeOrLabel(null,e,!0,t),i,s)},d.addLabel=function(t,e){return this._labels[t]=this._parseTimeOrLabel(e),this},d.addPause=function(t,e,s,r){var n=i.delayedCall(0,p,["{self}",e,s,r],this);return n.data="isPause",this.add(n,t)},d.removeLabel=function(t){return delete this._labels[t],this},d.getLabelTime=function(t){return null!=this._labels[t]?this._labels[t]:-1},d._parseTimeOrLabel=function(e,i,s,r){var n;if(r instanceof t&&r.timeline===this)this.remove(r);else if(r&&(r instanceof Array||r.push&&h(r)))for(n=r.length;--n>-1;)r[n]instanceof t&&r[n].timeline===this&&this.remove(r[n]);if("string"==typeof i)return this._parseTimeOrLabel(i,s&&"number"==typeof e&&null==this._labels[i]?e-this.duration():0,s);if(i=i||0,"string"!=typeof e||!isNaN(e)&&null==this._labels[e])null==e&&(e=this.duration());else{if(n=e.indexOf("="),-1===n)return null==this._labels[e]?s?this._labels[e]=this.duration()+i:i:this._labels[e]+i;i=parseInt(e.charAt(n-1)+"1",10)*Number(e.substr(n+1)),e=n>1?this._parseTimeOrLabel(e.substr(0,n-1),0,s):this.duration()}return Number(e)+i},d.seek=function(t,e){return this.totalTime("number"==typeof t?t:this._parseTimeOrLabel(t),e!==!1)},d.stop=function(){return this.paused(!0)},d.gotoAndPlay=function(t,e){return this.play(t,e)},d.gotoAndStop=function(t,e){return this.pause(t,e)},d.render=function(t,e,i){this._gc&&this._enabled(!0,!1);var s,n,a,o,h,u=this._dirty?this.totalDuration():this._totalDuration,f=this._time,c=this._startTime,p=this._timeScale,m=this._paused;if(t>=u)this._totalTime=this._time=u,this._reversed||this._hasPausedChild()||(n=!0,o="onComplete",h=!!this._timeline.autoRemoveChildren,0===this._duration&&(0===t||0>this._rawPrevTime||this._rawPrevTime===r)&&this._rawPrevTime!==t&&this._first&&(h=!0,this._rawPrevTime>r&&(o="onReverseComplete"))),this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:r,t=u+1e-4;else if(1e-7>t)if(this._totalTime=this._time=0,(0!==f||0===this._duration&&this._rawPrevTime!==r&&(this._rawPrevTime>0||0>t&&this._rawPrevTime>=0))&&(o="onReverseComplete",n=this._reversed),0>t)this._active=!1,this._timeline.autoRemoveChildren&&this._reversed?(h=n=!0,o="onReverseComplete"):this._rawPrevTime>=0&&this._first&&(h=!0),this._rawPrevTime=t;else{if(this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:r,0===t&&n)for(s=this._first;s&&0===s._startTime;)s._duration||(n=!1),s=s._next;t=0,this._initted||(h=!0)}else this._totalTime=this._time=this._rawPrevTime=t;if(this._time!==f&&this._first||i||h){if(this._initted||(this._initted=!0),this._active||!this._paused&&this._time!==f&&t>0&&(this._active=!0),0===f&&this.vars.onStart&&0!==this._time&&(e||this._callback("onStart")),this._time>=f)for(s=this._first;s&&(a=s._next,!this._paused||m);)(s._active||s._startTime<=this._time&&!s._paused&&!s._gc)&&(s._reversed?s.render((s._dirty?s.totalDuration():s._totalDuration)-(t-s._startTime)*s._timeScale,e,i):s.render((t-s._startTime)*s._timeScale,e,i)),s=a;else for(s=this._last;s&&(a=s._prev,!this._paused||m);)(s._active||f>=s._startTime&&!s._paused&&!s._gc)&&(s._reversed?s.render((s._dirty?s.totalDuration():s._totalDuration)-(t-s._startTime)*s._timeScale,e,i):s.render((t-s._startTime)*s._timeScale,e,i)),s=a;this._onUpdate&&(e||(l.length&&_(),this._callback("onUpdate"))),o&&(this._gc||(c===this._startTime||p!==this._timeScale)&&(0===this._time||u>=this.totalDuration())&&(n&&(l.length&&_(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[o]&&this._callback(o)))}},d._hasPausedChild=function(){for(var t=this._first;t;){if(t._paused||t instanceof s&&t._hasPausedChild())return!0;t=t._next}return!1},d.getChildren=function(t,e,s,r){r=r||-9999999999;for(var n=[],a=this._first,o=0;a;)r>a._startTime||(a instanceof i?e!==!1&&(n[o++]=a):(s!==!1&&(n[o++]=a),t!==!1&&(n=n.concat(a.getChildren(!0,e,s)),o=n.length))),a=a._next;return n},d.getTweensOf=function(t,e){var s,r,n=this._gc,a=[],o=0;for(n&&this._enabled(!0,!0),s=i.getTweensOf(t),r=s.length;--r>-1;)(s[r].timeline===this||e&&this._contains(s[r]))&&(a[o++]=s[r]);return n&&this._enabled(!1,!0),a},d.recent=function(){return this._recent},d._contains=function(t){for(var e=t.timeline;e;){if(e===this)return!0;e=e.timeline}return!1},d.shiftChildren=function(t,e,i){i=i||0;for(var s,r=this._first,n=this._labels;r;)r._startTime>=i&&(r._startTime+=t),r=r._next;if(e)for(s in n)n[s]>=i&&(n[s]+=t);return this._uncache(!0)},d._kill=function(t,e){if(!t&&!e)return this._enabled(!1,!1);for(var i=e?this.getTweensOf(e):this.getChildren(!0,!0,!1),s=i.length,r=!1;--s>-1;)i[s]._kill(t,e)&&(r=!0);return r},d.clear=function(t){var e=this.getChildren(!1,!0,!0),i=e.length;for(this._time=this._totalTime=0;--i>-1;)e[i]._enabled(!1,!1);return t!==!1&&(this._labels={}),this._uncache(!0)},d.invalidate=function(){for(var e=this._first;e;)e.invalidate(),e=e._next;return t.prototype.invalidate.call(this)},d._enabled=function(t,i){if(t===this._gc)for(var s=this._first;s;)s._enabled(t,!0),s=s._next;return e.prototype._enabled.call(this,t,i)},d.totalTime=function(){this._forcingPlayhead=!0;var e=t.prototype.totalTime.apply(this,arguments);return this._forcingPlayhead=!1,e},d.duration=function(t){return arguments.length?(0!==this.duration()&&0!==t&&this.timeScale(this._duration/t),this):(this._dirty&&this.totalDuration(),this._duration)},d.totalDuration=function(t){if(!arguments.length){if(this._dirty){for(var e,i,s=0,r=this._last,n=999999999999;r;)e=r._prev,r._dirty&&r.totalDuration(),r._startTime>n&&this._sortChildren&&!r._paused?this.add(r,r._startTime-r._delay):n=r._startTime,0>r._startTime&&!r._paused&&(s-=r._startTime,this._timeline.smoothChildTiming&&(this._startTime+=r._startTime/this._timeScale),this.shiftChildren(-r._startTime,!1,-9999999999),n=0),i=r._startTime+r._totalDuration/r._timeScale,i>s&&(s=i),r=e;this._duration=this._totalDuration=s,this._dirty=!1}return this._totalDuration}return 0!==this.totalDuration()&&0!==t&&this.timeScale(this._totalDuration/t),this},d.paused=function(e){if(!e)for(var i=this._first,s=this._time;i;)i._startTime===s&&"isPause"===i.data&&(i._rawPrevTime=0),i=i._next;return t.prototype.paused.apply(this,arguments)},d.usesFrames=function(){for(var e=this._timeline;e._timeline;)e=e._timeline;return e===t._rootFramesTimeline},d.rawTime=function(){return this._paused?this._totalTime:(this._timeline.rawTime()-this._startTime)*this._timeScale},s},!0)}),_gsScope._gsDefine&&_gsScope._gsQueue.pop()(),function(t){"use strict";var e=function(){return(_gsScope.GreenSockGlobals||_gsScope)[t]};"function"==typeof define&&define.amd?define(["TweenLite"],e):"undefined"!=typeof module&&module.exports&&(require("./TweenLite.js"),module.exports=e())}("TimelineLite");
/* EASING PLUGIN*/
/*!
* VERSION: 1.15.5
* DATE: 2016-07-08
* UPDATES AND DOCS AT: http://greensock.com
*
* @license Copyright (c) 2008-2016, GreenSock. All rights reserved.
* This work is subject to the terms at http://greensock.com/standard-license or for
* Club GreenSock members, the software agreement that was issued with your membership.
*
* @author: Jack Doyle, jack@greensock.com
**/
var _gsScope="undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window;(_gsScope._gsQueue||(_gsScope._gsQueue=[])).push(function(){"use strict";_gsScope._gsDefine("easing.Back",["easing.Ease"],function(a){var b,c,d,e=_gsScope.GreenSockGlobals||_gsScope,f=e.com.greensock,g=2*Math.PI,h=Math.PI/2,i=f._class,j=function(b,c){var d=i("easing."+b,function(){},!0),e=d.prototype=new a;return e.constructor=d,e.getRatio=c,d},k=a.register||function(){},l=function(a,b,c,d,e){var f=i("easing."+a,{easeOut:new b,easeIn:new c,easeInOut:new d},!0);return k(f,a),f},m=function(a,b,c){this.t=a,this.v=b,c&&(this.next=c,c.prev=this,this.c=c.v-b,this.gap=c.t-a)},n=function(b,c){var d=i("easing."+b,function(a){this._p1=a||0===a?a:1.70158,this._p2=1.525*this._p1},!0),e=d.prototype=new a;return e.constructor=d,e.getRatio=c,e.config=function(a){return new d(a)},d},o=l("Back",n("BackOut",function(a){return(a-=1)*a*((this._p1+1)*a+this._p1)+1}),n("BackIn",function(a){return a*a*((this._p1+1)*a-this._p1)}),n("BackInOut",function(a){return(a*=2)<1?.5*a*a*((this._p2+1)*a-this._p2):.5*((a-=2)*a*((this._p2+1)*a+this._p2)+2)})),p=i("easing.SlowMo",function(a,b,c){b=b||0===b?b:.7,null==a?a=.7:a>1&&(a=1),this._p=1!==a?b:0,this._p1=(1-a)/2,this._p2=a,this._p3=this._p1+this._p2,this._calcEnd=c===!0},!0),q=p.prototype=new a;return q.constructor=p,q.getRatio=function(a){var b=a+(.5-a)*this._p;return athis._p3?this._calcEnd?1-(a=(a-this._p3)/this._p1)*a:b+(a-b)*(a=(a-this._p3)/this._p1)*a*a*a:this._calcEnd?1:b},p.ease=new p(.7,.7),q.config=p.config=function(a,b,c){return new p(a,b,c)},b=i("easing.SteppedEase",function(a){a=a||1,this._p1=1/a,this._p2=a+1},!0),q=b.prototype=new a,q.constructor=b,q.getRatio=function(a){return 0>a?a=0:a>=1&&(a=.999999999),(this._p2*a>>0)*this._p1},q.config=b.config=function(a){return new b(a)},c=i("easing.RoughEase",function(b){b=b||{};for(var c,d,e,f,g,h,i=b.taper||"none",j=[],k=0,l=0|(b.points||20),n=l,o=b.randomize!==!1,p=b.clamp===!0,q=b.template instanceof a?b.template:null,r="number"==typeof b.strength?.4*b.strength:.4;--n>-1;)c=o?Math.random():1/l*n,d=q?q.getRatio(c):c,"none"===i?e=r:"out"===i?(f=1-c,e=f*f*r):"in"===i?e=c*c*r:.5>c?(f=2*c,e=f*f*.5*r):(f=2*(1-c),e=f*f*.5*r),o?d+=Math.random()*e-.5*e:n%2?d+=.5*e:d-=.5*e,p&&(d>1?d=1:0>d&&(d=0)),j[k++]={x:c,y:d};for(j.sort(function(a,b){return a.x-b.x}),h=new m(1,1,null),n=l;--n>-1;)g=j[n],h=new m(g.x,g.y,h);this._prev=new m(0,0,0!==h.t?h:h.next)},!0),q=c.prototype=new a,q.constructor=c,q.getRatio=function(a){var b=this._prev;if(a>b.t){for(;b.next&&a>=b.t;)b=b.next;b=b.prev}else for(;b.prev&&a<=b.t;)b=b.prev;return this._prev=b,b.v+(a-b.t)/b.gap*b.c},q.config=function(a){return new c(a)},c.ease=new c,l("Bounce",j("BounceOut",function(a){return 1/2.75>a?7.5625*a*a:2/2.75>a?7.5625*(a-=1.5/2.75)*a+.75:2.5/2.75>a?7.5625*(a-=2.25/2.75)*a+.9375:7.5625*(a-=2.625/2.75)*a+.984375}),j("BounceIn",function(a){return(a=1-a)<1/2.75?1-7.5625*a*a:2/2.75>a?1-(7.5625*(a-=1.5/2.75)*a+.75):2.5/2.75>a?1-(7.5625*(a-=2.25/2.75)*a+.9375):1-(7.5625*(a-=2.625/2.75)*a+.984375)}),j("BounceInOut",function(a){var b=.5>a;return a=b?1-2*a:2*a-1,a=1/2.75>a?7.5625*a*a:2/2.75>a?7.5625*(a-=1.5/2.75)*a+.75:2.5/2.75>a?7.5625*(a-=2.25/2.75)*a+.9375:7.5625*(a-=2.625/2.75)*a+.984375,b?.5*(1-a):.5*a+.5})),l("Circ",j("CircOut",function(a){return Math.sqrt(1-(a-=1)*a)}),j("CircIn",function(a){return-(Math.sqrt(1-a*a)-1)}),j("CircInOut",function(a){return(a*=2)<1?-.5*(Math.sqrt(1-a*a)-1):.5*(Math.sqrt(1-(a-=2)*a)+1)})),d=function(b,c,d){var e=i("easing."+b,function(a,b){this._p1=a>=1?a:1,this._p2=(b||d)/(1>a?a:1),this._p3=this._p2/g*(Math.asin(1/this._p1)||0),this._p2=g/this._p2},!0),f=e.prototype=new a;return f.constructor=e,f.getRatio=c,f.config=function(a,b){return new e(a,b)},e},l("Elastic",d("ElasticOut",function(a){return this._p1*Math.pow(2,-10*a)*Math.sin((a-this._p3)*this._p2)+1},.3),d("ElasticIn",function(a){return-(this._p1*Math.pow(2,10*(a-=1))*Math.sin((a-this._p3)*this._p2))},.3),d("ElasticInOut",function(a){return(a*=2)<1?-.5*(this._p1*Math.pow(2,10*(a-=1))*Math.sin((a-this._p3)*this._p2)):this._p1*Math.pow(2,-10*(a-=1))*Math.sin((a-this._p3)*this._p2)*.5+1},.45)),l("Expo",j("ExpoOut",function(a){return 1-Math.pow(2,-10*a)}),j("ExpoIn",function(a){return Math.pow(2,10*(a-1))-.001}),j("ExpoInOut",function(a){return(a*=2)<1?.5*Math.pow(2,10*(a-1)):.5*(2-Math.pow(2,-10*(a-1)))})),l("Sine",j("SineOut",function(a){return Math.sin(a*h)}),j("SineIn",function(a){return-Math.cos(a*h)+1}),j("SineInOut",function(a){return-.5*(Math.cos(Math.PI*a)-1)})),i("easing.EaseLookup",{find:function(b){return a.map[b]}},!0),k(e.SlowMo,"SlowMo","ease,"),k(c,"RoughEase","ease,"),k(b,"SteppedEase","ease,"),o},!0)}),_gsScope._gsDefine&&_gsScope._gsQueue.pop()(),function(){"use strict";var a=function(){return _gsScope.GreenSockGlobals||_gsScope};"function"==typeof define&&define.amd?define(["TweenLite"],a):"undefined"!=typeof module&&module.exports&&(require("../TweenLite.js"),module.exports=a())}();
/* CSS PLUGIN */
/*!
* VERSION: 1.19.1
* DATE: 2017-01-17
* UPDATES AND DOCS AT: http://greensock.com
*
* @license Copyright (c) 2008-2017, GreenSock. All rights reserved.
* This work is subject to the terms at http://greensock.com/standard-license or for
* Club GreenSock members, the software agreement that was issued with your membership.
*
* @author: Jack Doyle, jack@greensock.com
*/
var _gsScope="undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window;(_gsScope._gsQueue||(_gsScope._gsQueue=[])).push(function(){"use strict";_gsScope._gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(a,b){var c,d,e,f,g=function(){a.call(this,"css"),this._overwriteProps.length=0,this.setRatio=g.prototype.setRatio},h=_gsScope._gsDefine.globals,i={},j=g.prototype=new a("css");j.constructor=g,g.version="1.19.1",g.API=2,g.defaultTransformPerspective=0,g.defaultSkewType="compensated",g.defaultSmoothOrigin=!0,j="px",g.suffixMap={top:j,right:j,bottom:j,left:j,width:j,height:j,fontSize:j,padding:j,margin:j,perspective:j,lineHeight:""};var k,l,m,n,o,p,q,r,s=/(?:\-|\.|\b)(\d|\.|e\-)+/g,t=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,u=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,v=/(?![+-]?\d*\.?\d+|[+-]|e[+-]\d+)[^0-9]/g,w=/(?:\d|\-|\+|=|#|\.)*/g,x=/opacity *= *([^)]*)/i,y=/opacity:([^;]*)/i,z=/alpha\(opacity *=.+?\)/i,A=/^(rgb|hsl)/,B=/([A-Z])/g,C=/-([a-z])/gi,D=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,E=function(a,b){return b.toUpperCase()},F=/(?:Left|Right|Width)/i,G=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,H=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,I=/,(?=[^\)]*(?:\(|$))/gi,J=/[\s,\(]/i,K=Math.PI/180,L=180/Math.PI,M={},N={style:{}},O=_gsScope.document||{createElement:function(){return N}},P=function(a,b){return O.createElementNS?O.createElementNS(b||"http://www.w3.org/1999/xhtml",a):O.createElement(a)},Q=P("div"),R=P("img"),S=g._internals={_specialProps:i},T=(_gsScope.navigator||{}).userAgent||"",U=function(){var a=T.indexOf("Android"),b=P("a");return m=-1!==T.indexOf("Safari")&&-1===T.indexOf("Chrome")&&(-1===a||parseFloat(T.substr(a+8,2))>3),o=m&&parseFloat(T.substr(T.indexOf("Version/")+8,2))<6,n=-1!==T.indexOf("Firefox"),(/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(T)||/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(T))&&(p=parseFloat(RegExp.$1)),b?(b.style.cssText="top:1px;opacity:.55;",/^0.55/.test(b.style.opacity)):!1}(),V=function(a){return x.test("string"==typeof a?a:(a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100:1},W=function(a){_gsScope.console&&console.log(a)},X="",Y="",Z=function(a,b){b=b||Q;var c,d,e=b.style;if(void 0!==e[a])return a;for(a=a.charAt(0).toUpperCase()+a.substr(1),c=["O","Moz","ms","Ms","Webkit"],d=5;--d>-1&&void 0===e[c[d]+a];);return d>=0?(Y=3===d?"ms":c[d],X="-"+Y.toLowerCase()+"-",Y+a):null},$=O.defaultView?O.defaultView.getComputedStyle:function(){},_=g.getStyle=function(a,b,c,d,e){var f;return U||"opacity"!==b?(!d&&a.style[b]?f=a.style[b]:(c=c||$(a))?f=c[b]||c.getPropertyValue(b)||c.getPropertyValue(b.replace(B,"-$1").toLowerCase()):a.currentStyle&&(f=a.currentStyle[b]),null==e||f&&"none"!==f&&"auto"!==f&&"auto auto"!==f?f:e):V(a)},aa=S.convertToPixels=function(a,c,d,e,f){if("px"===e||!e)return d;if("auto"===e||!d)return 0;var h,i,j,k=F.test(c),l=a,m=Q.style,n=0>d,o=1===d;if(n&&(d=-d),o&&(d*=100),"%"===e&&-1!==c.indexOf("border"))h=d/100*(k?a.clientWidth:a.clientHeight);else{if(m.cssText="border:0 solid red;position:"+_(a,"position")+";line-height:0;","%"!==e&&l.appendChild&&"v"!==e.charAt(0)&&"rem"!==e)m[k?"borderLeftWidth":"borderTopWidth"]=d+e;else{if(l=a.parentNode||O.body,i=l._gsCache,j=b.ticker.frame,i&&k&&i.time===j)return i.width*d/100;m[k?"width":"height"]=d+e}l.appendChild(Q),h=parseFloat(Q[k?"offsetWidth":"offsetHeight"]),l.removeChild(Q),k&&"%"===e&&g.cacheWidths!==!1&&(i=l._gsCache=l._gsCache||{},i.time=j,i.width=h/d*100),0!==h||f||(h=aa(a,c,d,e,!0))}return o&&(h/=100),n?-h:h},ba=S.calculateOffset=function(a,b,c){if("absolute"!==_(a,"position",c))return 0;var d="left"===b?"Left":"Top",e=_(a,"margin"+d,c);return a["offset"+d]-(aa(a,b,parseFloat(e),e.replace(w,""))||0)},ca=function(a,b){var c,d,e,f={};if(b=b||$(a,null))if(c=b.length)for(;--c>-1;)e=b[c],(-1===e.indexOf("-transform")||Da===e)&&(f[e.replace(C,E)]=b.getPropertyValue(e));else for(c in b)(-1===c.indexOf("Transform")||Ca===c)&&(f[c]=b[c]);else if(b=a.currentStyle||a.style)for(c in b)"string"==typeof c&&void 0===f[c]&&(f[c.replace(C,E)]=b[c]);return U||(f.opacity=V(a)),d=Ra(a,b,!1),f.rotation=d.rotation,f.skewX=d.skewX,f.scaleX=d.scaleX,f.scaleY=d.scaleY,f.x=d.x,f.y=d.y,Fa&&(f.z=d.z,f.rotationX=d.rotationX,f.rotationY=d.rotationY,f.scaleZ=d.scaleZ),f.filters&&delete f.filters,f},da=function(a,b,c,d,e){var f,g,h,i={},j=a.style;for(g in c)"cssText"!==g&&"length"!==g&&isNaN(g)&&(b[g]!==(f=c[g])||e&&e[g])&&-1===g.indexOf("Origin")&&("number"==typeof f||"string"==typeof f)&&(i[g]="auto"!==f||"left"!==g&&"top"!==g?""!==f&&"auto"!==f&&"none"!==f||"string"!=typeof b[g]||""===b[g].replace(v,"")?f:0:ba(a,g),void 0!==j[g]&&(h=new sa(j,g,j[g],h)));if(d)for(g in d)"className"!==g&&(i[g]=d[g]);return{difs:i,firstMPT:h}},ea={width:["Left","Right"],height:["Top","Bottom"]},fa=["marginLeft","marginRight","marginTop","marginBottom"],ga=function(a,b,c){if("svg"===(a.nodeName+"").toLowerCase())return(c||$(a))[b]||0;if(a.getCTM&&Oa(a))return a.getBBox()[b]||0;var d=parseFloat("width"===b?a.offsetWidth:a.offsetHeight),e=ea[b],f=e.length;for(c=c||$(a,null);--f>-1;)d-=parseFloat(_(a,"padding"+e[f],c,!0))||0,d-=parseFloat(_(a,"border"+e[f]+"Width",c,!0))||0;return d},ha=function(a,b){if("contain"===a||"auto"===a||"auto auto"===a)return a+" ";(null==a||""===a)&&(a="0 0");var c,d=a.split(" "),e=-1!==a.indexOf("left")?"0%":-1!==a.indexOf("right")?"100%":d[0],f=-1!==a.indexOf("top")?"0%":-1!==a.indexOf("bottom")?"100%":d[1];if(d.length>3&&!b){for(d=a.split(", ").join(",").split(","),a=[],c=0;c2?" "+d[2]:""),b&&(b.oxp=-1!==e.indexOf("%"),b.oyp=-1!==f.indexOf("%"),b.oxr="="===e.charAt(1),b.oyr="="===f.charAt(1),b.ox=parseFloat(e.replace(v,"")),b.oy=parseFloat(f.replace(v,"")),b.v=a),b||a},ia=function(a,b){return"function"==typeof a&&(a=a(r,q)),"string"==typeof a&&"="===a.charAt(1)?parseInt(a.charAt(0)+"1",10)*parseFloat(a.substr(2)):parseFloat(a)-parseFloat(b)||0},ja=function(a,b){return"function"==typeof a&&(a=a(r,q)),null==a?b:"string"==typeof a&&"="===a.charAt(1)?parseInt(a.charAt(0)+"1",10)*parseFloat(a.substr(2))+b:parseFloat(a)||0},ka=function(a,b,c,d){var e,f,g,h,i,j=1e-6;return"function"==typeof a&&(a=a(r,q)),null==a?h=b:"number"==typeof a?h=a:(e=360,f=a.split("_"),i="="===a.charAt(1),g=(i?parseInt(a.charAt(0)+"1",10)*parseFloat(f[0].substr(2)):parseFloat(f[0]))*(-1===a.indexOf("rad")?1:L)-(i?0:b),f.length&&(d&&(d[c]=b+g),-1!==a.indexOf("short")&&(g%=e,g!==g%(e/2)&&(g=0>g?g+e:g-e)),-1!==a.indexOf("_cw")&&0>g?g=(g+9999999999*e)%e-(g/e|0)*e:-1!==a.indexOf("ccw")&&g>0&&(g=(g-9999999999*e)%e-(g/e|0)*e)),h=b+g),j>h&&h>-j&&(h=0),h},la={aqua:[0,255,255],lime:[0,255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,255],navy:[0,0,128],white:[255,255,255],fuchsia:[255,0,255],olive:[128,128,0],yellow:[255,255,0],orange:[255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[255,0,0],pink:[255,192,203],cyan:[0,255,255],transparent:[255,255,255,0]},ma=function(a,b,c){return a=0>a?a+1:a>1?a-1:a,255*(1>6*a?b+(c-b)*a*6:.5>a?c:2>3*a?b+(c-b)*(2/3-a)*6:b)+.5|0},na=g.parseColor=function(a,b){var c,d,e,f,g,h,i,j,k,l,m;if(a)if("number"==typeof a)c=[a>>16,a>>8&255,255&a];else{if(","===a.charAt(a.length-1)&&(a=a.substr(0,a.length-1)),la[a])c=la[a];else if("#"===a.charAt(0))4===a.length&&(d=a.charAt(1),e=a.charAt(2),f=a.charAt(3),a="#"+d+d+e+e+f+f),a=parseInt(a.substr(1),16),c=[a>>16,a>>8&255,255&a];else if("hsl"===a.substr(0,3))if(c=m=a.match(s),b){if(-1!==a.indexOf("="))return a.match(t)}else g=Number(c[0])%360/360,h=Number(c[1])/100,i=Number(c[2])/100,e=.5>=i?i*(h+1):i+h-i*h,d=2*i-e,c.length>3&&(c[3]=Number(a[3])),c[0]=ma(g+1/3,d,e),c[1]=ma(g,d,e),c[2]=ma(g-1/3,d,e);else c=a.match(s)||la.transparent;c[0]=Number(c[0]),c[1]=Number(c[1]),c[2]=Number(c[2]),c.length>3&&(c[3]=Number(c[3]))}else c=la.black;return b&&!m&&(d=c[0]/255,e=c[1]/255,f=c[2]/255,j=Math.max(d,e,f),k=Math.min(d,e,f),i=(j+k)/2,j===k?g=h=0:(l=j-k,h=i>.5?l/(2-j-k):l/(j+k),g=j===d?(e-f)/l+(f>e?6:0):j===e?(f-d)/l+2:(d-e)/l+4,g*=60),c[0]=g+.5|0,c[1]=100*h+.5|0,c[2]=100*i+.5|0),c},oa=function(a,b){var c,d,e,f=a.match(pa)||[],g=0,h=f.length?"":a;for(c=0;c0?g[0].replace(s,""):"";return k?e=b?function(a){var b,m,n,o;if("number"==typeof a)a+=l;else if(d&&I.test(a)){for(o=a.replace(I,"|").split("|"),n=0;nn--)for(;++nm--)for(;++mi;i++)h[a[i]]=j[i]=j[i]||j[(i-1)/2>>0];return e.parse(b,h,f,g)}},sa=(S._setPluginRatio=function(a){this.plugin.setRatio(a);for(var b,c,d,e,f,g=this.data,h=g.proxy,i=g.firstMPT,j=1e-6;i;)b=h[i.v],i.r?b=Math.round(b):j>b&&b>-j&&(b=0),i.t[i.p]=b,i=i._next;if(g.autoRotate&&(g.autoRotate.rotation=g.mod?g.mod(h.rotation,this.t):h.rotation),1===a||0===a)for(i=g.firstMPT,f=1===a?"e":"b";i;){if(c=i.t,c.type){if(1===c.type){for(e=c.xs0+c.s+c.xs1,d=1;d0;)i="xn"+g,h=d.p+"_"+i,n[h]=d.data[i],m[h]=d[i],f||(j=new sa(d,i,h,j,d.rxp[i]));d=d._next}return{proxy:m,end:n,firstMPT:j,pt:k}},S.CSSPropTween=function(a,b,d,e,g,h,i,j,k,l,m){this.t=a,this.p=b,this.s=d,this.c=e,this.n=i||b,a instanceof ta||f.push(this.n),this.r=j,this.type=h||0,k&&(this.pr=k,c=!0),this.b=void 0===l?d:l,this.e=void 0===m?d+e:m,g&&(this._next=g,g._prev=this)}),ua=function(a,b,c,d,e,f){var g=new ta(a,b,c,d-c,e,-1,f);return g.b=c,g.e=g.xs0=d,g},va=g.parseComplex=function(a,b,c,d,e,f,h,i,j,l){c=c||f||"","function"==typeof d&&(d=d(r,q)),h=new ta(a,b,0,0,h,l?2:1,null,!1,i,c,d),d+="",e&&pa.test(d+c)&&(d=[c,d],g.colorStringFilter(d),c=d[0],d=d[1]);var m,n,o,p,u,v,w,x,y,z,A,B,C,D=c.split(", ").join(",").split(" "),E=d.split(", ").join(",").split(" "),F=D.length,G=k!==!1;for((-1!==d.indexOf(",")||-1!==c.indexOf(","))&&(D=D.join(" ").replace(I,", ").split(" "),E=E.join(" ").replace(I,", ").split(" "),F=D.length),F!==E.length&&(D=(f||"").split(" "),F=D.length),h.plugin=j,h.setRatio=l,pa.lastIndex=0,m=0;F>m;m++)if(p=D[m],u=E[m],x=parseFloat(p),x||0===x)h.appendXtra("",x,ia(u,x),u.replace(t,""),G&&-1!==u.indexOf("px"),!0);else if(e&&pa.test(p))B=u.indexOf(")")+1,B=")"+(B?u.substr(B):""),C=-1!==u.indexOf("hsl")&&U,p=na(p,C),u=na(u,C),y=p.length+u.length>6,y&&!U&&0===u[3]?(h["xs"+h.l]+=h.l?" transparent":"transparent",h.e=h.e.split(E[m]).join("transparent")):(U||(y=!1),C?h.appendXtra(y?"hsla(":"hsl(",p[0],ia(u[0],p[0]),",",!1,!0).appendXtra("",p[1],ia(u[1],p[1]),"%,",!1).appendXtra("",p[2],ia(u[2],p[2]),y?"%,":"%"+B,!1):h.appendXtra(y?"rgba(":"rgb(",p[0],u[0]-p[0],",",!0,!0).appendXtra("",p[1],u[1]-p[1],",",!0).appendXtra("",p[2],u[2]-p[2],y?",":B,!0),y&&(p=p.length<4?1:p[3],h.appendXtra("",p,(u.length<4?1:u[3])-p,B,!1))),pa.lastIndex=0;else if(v=p.match(s)){if(w=u.match(t),!w||w.length!==v.length)return h;for(o=0,n=0;n0;)j["xn"+wa]=0,j["xs"+wa]="";j.xs0="",j._next=j._prev=j.xfirst=j.data=j.plugin=j.setRatio=j.rxp=null,j.appendXtra=function(a,b,c,d,e,f){var g=this,h=g.l;return g["xs"+h]+=f&&(h||g["xs"+h])?" "+a:a||"",c||0===h||g.plugin?(g.l++,g.type=g.setRatio?2:1,g["xs"+g.l]=d||"",h>0?(g.data["xn"+h]=b+c,g.rxp["xn"+h]=e,g["xn"+h]=b,g.plugin||(g.xfirst=new ta(g,"xn"+h,b,c,g.xfirst||g,0,g.n,e,g.pr),g.xfirst.xs0=0),g):(g.data={s:b+c},g.rxp={},g.s=b,g.c=c,g.r=e,g)):(g["xs"+h]+=b+(d||""),g)};var xa=function(a,b){b=b||{},this.p=b.prefix?Z(a)||a:a,i[a]=i[this.p]=this,this.format=b.formatter||qa(b.defaultValue,b.color,b.collapsible,b.multi),b.parser&&(this.parse=b.parser),this.clrs=b.color,this.multi=b.multi,this.keyword=b.keyword,this.dflt=b.defaultValue,this.pr=b.priority||0},ya=S._registerComplexSpecialProp=function(a,b,c){"object"!=typeof b&&(b={parser:c});var d,e,f=a.split(","),g=b.defaultValue;for(c=c||[g],d=0;dh.length?i.length:h.length,g=0;j>g;g++)b=h[g]=h[g]||this.dflt,c=i[g]=i[g]||this.dflt,m&&(k=b.indexOf(m),l=c.indexOf(m),k!==l&&(-1===l?h[g]=h[g].split(m).join(""):-1===k&&(h[g]+=" "+m)));b=h.join(", "),c=i.join(", ")}return va(a,this.p,b,c,this.clrs,this.dflt,d,this.pr,e,f)},j.parse=function(a,b,c,d,f,g,h){return this.parseComplex(a.style,this.format(_(a,this.p,e,!1,this.dflt)),this.format(b),f,g)},g.registerSpecialProp=function(a,b,c){ya(a,{parser:function(a,d,e,f,g,h,i){var j=new ta(a,e,0,0,g,2,e,!1,c);return j.plugin=h,j.setRatio=b(a,d,f._tween,e),j},priority:c})},g.useSVGTransformAttr=!0;var Aa,Ba="scaleX,scaleY,scaleZ,x,y,z,skewX,skewY,rotation,rotationX,rotationY,perspective,xPercent,yPercent".split(","),Ca=Z("transform"),Da=X+"transform",Ea=Z("transformOrigin"),Fa=null!==Z("perspective"),Ga=S.Transform=function(){this.perspective=parseFloat(g.defaultTransformPerspective)||0,this.force3D=g.defaultForce3D!==!1&&Fa?g.defaultForce3D||"auto":!1},Ha=_gsScope.SVGElement,Ia=function(a,b,c){var d,e=O.createElementNS("http://www.w3.org/2000/svg",a),f=/([a-z])([A-Z])/g;for(d in c)e.setAttributeNS(null,d.replace(f,"$1-$2").toLowerCase(),c[d]);return b.appendChild(e),e},Ja=O.documentElement||{},Ka=function(){var a,b,c,d=p||/Android/i.test(T)&&!_gsScope.chrome;return O.createElementNS&&!d&&(a=Ia("svg",Ja),b=Ia("rect",a,{width:100,height:50,x:100}),c=b.getBoundingClientRect().width,b.style[Ea]="50% 50%",b.style[Ca]="scaleX(0.5)",d=c===b.getBoundingClientRect().width&&!(n&&Fa),Ja.removeChild(a)),d}(),La=function(a,b,c,d,e,f){var h,i,j,k,l,m,n,o,p,q,r,s,t,u,v=a._gsTransform,w=Qa(a,!0);v&&(t=v.xOrigin,u=v.yOrigin),(!d||(h=d.split(" ")).length<2)&&(n=a.getBBox(),0===n.x&&0===n.y&&n.width+n.height===0&&(n={x:parseFloat(a.hasAttribute("x")?a.getAttribute("x"):a.hasAttribute("cx")?a.getAttribute("cx"):0)||0,y:parseFloat(a.hasAttribute("y")?a.getAttribute("y"):a.hasAttribute("cy")?a.getAttribute("cy"):0)||0,width:0,height:0}),b=ha(b).split(" "),h=[(-1!==b[0].indexOf("%")?parseFloat(b[0])/100*n.width:parseFloat(b[0]))+n.x,(-1!==b[1].indexOf("%")?parseFloat(b[1])/100*n.height:parseFloat(b[1]))+n.y]),c.xOrigin=k=parseFloat(h[0]),c.yOrigin=l=parseFloat(h[1]),d&&w!==Pa&&(m=w[0],n=w[1],o=w[2],p=w[3],q=w[4],r=w[5],s=m*p-n*o,s&&(i=k*(p/s)+l*(-o/s)+(o*r-p*q)/s,j=k*(-n/s)+l*(m/s)-(m*r-n*q)/s,k=c.xOrigin=h[0]=i,l=c.yOrigin=h[1]=j)),v&&(f&&(c.xOffset=v.xOffset,c.yOffset=v.yOffset,v=c),e||e!==!1&&g.defaultSmoothOrigin!==!1?(i=k-t,j=l-u,v.xOffset+=i*w[0]+j*w[2]-i,v.yOffset+=i*w[1]+j*w[3]-j):v.xOffset=v.yOffset=0),f||a.setAttribute("data-svg-origin",h.join(" "))},Ma=function(a){var b,c=P("svg",this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),d=this.parentNode,e=this.nextSibling,f=this.style.cssText;if(Ja.appendChild(c),c.appendChild(this),this.style.display="block",a)try{b=this.getBBox(),this._originalGetBBox=this.getBBox,this.getBBox=Ma}catch(g){}else this._originalGetBBox&&(b=this._originalGetBBox());return e?d.insertBefore(this,e):d.appendChild(this),Ja.removeChild(c),this.style.cssText=f,b},Na=function(a){try{return a.getBBox()}catch(b){return Ma.call(a,!0)}},Oa=function(a){return!(!(Ha&&a.getCTM&&Na(a))||a.parentNode&&!a.ownerSVGElement)},Pa=[1,0,0,1,0,0],Qa=function(a,b){var c,d,e,f,g,h,i=a._gsTransform||new Ga,j=1e5,k=a.style;if(Ca?d=_(a,Da,null,!0):a.currentStyle&&(d=a.currentStyle.filter.match(G),d=d&&4===d.length?[d[0].substr(4),Number(d[2].substr(4)),Number(d[1].substr(4)),d[3].substr(4),i.x||0,i.y||0].join(","):""),c=!d||"none"===d||"matrix(1, 0, 0, 1, 0, 0)"===d,c&&Ca&&((h="none"===$(a).display)||!a.parentNode)&&(h&&(f=k.display,k.display="block"),a.parentNode||(g=1,Ja.appendChild(a)),d=_(a,Da,null,!0),c=!d||"none"===d||"matrix(1, 0, 0, 1, 0, 0)"===d,f?k.display=f:h&&Va(k,"display"),g&&Ja.removeChild(a)),(i.svg||a.getCTM&&Oa(a))&&(c&&-1!==(k[Ca]+"").indexOf("matrix")&&(d=k[Ca],c=0),e=a.getAttribute("transform"),c&&e&&(-1!==e.indexOf("matrix")?(d=e,c=0):-1!==e.indexOf("translate")&&(d="matrix(1,0,0,1,"+e.match(/(?:\-|\b)[\d\-\.e]+\b/gi).join(",")+")",c=0))),c)return Pa;for(e=(d||"").match(s)||[],wa=e.length;--wa>-1;)f=Number(e[wa]),e[wa]=(g=f-(f|=0))?(g*j+(0>g?-.5:.5)|0)/j+f:f;return b&&e.length>6?[e[0],e[1],e[4],e[5],e[12],e[13]]:e},Ra=S.getTransform=function(a,c,d,e){if(a._gsTransform&&d&&!e)return a._gsTransform;var f,h,i,j,k,l,m=d?a._gsTransform||new Ga:new Ga,n=m.scaleX<0,o=2e-5,p=1e5,q=Fa?parseFloat(_(a,Ea,c,!1,"0 0 0").split(" ")[2])||m.zOrigin||0:0,r=parseFloat(g.defaultTransformPerspective)||0;if(m.svg=!(!a.getCTM||!Oa(a)),m.svg&&(La(a,_(a,Ea,c,!1,"50% 50%")+"",m,a.getAttribute("data-svg-origin")),Aa=g.useSVGTransformAttr||Ka),f=Qa(a),f!==Pa){if(16===f.length){var s,t,u,v,w,x=f[0],y=f[1],z=f[2],A=f[3],B=f[4],C=f[5],D=f[6],E=f[7],F=f[8],G=f[9],H=f[10],I=f[12],J=f[13],K=f[14],M=f[11],N=Math.atan2(D,H);m.zOrigin&&(K=-m.zOrigin,I=F*K-f[12],J=G*K-f[13],K=H*K+m.zOrigin-f[14]),m.rotationX=N*L,N&&(v=Math.cos(-N),w=Math.sin(-N),s=B*v+F*w,t=C*v+G*w,u=D*v+H*w,F=B*-w+F*v,G=C*-w+G*v,H=D*-w+H*v,M=E*-w+M*v,B=s,C=t,D=u),N=Math.atan2(-z,H),m.rotationY=N*L,N&&(v=Math.cos(-N),w=Math.sin(-N),s=x*v-F*w,t=y*v-G*w,u=z*v-H*w,G=y*w+G*v,H=z*w+H*v,M=A*w+M*v,x=s,y=t,z=u),N=Math.atan2(y,x),m.rotation=N*L,N&&(v=Math.cos(-N),w=Math.sin(-N),x=x*v+B*w,t=y*v+C*w,C=y*-w+C*v,D=z*-w+D*v,y=t),m.rotationX&&Math.abs(m.rotationX)+Math.abs(m.rotation)>359.9&&(m.rotationX=m.rotation=0,m.rotationY=180-m.rotationY),m.scaleX=(Math.sqrt(x*x+y*y)*p+.5|0)/p,m.scaleY=(Math.sqrt(C*C+G*G)*p+.5|0)/p,m.scaleZ=(Math.sqrt(D*D+H*H)*p+.5|0)/p,m.rotationX||m.rotationY?m.skewX=0:(m.skewX=B||C?Math.atan2(B,C)*L+m.rotation:m.skewX||0,Math.abs(m.skewX)>90&&Math.abs(m.skewX)<270&&(n?(m.scaleX*=-1,m.skewX+=m.rotation<=0?180:-180,m.rotation+=m.rotation<=0?180:-180):(m.scaleY*=-1,m.skewX+=m.skewX<=0?180:-180))),m.perspective=M?1/(0>M?-M:M):0,m.x=I,m.y=J,m.z=K,m.svg&&(m.x-=m.xOrigin-(m.xOrigin*x-m.yOrigin*B),m.y-=m.yOrigin-(m.yOrigin*y-m.xOrigin*C))}else if(!Fa||e||!f.length||m.x!==f[4]||m.y!==f[5]||!m.rotationX&&!m.rotationY){var O=f.length>=6,P=O?f[0]:1,Q=f[1]||0,R=f[2]||0,S=O?f[3]:1;m.x=f[4]||0,m.y=f[5]||0,i=Math.sqrt(P*P+Q*Q),j=Math.sqrt(S*S+R*R),k=P||Q?Math.atan2(Q,P)*L:m.rotation||0,l=R||S?Math.atan2(R,S)*L+k:m.skewX||0,Math.abs(l)>90&&Math.abs(l)<270&&(n?(i*=-1,l+=0>=k?180:-180,k+=0>=k?180:-180):(j*=-1,l+=0>=l?180:-180)),m.scaleX=i,m.scaleY=j,m.rotation=k,m.skewX=l,Fa&&(m.rotationX=m.rotationY=m.z=0,m.perspective=r,m.scaleZ=1),m.svg&&(m.x-=m.xOrigin-(m.xOrigin*P+m.yOrigin*R),m.y-=m.yOrigin-(m.xOrigin*Q+m.yOrigin*S))}m.zOrigin=q;for(h in m)m[h]-o&&(m[h]=0)}return d&&(a._gsTransform=m,m.svg&&(Aa&&a.style[Ca]?b.delayedCall(.001,function(){Va(a.style,Ca)}):!Aa&&a.getAttribute("transform")&&b.delayedCall(.001,function(){a.removeAttribute("transform")}))),m},Sa=function(a){var b,c,d=this.data,e=-d.rotation*K,f=e+d.skewX*K,g=1e5,h=(Math.cos(e)*d.scaleX*g|0)/g,i=(Math.sin(e)*d.scaleX*g|0)/g,j=(Math.sin(f)*-d.scaleY*g|0)/g,k=(Math.cos(f)*d.scaleY*g|0)/g,l=this.t.style,m=this.t.currentStyle;if(m){c=i,i=-j,j=-c,b=m.filter,l.filter="";var n,o,q=this.t.offsetWidth,r=this.t.offsetHeight,s="absolute"!==m.position,t="progid:DXImageTransform.Microsoft.Matrix(M11="+h+", M12="+i+", M21="+j+", M22="+k,u=d.x+q*d.xPercent/100,v=d.y+r*d.yPercent/100;if(null!=d.ox&&(n=(d.oxp?q*d.ox*.01:d.ox)-q/2,o=(d.oyp?r*d.oy*.01:d.oy)-r/2,u+=n-(n*h+o*i),v+=o-(n*j+o*k)),s?(n=q/2,o=r/2,t+=", Dx="+(n-(n*h+o*i)+u)+", Dy="+(o-(n*j+o*k)+v)+")"):t+=", sizingMethod='auto expand')",-1!==b.indexOf("DXImageTransform.Microsoft.Matrix(")?l.filter=b.replace(H,t):l.filter=t+" "+b,(0===a||1===a)&&1===h&&0===i&&0===j&&1===k&&(s&&-1===t.indexOf("Dx=0, Dy=0")||x.test(b)&&100!==parseFloat(RegExp.$1)||-1===b.indexOf(b.indexOf("Alpha"))&&l.removeAttribute("filter")),!s){var y,z,A,B=8>p?1:-1;for(n=d.ieOffsetX||0,o=d.ieOffsetY||0,d.ieOffsetX=Math.round((q-((0>h?-h:h)*q+(0>i?-i:i)*r))/2+u),d.ieOffsetY=Math.round((r-((0>k?-k:k)*r+(0>j?-j:j)*q))/2+v),wa=0;4>wa;wa++)z=fa[wa],y=m[z],c=-1!==y.indexOf("px")?parseFloat(y):aa(this.t,z,parseFloat(y),y.replace(w,""))||0,A=c!==d[z]?2>wa?-d.ieOffsetX:-d.ieOffsetY:2>wa?n-d.ieOffsetX:o-d.ieOffsetY,l[z]=(d[z]=Math.round(c-A*(0===wa||2===wa?1:B)))+"px"}}},Ta=S.set3DTransformRatio=S.setTransformRatio=function(a){var b,c,d,e,f,g,h,i,j,k,l,m,o,p,q,r,s,t,u,v,w,x,y,z=this.data,A=this.t.style,B=z.rotation,C=z.rotationX,D=z.rotationY,E=z.scaleX,F=z.scaleY,G=z.scaleZ,H=z.x,I=z.y,J=z.z,L=z.svg,M=z.perspective,N=z.force3D,O=z.skewY,P=z.skewX;if(O&&(P+=O,B+=O),((1===a||0===a)&&"auto"===N&&(this.tween._totalTime===this.tween._totalDuration||!this.tween._totalTime)||!N)&&!J&&!M&&!D&&!C&&1===G||Aa&&L||!Fa)return void(B||P||L?(B*=K,x=P*K,y=1e5,c=Math.cos(B)*E,f=Math.sin(B)*E,d=Math.sin(B-x)*-F,g=Math.cos(B-x)*F,x&&"simple"===z.skewType&&(b=Math.tan(x-O*K),b=Math.sqrt(1+b*b),d*=b,g*=b,O&&(b=Math.tan(O*K),b=Math.sqrt(1+b*b),c*=b,f*=b)),L&&(H+=z.xOrigin-(z.xOrigin*c+z.yOrigin*d)+z.xOffset,I+=z.yOrigin-(z.xOrigin*f+z.yOrigin*g)+z.yOffset,Aa&&(z.xPercent||z.yPercent)&&(q=this.t.getBBox(),H+=.01*z.xPercent*q.width,I+=.01*z.yPercent*q.height),q=1e-6,q>H&&H>-q&&(H=0),q>I&&I>-q&&(I=0)),u=(c*y|0)/y+","+(f*y|0)/y+","+(d*y|0)/y+","+(g*y|0)/y+","+H+","+I+")",L&&Aa?this.t.setAttribute("transform","matrix("+u):A[Ca]=(z.xPercent||z.yPercent?"translate("+z.xPercent+"%,"+z.yPercent+"%) matrix(":"matrix(")+u):A[Ca]=(z.xPercent||z.yPercent?"translate("+z.xPercent+"%,"+z.yPercent+"%) matrix(":"matrix(")+E+",0,0,"+F+","+H+","+I+")");if(n&&(q=1e-4,q>E&&E>-q&&(E=G=2e-5),q>F&&F>-q&&(F=G=2e-5),!M||z.z||z.rotationX||z.rotationY||(M=0)),B||P)B*=K,r=c=Math.cos(B),s=f=Math.sin(B),P&&(B-=P*K,r=Math.cos(B),s=Math.sin(B),"simple"===z.skewType&&(b=Math.tan((P-O)*K),b=Math.sqrt(1+b*b),r*=b,s*=b,z.skewY&&(b=Math.tan(O*K),b=Math.sqrt(1+b*b),c*=b,f*=b))),d=-s,g=r;else{if(!(D||C||1!==G||M||L))return void(A[Ca]=(z.xPercent||z.yPercent?"translate("+z.xPercent+"%,"+z.yPercent+"%) translate3d(":"translate3d(")+H+"px,"+I+"px,"+J+"px)"+(1!==E||1!==F?" scale("+E+","+F+")":""));c=g=1,d=f=0}k=1,e=h=i=j=l=m=0,o=M?-1/M:0,p=z.zOrigin,q=1e-6,v=",",w="0",B=D*K,B&&(r=Math.cos(B),s=Math.sin(B),i=-s,l=o*-s,e=c*s,h=f*s,k=r,o*=r,c*=r,f*=r),B=C*K,B&&(r=Math.cos(B),s=Math.sin(B),b=d*r+e*s,t=g*r+h*s,j=k*s,m=o*s,e=d*-s+e*r,h=g*-s+h*r,k*=r,o*=r,d=b,g=t),1!==G&&(e*=G,h*=G,k*=G,o*=G),1!==F&&(d*=F,g*=F,j*=F,m*=F),1!==E&&(c*=E,f*=E,i*=E,l*=E),(p||L)&&(p&&(H+=e*-p,I+=h*-p,J+=k*-p+p),L&&(H+=z.xOrigin-(z.xOrigin*c+z.yOrigin*d)+z.xOffset,I+=z.yOrigin-(z.xOrigin*f+z.yOrigin*g)+z.yOffset),q>H&&H>-q&&(H=w),q>I&&I>-q&&(I=w),q>J&&J>-q&&(J=0)),u=z.xPercent||z.yPercent?"translate("+z.xPercent+"%,"+z.yPercent+"%) matrix3d(":"matrix3d(",u+=(q>c&&c>-q?w:c)+v+(q>f&&f>-q?w:f)+v+(q>i&&i>-q?w:i),u+=v+(q>l&&l>-q?w:l)+v+(q>d&&d>-q?w:d)+v+(q>g&&g>-q?w:g),C||D||1!==G?(u+=v+(q>j&&j>-q?w:j)+v+(q>m&&m>-q?w:m)+v+(q>e&&e>-q?w:e),u+=v+(q>h&&h>-q?w:h)+v+(q>k&&k>-q?w:k)+v+(q>o&&o>-q?w:o)+v):u+=",0,0,0,0,1,0,",u+=H+v+I+v+J+v+(M?1+-J/M:1)+")",A[Ca]=u};j=Ga.prototype,j.x=j.y=j.z=j.skewX=j.skewY=j.rotation=j.rotationX=j.rotationY=j.zOrigin=j.xPercent=j.yPercent=j.xOffset=j.yOffset=0,j.scaleX=j.scaleY=j.scaleZ=1,ya("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,svgOrigin,transformPerspective,directionalRotation,parseTransform,force3D,skewType,xPercent,yPercent,smoothOrigin",{parser:function(a,b,c,d,f,h,i){if(d._lastParsedTransform===i)return f;d._lastParsedTransform=i;var j,k=i.scale&&"function"==typeof i.scale?i.scale:0;"function"==typeof i[c]&&(j=i[c],i[c]=b),k&&(i.scale=k(r,a));var l,m,n,o,p,s,t,u,v,w=a._gsTransform,x=a.style,y=1e-6,z=Ba.length,A=i,B={},C="transformOrigin",D=Ra(a,e,!0,A.parseTransform),E=A.transform&&("function"==typeof A.transform?A.transform(r,q):A.transform);if(d._transform=D,E&&"string"==typeof E&&Ca)m=Q.style,m[Ca]=E,m.display="block",m.position="absolute",O.body.appendChild(Q),l=Ra(Q,null,!1),D.svg&&(s=D.xOrigin,t=D.yOrigin,l.x-=D.xOffset,l.y-=D.yOffset,(A.transformOrigin||A.svgOrigin)&&(E={},La(a,ha(A.transformOrigin),E,A.svgOrigin,A.smoothOrigin,!0),s=E.xOrigin,t=E.yOrigin,l.x-=E.xOffset-D.xOffset,l.y-=E.yOffset-D.yOffset),(s||t)&&(u=Qa(Q,!0),l.x-=s-(s*u[0]+t*u[2]),l.y-=t-(s*u[1]+t*u[3]))),O.body.removeChild(Q),l.perspective||(l.perspective=D.perspective),null!=A.xPercent&&(l.xPercent=ja(A.xPercent,D.xPercent)),null!=A.yPercent&&(l.yPercent=ja(A.yPercent,D.yPercent));else if("object"==typeof A){if(l={scaleX:ja(null!=A.scaleX?A.scaleX:A.scale,D.scaleX),scaleY:ja(null!=A.scaleY?A.scaleY:A.scale,D.scaleY),scaleZ:ja(A.scaleZ,D.scaleZ),x:ja(A.x,D.x),y:ja(A.y,D.y),z:ja(A.z,D.z),xPercent:ja(A.xPercent,D.xPercent),yPercent:ja(A.yPercent,D.yPercent),perspective:ja(A.transformPerspective,D.perspective)},p=A.directionalRotation,null!=p)if("object"==typeof p)for(m in p)A[m]=p[m];else A.rotation=p;"string"==typeof A.x&&-1!==A.x.indexOf("%")&&(l.x=0,l.xPercent=ja(A.x,D.xPercent)),"string"==typeof A.y&&-1!==A.y.indexOf("%")&&(l.y=0,l.yPercent=ja(A.y,D.yPercent)),l.rotation=ka("rotation"in A?A.rotation:"shortRotation"in A?A.shortRotation+"_short":"rotationZ"in A?A.rotationZ:D.rotation,D.rotation,"rotation",B),Fa&&(l.rotationX=ka("rotationX"in A?A.rotationX:"shortRotationX"in A?A.shortRotationX+"_short":D.rotationX||0,D.rotationX,"rotationX",B),l.rotationY=ka("rotationY"in A?A.rotationY:"shortRotationY"in A?A.shortRotationY+"_short":D.rotationY||0,D.rotationY,"rotationY",B)),l.skewX=ka(A.skewX,D.skewX),l.skewY=ka(A.skewY,D.skewY)}for(Fa&&null!=A.force3D&&(D.force3D=A.force3D,o=!0),D.skewType=A.skewType||D.skewType||g.defaultSkewType,n=D.force3D||D.z||D.rotationX||D.rotationY||l.z||l.rotationX||l.rotationY||l.perspective,n||null==A.scale||(l.scaleZ=1);--z>-1;)v=Ba[z],E=l[v]-D[v],(E>y||-y>E||null!=A[v]||null!=M[v])&&(o=!0,f=new ta(D,v,D[v],E,f),v in B&&(f.e=B[v]),f.xs0=0,f.plugin=h,d._overwriteProps.push(f.n));return E=A.transformOrigin,D.svg&&(E||A.svgOrigin)&&(s=D.xOffset,t=D.yOffset,La(a,ha(E),l,A.svgOrigin,A.smoothOrigin),f=ua(D,"xOrigin",(w?D:l).xOrigin,l.xOrigin,f,C),f=ua(D,"yOrigin",(w?D:l).yOrigin,l.yOrigin,f,C),(s!==D.xOffset||t!==D.yOffset)&&(f=ua(D,"xOffset",w?s:D.xOffset,D.xOffset,f,C),f=ua(D,"yOffset",w?t:D.yOffset,D.yOffset,f,C)),E="0px 0px"),(E||Fa&&n&&D.zOrigin)&&(Ca?(o=!0,v=Ea,E=(E||_(a,v,e,!1,"50% 50%"))+"",f=new ta(x,v,0,0,f,-1,C),f.b=x[v],f.plugin=h,Fa?(m=D.zOrigin,E=E.split(" "),D.zOrigin=(E.length>2&&(0===m||"0px"!==E[2])?parseFloat(E[2]):m)||0,f.xs0=f.e=E[0]+" "+(E[1]||"50%")+" 0px",f=new ta(D,"zOrigin",0,0,f,-1,f.n),f.b=m,f.xs0=f.e=D.zOrigin):f.xs0=f.e=E):ha(E+"",D)),o&&(d._transformType=D.svg&&Aa||!n&&3!==this._transformType?2:3),j&&(i[c]=j),k&&(i.scale=k),f},prefix:!0}),ya("boxShadow",{defaultValue:"0px 0px 0px 0px #999",prefix:!0,color:!0,multi:!0,keyword:"inset"}),ya("borderRadius",{defaultValue:"0px",parser:function(a,b,c,f,g,h){b=this.format(b);var i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],z=a.style;for(q=parseFloat(a.offsetWidth),r=parseFloat(a.offsetHeight),i=b.split(" "),j=0;jp?1:0))||""):(p=parseFloat(n),s=n.substr((p+"").length)),""===s&&(s=d[c]||t),s!==t&&(v=aa(a,"borderLeft",o,t),w=aa(a,"borderTop",o,t),"%"===s?(m=v/q*100+"%",l=w/r*100+"%"):"em"===s?(x=aa(a,"borderLeft",1,"em"),m=v/x+"em",l=w/x+"em"):(m=v+"px",l=w+"px"),u&&(n=parseFloat(m)+p+s,k=parseFloat(l)+p+s)),g=va(z,y[j],m+" "+l,n+" "+k,!1,"0px",g);return g},prefix:!0,formatter:qa("0px 0px 0px 0px",!1,!0)}),ya("borderBottomLeftRadius,borderBottomRightRadius,borderTopLeftRadius,borderTopRightRadius",{defaultValue:"0px",parser:function(a,b,c,d,f,g){return va(a.style,c,this.format(_(a,c,e,!1,"0px 0px")),this.format(b),!1,"0px",f)},prefix:!0,formatter:qa("0px 0px",!1,!0)}),ya("backgroundPosition",{defaultValue:"0 0",parser:function(a,b,c,d,f,g){var h,i,j,k,l,m,n="background-position",o=e||$(a,null),q=this.format((o?p?o.getPropertyValue(n+"-x")+" "+o.getPropertyValue(n+"-y"):o.getPropertyValue(n):a.currentStyle.backgroundPositionX+" "+a.currentStyle.backgroundPositionY)||"0 0"),r=this.format(b);if(-1!==q.indexOf("%")!=(-1!==r.indexOf("%"))&&r.split(",").length<2&&(m=_(a,"backgroundImage").replace(D,""),m&&"none"!==m)){for(h=q.split(" "),i=r.split(" "),R.setAttribute("src",m),j=2;--j>-1;)q=h[j],k=-1!==q.indexOf("%"),k!==(-1!==i[j].indexOf("%"))&&(l=0===j?a.offsetWidth-R.width:a.offsetHeight-R.height,h[j]=k?parseFloat(q)/100*l+"px":parseFloat(q)/l*100+"%");q=h.join(" ")}return this.parseComplex(a.style,q,r,f,g)},formatter:ha}),ya("backgroundSize",{defaultValue:"0 0",formatter:function(a){return a+="",ha(-1===a.indexOf(" ")?a+" "+a:a)}}),ya("perspective",{defaultValue:"0px",prefix:!0}),ya("perspectiveOrigin",{defaultValue:"50% 50%",prefix:!0}),ya("transformStyle",{prefix:!0}),ya("backfaceVisibility",{prefix:!0}),ya("userSelect",{prefix:!0}),ya("margin",{parser:ra("marginTop,marginRight,marginBottom,marginLeft")}),ya("padding",{parser:ra("paddingTop,paddingRight,paddingBottom,paddingLeft")}),ya("clip",{defaultValue:"rect(0px,0px,0px,0px)",parser:function(a,b,c,d,f,g){var h,i,j;return 9>p?(i=a.currentStyle,j=8>p?" ":",",h="rect("+i.clipTop+j+i.clipRight+j+i.clipBottom+j+i.clipLeft+")",
b=this.format(b).split(",").join(j)):(h=this.format(_(a,this.p,e,!1,this.dflt)),b=this.format(b)),this.parseComplex(a.style,h,b,f,g)}}),ya("textShadow",{defaultValue:"0px 0px 0px #999",color:!0,multi:!0}),ya("autoRound,strictUnits",{parser:function(a,b,c,d,e){return e}}),ya("border",{defaultValue:"0px solid #000",parser:function(a,b,c,d,f,g){var h=_(a,"borderTopWidth",e,!1,"0px"),i=this.format(b).split(" "),j=i[0].replace(w,"");return"px"!==j&&(h=parseFloat(h)/aa(a,"borderTopWidth",1,j)+j),this.parseComplex(a.style,this.format(h+" "+_(a,"borderTopStyle",e,!1,"solid")+" "+_(a,"borderTopColor",e,!1,"#000")),i.join(" "),f,g)},color:!0,formatter:function(a){var b=a.split(" ");return b[0]+" "+(b[1]||"solid")+" "+(a.match(pa)||["#000"])[0]}}),ya("borderWidth",{parser:ra("borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth")}),ya("float,cssFloat,styleFloat",{parser:function(a,b,c,d,e,f){var g=a.style,h="cssFloat"in g?"cssFloat":"styleFloat";return new ta(g,h,0,0,e,-1,c,!1,0,g[h],b)}});var Ua=function(a){var b,c=this.t,d=c.filter||_(this.data,"filter")||"",e=this.s+this.c*a|0;100===e&&(-1===d.indexOf("atrix(")&&-1===d.indexOf("radient(")&&-1===d.indexOf("oader(")?(c.removeAttribute("filter"),b=!_(this.data,"filter")):(c.filter=d.replace(z,""),b=!0)),b||(this.xn1&&(c.filter=d=d||"alpha(opacity="+e+")"),-1===d.indexOf("pacity")?0===e&&this.xn1||(c.filter=d+" alpha(opacity="+e+")"):c.filter=d.replace(x,"opacity="+e))};ya("opacity,alpha,autoAlpha",{defaultValue:"1",parser:function(a,b,c,d,f,g){var h=parseFloat(_(a,"opacity",e,!1,"1")),i=a.style,j="autoAlpha"===c;return"string"==typeof b&&"="===b.charAt(1)&&(b=("-"===b.charAt(0)?-1:1)*parseFloat(b.substr(2))+h),j&&1===h&&"hidden"===_(a,"visibility",e)&&0!==b&&(h=0),U?f=new ta(i,"opacity",h,b-h,f):(f=new ta(i,"opacity",100*h,100*(b-h),f),f.xn1=j?1:0,i.zoom=1,f.type=2,f.b="alpha(opacity="+f.s+")",f.e="alpha(opacity="+(f.s+f.c)+")",f.data=a,f.plugin=g,f.setRatio=Ua),j&&(f=new ta(i,"visibility",0,0,f,-1,null,!1,0,0!==h?"inherit":"hidden",0===b?"hidden":"inherit"),f.xs0="inherit",d._overwriteProps.push(f.n),d._overwriteProps.push(c)),f}});var Va=function(a,b){b&&(a.removeProperty?(("ms"===b.substr(0,2)||"webkit"===b.substr(0,6))&&(b="-"+b),a.removeProperty(b.replace(B,"-$1").toLowerCase())):a.removeAttribute(b))},Wa=function(a){if(this.t._gsClassPT=this,1===a||0===a){this.t.setAttribute("class",0===a?this.b:this.e);for(var b=this.data,c=this.t.style;b;)b.v?c[b.p]=b.v:Va(c,b.p),b=b._next;1===a&&this.t._gsClassPT===this&&(this.t._gsClassPT=null)}else this.t.getAttribute("class")!==this.e&&this.t.setAttribute("class",this.e)};ya("className",{parser:function(a,b,d,f,g,h,i){var j,k,l,m,n,o=a.getAttribute("class")||"",p=a.style.cssText;if(g=f._classNamePT=new ta(a,d,0,0,g,2),g.setRatio=Wa,g.pr=-11,c=!0,g.b=o,k=ca(a,e),l=a._gsClassPT){for(m={},n=l.data;n;)m[n.p]=1,n=n._next;l.setRatio(1)}return a._gsClassPT=g,g.e="="!==b.charAt(1)?b:o.replace(new RegExp("(?:\\s|^)"+b.substr(2)+"(?![\\w-])"),"")+("+"===b.charAt(0)?" "+b.substr(2):""),a.setAttribute("class",g.e),j=da(a,k,ca(a),i,m),a.setAttribute("class",o),g.data=j.firstMPT,a.style.cssText=p,g=g.xfirst=f.parse(a,j.difs,g,h)}});var Xa=function(a){if((1===a||0===a)&&this.data._totalTime===this.data._totalDuration&&"isFromStart"!==this.data.data){var b,c,d,e,f,g=this.t.style,h=i.transform.parse;if("all"===this.e)g.cssText="",e=!0;else for(b=this.e.split(" ").join("").split(","),d=b.length;--d>-1;)c=b[d],i[c]&&(i[c].parse===h?e=!0:c="transformOrigin"===c?Ea:i[c].p),Va(g,c);e&&(Va(g,Ca),f=this.t._gsTransform,f&&(f.svg&&(this.t.removeAttribute("data-svg-origin"),this.t.removeAttribute("transform")),delete this.t._gsTransform))}};for(ya("clearProps",{parser:function(a,b,d,e,f){return f=new ta(a,d,0,0,f,2),f.setRatio=Xa,f.e=b,f.pr=-10,f.data=e._tween,c=!0,f}}),j="bezier,throwProps,physicsProps,physics2D".split(","),wa=j.length;wa--;)za(j[wa]);j=g.prototype,j._firstPT=j._lastParsedTransform=j._transform=null,j._onInitTween=function(a,b,h,j){if(!a.nodeType)return!1;this._target=q=a,this._tween=h,this._vars=b,r=j,k=b.autoRound,c=!1,d=b.suffixMap||g.suffixMap,e=$(a,""),f=this._overwriteProps;var n,p,s,t,u,v,w,x,z,A=a.style;if(l&&""===A.zIndex&&(n=_(a,"zIndex",e),("auto"===n||""===n)&&this._addLazySet(A,"zIndex",0)),"string"==typeof b&&(t=A.cssText,n=ca(a,e),A.cssText=t+";"+b,n=da(a,n,ca(a)).difs,!U&&y.test(b)&&(n.opacity=parseFloat(RegExp.$1)),b=n,A.cssText=t),b.className?this._firstPT=p=i.className.parse(a,b.className,"className",this,null,null,b):this._firstPT=p=this.parse(a,b,null),this._transformType){for(z=3===this._transformType,Ca?m&&(l=!0,""===A.zIndex&&(w=_(a,"zIndex",e),("auto"===w||""===w)&&this._addLazySet(A,"zIndex",0)),o&&this._addLazySet(A,"WebkitBackfaceVisibility",this._vars.WebkitBackfaceVisibility||(z?"visible":"hidden"))):A.zoom=1,s=p;s&&s._next;)s=s._next;x=new ta(a,"transform",0,0,null,2),this._linkCSSP(x,null,s),x.setRatio=Ca?Ta:Sa,x.data=this._transform||Ra(a,e,!0),x.tween=h,x.pr=-1,f.pop()}if(c){for(;p;){for(v=p._next,s=t;s&&s.pr>p.pr;)s=s._next;(p._prev=s?s._prev:u)?p._prev._next=p:t=p,(p._next=s)?s._prev=p:u=p,p=v}this._firstPT=t}return!0},j.parse=function(a,b,c,f){var g,h,j,l,m,n,o,p,s,t,u=a.style;for(g in b)n=b[g],"function"==typeof n&&(n=n(r,q)),h=i[g],h?c=h.parse(a,n,g,this,c,f,b):(m=_(a,g,e)+"",s="string"==typeof n,"color"===g||"fill"===g||"stroke"===g||-1!==g.indexOf("Color")||s&&A.test(n)?(s||(n=na(n),n=(n.length>3?"rgba(":"rgb(")+n.join(",")+")"),c=va(u,g,m,n,!0,"transparent",c,0,f)):s&&J.test(n)?c=va(u,g,m,n,!0,null,c,0,f):(j=parseFloat(m),o=j||0===j?m.substr((j+"").length):"",(""===m||"auto"===m)&&("width"===g||"height"===g?(j=ga(a,g,e),o="px"):"left"===g||"top"===g?(j=ba(a,g,e),o="px"):(j="opacity"!==g?0:1,o="")),t=s&&"="===n.charAt(1),t?(l=parseInt(n.charAt(0)+"1",10),n=n.substr(2),l*=parseFloat(n),p=n.replace(w,"")):(l=parseFloat(n),p=s?n.replace(w,""):""),""===p&&(p=g in d?d[g]:o),n=l||0===l?(t?l+j:l)+p:b[g],o!==p&&""!==p&&(l||0===l)&&j&&(j=aa(a,g,j,o),"%"===p?(j/=aa(a,g,100,"%")/100,b.strictUnits!==!0&&(m=j+"%")):"em"===p||"rem"===p||"vw"===p||"vh"===p?j/=aa(a,g,1,p):"px"!==p&&(l=aa(a,g,l,p),p="px"),t&&(l||0===l)&&(n=l+j+p)),t&&(l+=j),!j&&0!==j||!l&&0!==l?void 0!==u[g]&&(n||n+""!="NaN"&&null!=n)?(c=new ta(u,g,l||j||0,0,c,-1,g,!1,0,m,n),c.xs0="none"!==n||"display"!==g&&-1===g.indexOf("Style")?n:m):W("invalid "+g+" tween value: "+b[g]):(c=new ta(u,g,j,l-j,c,0,g,k!==!1&&("px"===p||"zIndex"===g),0,m,n),c.xs0=p))),f&&c&&!c.plugin&&(c.plugin=f);return c},j.setRatio=function(a){var b,c,d,e=this._firstPT,f=1e-6;if(1!==a||this._tween._time!==this._tween._duration&&0!==this._tween._time)if(a||this._tween._time!==this._tween._duration&&0!==this._tween._time||this._tween._rawPrevTime===-1e-6)for(;e;){if(b=e.c*a+e.s,e.r?b=Math.round(b):f>b&&b>-f&&(b=0),e.type)if(1===e.type)if(d=e.l,2===d)e.t[e.p]=e.xs0+b+e.xs1+e.xn1+e.xs2;else if(3===d)e.t[e.p]=e.xs0+b+e.xs1+e.xn1+e.xs2+e.xn2+e.xs3;else if(4===d)e.t[e.p]=e.xs0+b+e.xs1+e.xn1+e.xs2+e.xn2+e.xs3+e.xn3+e.xs4;else if(5===d)e.t[e.p]=e.xs0+b+e.xs1+e.xn1+e.xs2+e.xn2+e.xs3+e.xn3+e.xs4+e.xn4+e.xs5;else{for(c=e.xs0+b+e.xs1,d=1;d-1;)Za(a[e],b,c);else for(d=a.childNodes,e=d.length;--e>-1;)f=d[e],g=f.type,f.style&&(b.push(ca(f)),c&&c.push(f)),1!==g&&9!==g&&11!==g||!f.childNodes.length||Za(f,b,c)};return g.cascadeTo=function(a,c,d){var e,f,g,h,i=b.to(a,c,d),j=[i],k=[],l=[],m=[],n=b._internals.reservedProps;for(a=i._targets||i.target,Za(a,k,m),i.render(c,!0,!0),Za(a,l),i.render(0,!0,!0),i._enabled(!0),e=m.length;--e>-1;)if(f=da(m[e],k[e],l[e]),f.firstMPT){f=f.difs;for(g in d)n[g]&&(f[g]=d[g]);h={};for(g in f)h[g]=k[e][g];j.push(b.fromTo(m[e],c,h,f))}return j},a.activate([g]),g},!0)}),_gsScope._gsDefine&&_gsScope._gsQueue.pop()(),function(a){"use strict";var b=function(){return(_gsScope.GreenSockGlobals||_gsScope)[a]};"function"==typeof define&&define.amd?define(["TweenLite"],b):"undefined"!=typeof module&&module.exports&&(require("../TweenLite.js"),module.exports=b())}("CSSPlugin");
/* SPLIT TEXT UTIL */
/*!
* VERSION: 0.5.6
* DATE: 2017-01-17
* UPDATES AND DOCS AT: http://greensock.com
*
* @license Copyright (c) 2008-2017, GreenSock. All rights reserved.
* SplitText is a Club GreenSock membership benefit; You must have a valid membership to use
* this code without violating the terms of use. Visit http://greensock.com/club/ to sign up or get more details.
* This work is subject to the software agreement that was issued with your membership.
*
* @author: Jack Doyle, jack@greensock.com
*/
var _gsScope="undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window;!function(a){"use strict";var b=a.GreenSockGlobals||a,c=function(a){var c,d=a.split("."),e=b;for(c=0;cb;b++)if(c=a[b],j(c))for(d=c.length,d=0;d":">")}},y=d.SplitText=b.SplitText=function(a,b){if("string"==typeof a&&(a=y.selector(a)),!a)throw"cannot split a null element.";this.elements=j(a)?k(a):[a],this.chars=[],this.words=[],this.lines=[],this._originals=[],this.vars=b||{},this.split(b)},z=function(a,b,c){var d=a.nodeType;if(1===d||9===d||11===d)for(a=a.firstChild;a;a=a.nextSibling)z(a,b,c);else(3===d||4===d)&&(a.nodeValue=a.nodeValue.split(b).join(c))},A=function(a,b){for(var c=b.length;--c>-1;)a.push(b[c])},B=function(a){var b,c=[],d=a.length;for(b=0;b!==d;c.push(a[b++]));return c},C=function(a,b,c){for(var d;a&&a!==b;){if(d=a._next||a.nextSibling)return d.textContent.charAt(0)===c;a=a.parentNode||a._parent}return!1},D=function(a){var b,c,d=B(a.childNodes),e=d.length;for(b=0;e>b;b++)c=d[b],c._isSplit?D(c):(b&&3===c.previousSibling.nodeType?c.previousSibling.nodeValue+=3===c.nodeType?c.nodeValue:c.firstChild.nodeValue:3!==c.nodeType&&a.insertBefore(c.firstChild,c),a.removeChild(c))},E=function(a,b,c,d,e,h,j){var k,l,m,n,o,p,q,r,s,t,u,v,w=g(a),x=i(a,"paddingLeft",w),y=-999,B=i(a,"borderBottomWidth",w)+i(a,"borderTopWidth",w),E=i(a,"borderLeftWidth",w)+i(a,"borderRightWidth",w),F=i(a,"paddingTop",w)+i(a,"paddingBottom",w),G=i(a,"paddingLeft",w)+i(a,"paddingRight",w),H=.2*i(a,"fontSize"),I=i(a,"textAlign",w,!0),J=[],K=[],L=[],M=b.wordDelimiter||" ",N=b.span?"span":"div",O=b.type||b.split||"chars,words,lines",P=e&&-1!==O.indexOf("lines")?[]:null,Q=-1!==O.indexOf("words"),R=-1!==O.indexOf("chars"),S="absolute"===b.position||b.absolute===!0,T=b.linesClass,U=-1!==(T||"").indexOf("++"),V=[];for(P&&1===a.children.length&&a.children[0]._isSplit&&(a=a.children[0]),U&&(T=T.split("++").join("")),l=a.getElementsByTagName("*"),m=l.length,o=[],k=0;m>k;k++)o[k]=l[k];if(P||S)for(k=0;m>k;k++)n=o[k],p=n.parentNode===a,(p||S||R&&!Q)&&(v=n.offsetTop,P&&p&&Math.abs(v-y)>H&&"BR"!==n.nodeName&&(q=[],P.push(q),y=v),S&&(n._x=n.offsetLeft,n._y=v,n._w=n.offsetWidth,n._h=n.offsetHeight),P&&((n._isSplit&&p||!R&&p||Q&&p||!Q&&n.parentNode.parentNode===a&&!n.parentNode._isSplit)&&(q.push(n),n._x-=x,C(n,a,M)&&(n._wordEnd=!0)),"BR"===n.nodeName&&n.nextSibling&&"BR"===n.nextSibling.nodeName&&P.push([])));for(k=0;m>k;k++)n=o[k],p=n.parentNode===a,"BR"!==n.nodeName?(S&&(s=n.style,Q||p||(n._x+=n.parentNode._x,n._y+=n.parentNode._y),s.left=n._x+"px",s.top=n._y+"px",s.position="absolute",s.display="block",s.width=n._w+1+"px",s.height=n._h+"px"),!Q&&R?n._isSplit?(n._next=n.nextSibling,n.parentNode.appendChild(n)):n.parentNode._isSplit?(n._parent=n.parentNode,!n.previousSibling&&n.firstChild&&(n.firstChild._isFirst=!0),n.nextSibling&&" "===n.nextSibling.textContent&&!n.nextSibling.nextSibling&&V.push(n.nextSibling),n._next=n.nextSibling&&n.nextSibling._isFirst?null:n.nextSibling,n.parentNode.removeChild(n),o.splice(k--,1),m--):p||(v=!n.nextSibling&&C(n.parentNode,a,M),n.parentNode._parent&&n.parentNode._parent.appendChild(n),v&&n.parentNode.appendChild(f.createTextNode(" ")),b.span&&(n.style.display="inline"),J.push(n)):n.parentNode._isSplit&&!n._isSplit&&""!==n.innerHTML?K.push(n):R&&!n._isSplit&&(b.span&&(n.style.display="inline"),J.push(n))):P||S?(n.parentNode&&n.parentNode.removeChild(n),o.splice(k--,1),m--):Q||a.appendChild(n);for(k=V.length;--k>-1;)V[k].parentNode.removeChild(V[k]);if(P){for(S&&(t=f.createElement(N),a.appendChild(t),u=t.offsetWidth+"px",v=t.offsetParent===a?0:a.offsetLeft,a.removeChild(t)),s=a.style.cssText,a.style.cssText="display:none;";a.firstChild;)a.removeChild(a.firstChild);for(r=" "===M&&(!S||!Q&&!R),k=0;kl;l++)"BR"!==q[l].nodeName&&(n=q[l],t.appendChild(n),r&&n._wordEnd&&t.appendChild(f.createTextNode(" ")),S&&(0===l&&(t.style.top=n._y+"px",t.style.left=x+v+"px"),n.style.top="0px",v&&(n.style.left=n._x-v+"px")));0===m?t.innerHTML=" ":Q||R||(D(t),z(t,String.fromCharCode(160)," ")),S&&(t.style.width=u,t.style.height=n._h+"px"),a.appendChild(t)}a.style.cssText=s}S&&(j>a.clientHeight&&(a.style.height=j-F+"px",a.clientHeighta.clientWidth&&(a.style.width=h-G+"px",a.clientWidth":" ",G=!0,H=f.createElement("div"),I=a.parentNode;for(I.insertBefore(H,a),H.textContent=a.nodeValue,I.removeChild(a),a=H,g=e(a),v=-1!==g.indexOf("<"),b.reduceWhiteSpace!==!1&&(g=g.replace(m," ").replace(l,"")),v&&(g=g.split("<").join("{{LT}}")),k=g.length,h=(" "===g.charAt(0)?E:"")+c(),i=0;k>i;i++)if(p=g.charAt(i),p===D&&g.charAt(i-1)!==D&&i){for(h+=G?F:"",G=!1;g.charAt(i+1)===D;)h+=E,i++;i===k-1?h+=E:")"!==g.charAt(i+1)&&(h+=E+c(),G=!0)}else"{"===p&&"{{LT}}"===g.substr(i,6)?(h+=B?d()+"{{LT}}"+y+">":"{{LT}}",i+=5):p.charCodeAt(0)>=n&&p.charCodeAt(0)<=o||g.charCodeAt(i+1)>=65024&&g.charCodeAt(i+1)<=65039?(w=u(g.substr(i,2)),x=u(g.substr(i+2,2)),j=w>=q&&r>=w&&x>=q&&r>=x||x>=s&&t>=x?4:2,h+=B&&" "!==p?d()+g.substr(i,j)+""+y+">":g.substr(i,j),i+=j-1):h+=B&&" "!==p?d()+p+""+y+">":p;a.outerHTML=h+(G?F:""),v&&z(I,"{{LT}}","<")},G=function(a,b,c,d){var e,f,g=B(a.childNodes),h=g.length,j="absolute"===b.position||b.absolute===!0;if(3!==a.nodeType||h>1){for(b.absolute=!1,e=0;h>e;e++)f=g[e],(3!==f.nodeType||/\S+/.test(f.nodeValue))&&(j&&3!==f.nodeType&&"inline"===i(f,"display",null,!0)&&(f.style.display="inline-block",f.style.position="relative"),f._isSplit=!0,G(f,b,c,d));return b.absolute=j,void(a._isSplit=!0)}F(a,b,c,d)},H=y.prototype;H.split=function(a){this.isSplit&&this.revert(),this.vars=a=a||this.vars,this._originals.length=this.chars.length=this.words.length=this.lines.length=0;for(var b,c,d,e=this.elements.length,f=a.span?"span":"div",g=("absolute"===a.position||a.absolute===!0,x(a.wordsClass,f)),h=x(a.charsClass,f);--e>-1;)d=this.elements[e],this._originals[e]=d.innerHTML,b=d.clientHeight,c=d.clientWidth,G(d,a,g,h),E(d,a,this.chars,this.words,this.lines,c,b);return this.chars.reverse(),this.words.reverse(),this.lines.reverse(),this.isSplit=!0,this},H.revert=function(){if(!this._originals)throw"revert() call wasn't scoped properly.";for(var a=this._originals.length;--a>-1;)this.elements[a].innerHTML=this._originals[a];return this.chars=[],this.words=[],this.lines=[],this.isSplit=!1,this},y.selector=a.$||a.jQuery||function(b){var c=a.$||a.jQuery;return c?(y.selector=c,c(b)):"undefined"==typeof document?b:document.querySelectorAll?document.querySelectorAll(b):document.getElementById("#"===b.charAt(0)?b.substr(1):b)},y.version="0.5.6"}(_gsScope),function(a){"use strict";var b=function(){return(_gsScope.GreenSockGlobals||_gsScope)[a]};"function"==typeof define&&define.amd?define([],b):"undefined"!=typeof module&&module.exports&&(module.exports=b())}("SplitText");
try{
window.GreenSockGlobals = null;
window._gsQueue = null;
window._gsDefine = null;
delete(window.GreenSockGlobals);
delete(window._gsQueue);
delete(window._gsDefine);
} catch(e) {}
try{
window.GreenSockGlobals = oldgs;
window._gsQueue = oldgs_queue;
} catch(e) {}
if (window.tplogs==true)
try {
console.groupEnd();
} catch(e) {}
(function(e,t){
e.waitForImages={hasImageProperties:["backgroundImage","listStyleImage","borderImage","borderCornerImage"]};e.expr[":"].uncached=function(t){var n=document.createElement("img");n.src=t.src;return e(t).is('img[src!=""]')&&!n.complete};e.fn.waitForImages=function(t,n,r){if(e.isPlainObject(arguments[0])){n=t.each;r=t.waitForAll;t=t.finished}t=t||e.noop;n=n||e.noop;r=!!r;if(!e.isFunction(t)||!e.isFunction(n)){throw new TypeError("An invalid callback was supplied.")}return this.each(function(){var i=e(this),s=[];if(r){var o=e.waitForImages.hasImageProperties||[],u=/url\((['"]?)(.*?)\1\)/g;i.find("*").each(function(){var t=e(this);if(t.is("img:uncached")){s.push({src:t.attr("src"),element:t[0]})}e.each(o,function(e,n){var r=t.css(n);if(!r){return true}var i;while(i=u.exec(r)){s.push({src:i[2],element:t[0]})}})})}else{i.find("img:uncached").each(function(){s.push({src:this.src,element:this})})}var f=s.length,l=0;if(f==0){t.call(i[0])}e.each(s,function(r,s){var o=new Image;e(o).bind("load error",function(e){l++;n.call(s.element,l,f,e.type=="load");if(l==f){t.call(i[0]);return false}});o.src=s.src})})};
})(jQuery);
;
/**************************************************************************
* jquery.themepunch.revolution.js - jQuery Plugin for Revolution Slider
* @version: 5.4.8 (10.06.2018)
* @requires jQuery v1.7 or later (tested on 1.9)
* @author ThemePunch
**************************************************************************/
!function(jQuery,undefined){"use strict";var version={core:"5.4.8","revolution.extensions.actions.min.js":"2.1.0","revolution.extensions.carousel.min.js":"1.2.1","revolution.extensions.kenburn.min.js":"1.3.1","revolution.extensions.layeranimation.min.js":"3.6.5","revolution.extensions.navigation.min.js":"1.3.5","revolution.extensions.parallax.min.js":"2.2.3","revolution.extensions.slideanims.min.js":"1.8","revolution.extensions.video.min.js":"2.2.2"};jQuery.fn.extend({revolution:function(i){var e={delay:9e3,responsiveLevels:4064,visibilityLevels:[2048,1024,778,480],gridwidth:960,gridheight:500,minHeight:0,autoHeight:"off",sliderType:"standard",sliderLayout:"auto",fullScreenAutoWidth:"off",fullScreenAlignForce:"off",fullScreenOffsetContainer:"",fullScreenOffset:"0",hideCaptionAtLimit:0,hideAllCaptionAtLimit:0,hideSliderAtLimit:0,disableProgressBar:"off",stopAtSlide:-1,stopAfterLoops:-1,shadow:0,dottedOverlay:"none",startDelay:0,lazyType:"smart",spinner:"spinner0",shuffle:"off",viewPort:{enable:!1,outof:"wait",visible_area:"60%",presize:!1},fallbacks:{isJoomla:!1,panZoomDisableOnMobile:"off",simplifyAll:"on",nextSlideOnWindowFocus:"off",disableFocusListener:!0,ignoreHeightChanges:"off",ignoreHeightChangesSize:0,allowHTML5AutoPlayOnAndroid:!0},parallax:{type:"off",levels:[10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85],origo:"enterpoint",speed:400,bgparallax:"off",opacity:"on",disable_onmobile:"off",ddd_shadow:"on",ddd_bgfreeze:"off",ddd_overflow:"visible",ddd_layer_overflow:"visible",ddd_z_correction:65,ddd_path:"mouse"},scrolleffect:{fade:"off",blur:"off",scale:"off",grayscale:"off",maxblur:10,on_layers:"off",on_slidebg:"off",on_static_layers:"off",on_parallax_layers:"off",on_parallax_static_layers:"off",direction:"both",multiplicator:1.35,multiplicator_layers:.5,tilt:30,disable_on_mobile:"on"},carousel:{easing:punchgs.Power3.easeInOut,speed:800,showLayersAllTime:"off",horizontal_align:"center",vertical_align:"center",infinity:"on",space:0,maxVisibleItems:3,stretch:"off",fadeout:"on",maxRotation:0,minScale:0,vary_fade:"off",vary_rotation:"on",vary_scale:"off",border_radius:"0px",padding_top:0,padding_bottom:0},navigation:{keyboardNavigation:"off",keyboard_direction:"horizontal",mouseScrollNavigation:"off",onHoverStop:"on",touch:{touchenabled:"off",touchOnDesktop:"off",swipe_treshold:75,swipe_min_touches:1,drag_block_vertical:!1,swipe_direction:"horizontal"},arrows:{style:"",enable:!1,hide_onmobile:!1,hide_onleave:!0,hide_delay:200,hide_delay_mobile:1200,hide_under:0,hide_over:9999,tmp:"",rtl:!1,left:{h_align:"left",v_align:"center",h_offset:20,v_offset:0,container:"slider"},right:{h_align:"right",v_align:"center",h_offset:20,v_offset:0,container:"slider"}},bullets:{container:"slider",rtl:!1,style:"",enable:!1,hide_onmobile:!1,hide_onleave:!0,hide_delay:200,hide_delay_mobile:1200,hide_under:0,hide_over:9999,direction:"horizontal",h_align:"left",v_align:"center",space:0,h_offset:20,v_offset:0,tmp:'