/*!
* fullpage 2.7.7
* https://github.com/alvarotrigo/fullpage.js
* @license mit licensed
*
* copyright (c) 2015 alvarotrigo.com - a project by alvaro trigo
*/
! function(e, n) {
"use strict";
"function" == typeof define && define.amd ? define(["jquery"], function(o) {
return n(o, e, e.document, e.math)
}) : "undefined" != typeof exports ? module.exports = n(require("jquery"), e, e.document, e.math) : n(jquery, e, e.document, e.math)
}("undefined" != typeof window ? window : this, function(e, n, o, t, i) {
"use strict";
var l, a = "fullpage-wrapper",
r = "." + a,
s = "fp-scrollable",
c = "." + s,
f = ".slimscrollbar",
d = ".slimscrollrail",
u = "fp-responsive",
p = "fp-notransition",
h = "fp-destroyed",
v = "fp-enabled",
m = "fp-viewing",
g = "active",
s = "." + g,
w = ".section",
y = "fp-section",
x = "." + y,
b = x + s,
t = x + ":first",
c = x + ":last",
k = "fp-tablecell",
a = "." + k,
b = "fp-auto-height",
m = "fp-normal-scroll",
l = "fp-nav",
e = "#" + l,
r = "fp-tooltip",
f = "." + r,
h = "fp-show-active",
q = ".slide",
o = "fp-slide",
z = "." + o,
d = z + s,
i = "fp-slides",
p = "." + i,
v = "fp-slidescontainer",
w = "." + v,
y = "fp-table",
u = "fp-slidesnav",
x = "." + u,
n = x + " a",
k = "fp-controlarrow",
j = "." + k,
q = "fp-prev",
g = "." + q,
j = k + " " + q,
z = j + g,
$ = "fp-next",
_ = "." + $,
ee = k + " " + $,
ne = j + _,
oe = e(n),
te = e(o);
e.fn.fullpage = function(s) {
function c() {
s.css3 && (s.css3 = mn()), s.scrollbar = s.scrollbar || s.hybrid, d(), k(), hn.setallowscrolling(!0), wn = oe.height(), hn.setautoscrolling(s.autoscrolling, "internal");
var n = e(b).find(d);
n.length && (0 !== e(b).index(x) || 0 === e(b).index(x) && 0 !== n.index()) && tn(n), je(), vn(), oe.on("load", function() {
fe()
})
}
function f() {
oe.on("scroll", ce).on("hashchange", he).blur(ve).resize(ke), vn.mousedown(de).mouseup(ie), te.keydown(qe).keyup(ze).on("click touchstart", e + " a", we).on("click touchstart", n, ye).on("click", f, oe), e(x).on("click touchstart", j, pe), s.normalscrollelements && (te.on("mouseenter", s.normalscrollelements, function() {
hn.setmousewheelscrolling(!1)
}), te.on("mouseleave", s.normalscrollelements, function() {
hn.setmousewheelscrolling(!0)
}))
}
function d() {
s.anchors.length || (s.anchors = e(s.sectionselector + "[data-anchor]").map(function() {
return e(this).data("anchor").tostring()
}).get()), s.navigationtooltips.length || (s.navigationtooltips = e(s.sectionselector + "[data-tooltip]").map(function() {
return e(this).data("tooltip").tostring()
}).get())
}
function k() {
vn.css({
height: "100%",
position: "relative"
}), vn.addclass(a), e("html").addclass(v), vn.removeclass(h), ie(), e(x).each(function(n) {
var o = e(this),
t = o.find(z),
i = t.length;
$(o, n), _(o, n), i > 0 ? g(o, t, i) : s.verticalcentered && tn(o)
}), s.fixedelements && s.css3 && e(s.fixedelements).appendto(fn), s.navigation && ae(), s.scrolloverflow ? ("complete" === o.readystate && re(), oe.on("load", re)) : se()
}
function g(n, o, t) {
var i = 100 * t,
l = 100 / t;
o.wrapall('
'), o.parent().wrap(''), n.find(w).css("width", i + "%"), t > 1 && (s.controlarrows && le(n), s.slidesnavigation && dn(n, t)), o.each(function(n) {
e(this).css("width", l + "%"), s.verticalcentered && tn(e(this))
});
var a = n.find(d);
a.length && (0 !== e(b).index(x) || 0 === e(b).index(x) && 0 !== a.index()) ? tn(a) : o.eq(0).addclass(g)
}
function $(n, o) {
o || 0 !== e(b).length || n.addclass(g), n.css("height", wn + "px"), s.paddingtop && n.css("padding-top", s.paddingtop), s.paddingbottom && n.css("padding-bottom", s.paddingbottom), "undefined" != typeof s.sectionscolor[o] && n.css("background-color", s.sectionscolor[o]), "undefined" != typeof s.anchors[o] && n.attr("data-anchor", s.anchors[o])
}
function _(n, o) {
"undefined" != typeof s.anchors[o] && n.hasclass(g) && _e(s.anchors[o], o), s.menu && s.css3 && e(s.menu).closest(r).length && e(s.menu).appendto(fn)
}
function ie() {
e(s.sectionselector).each(function() {
e(this).addclass(y)
}), e(s.slideselector).each(function() {
e(this).addclass(o)
})
}
function le(e) {
e.find(p).after(''), "#fff" != s.controlarrowcolor && (e.find(ne).css("border-color", "transparent transparent transparent " + s.controlarrowcolor), e.find(z).css("border-color", "transparent " + s.controlarrowcolor + " transparent transparent")), s.loophorizontal || e.find(z).hide()
}
function ae() {
fn.append('');
var n = e(e);
n.addclass(function() {
return s.showactivetooltip ? h + " " + s.navigationposition : s.navigationposition
});
for (var o = 0; o < e(x).length; o++) {
var t = "";
s.anchors.length && (t = s.anchors[o]);
var i = '',
l = s.navigationtooltips[o];
"undefined" != typeof l && "" !== l && (i += '' + l + "
"), i += "", n.find("ul").append(i)
}
e(e).css("margin-top", "-" + e(e).height() / 2 + "px"), e(e).find("li").eq(e(b).index(x)).find("a").addclass(g)
}
function re() {
e(x).each(function() {
var n = e(this).find(z);
n.length ? n.each(function() {
on(e(this))
}) : on(e(this))
}), se()
}
function se() {
var n = e(b);
n.addclass("completely"), s.scrolloverflowhandler.afterrender && s.scrolloverflowhandler.afterrender(n), me(n), le(n), e.isfunction(s.afterload) && s.afterload.call(n, n.data("anchor"), n.index(x) + 1), e.isfunction(s.afterrender) && s.afterrender.call(vn)
}
function ce() {
var n;
if (!s.autoscrolling || s.scrollbar) {
for (var t = oe.scrolltop(), i = de(t), l = 0, a = t + oe.height() / 2, r = o.queryselectorall(x), c = 0; c < r.length; ++c) {
var f = r[c];
f.offsettop <= a && (l = c)
}
if (fe(i) && (e(b).hasclass("completely") || e(b).addclass("completely").siblings().removeclass("completely")), n = e(r).eq(l), !n.hasclass(g)) {
eo = !0;
var d = e(b),
u = d.index(x) + 1,
p = en(n),
h = n.data("anchor"),
v = n.index(x) + 1,
m = n.find(d);
if (m.length) var s = m.data("anchor"),
w = m.index();
xn && (n.addclass(g).siblings().removeclass(g), e.isfunction(s.onleave) && s.onleave.call(d, u, v, p), e.isfunction(s.afterload) && s.afterload.call(n, h, v), me(n), _e(h, v - 1), s.anchors.length && (qn = h, un(w, s, h, v))), cleartimeout(jn), jn = settimeout(function() {
eo = !1
}, 100)
}
s.fittosection && (cleartimeout(zn), zn = settimeout(function() {
xn && s.fittosection && (e(b).is(n) && requestanimframe(function() {
yn = !0
}), be(n), requestanimframe(function() {
yn = !1
}))
}, s.fittosectiondelay))
}
}
function fe(n) {
var o = e(b).position().top,
t = o + oe.height();
return "up" == n ? t >= oe.scrolltop() + oe.height() : o <= oe.scrolltop()
}
function de(e) {
var n = e > no ? "down" : "up";
return no = e, n
}
function ue(e, n) {
if (kn.m[e]) {
var o, t;
if ("down" == e ? (o = "bottom", t = hn.movesectiondown) : (o = "top", t = hn.movesectionup), n.length > 0) {
if (!s.scrolloverflowhandler.isscrolled(o, n)) return !0;
t()
} else t()
}
}
function pe(n) {
var o = n.originalevent;
if (!he(n.target) && ve(o)) {
s.autoscrolling && n.preventdefault();
var i = e(b),
l = s.scrolloverflowhandler.scrollable(i);
if (xn && !dn) {
var a = bn(o);
io = a.y, lo = a.x, i.find(p).length && t.abs(to - lo) > t.abs(oo - io) ? t.abs(to - lo) > oe.outerwidth() / 100 * s.touchsensitivity && (to > lo ? kn.m.right && hn.moveslideright() : kn.m.left && hn.moveslideleft()) : s.autoscrolling && t.abs(oo - io) > oe.height() / 100 * s.touchsensitivity && (oo > io ? ue("down", l) : io > oo && ue("up", l))
}
}
}
function he(n, o) {
o = o || 0;
var t = e(n).parent();
return o < s.normalscrollelementtouchthreshold && t.is(s.normalscrollelements) ? !0 : o == s.normalscrollelementtouchthreshold ? !1 : he(t, ++o)
}
function ve(e) {
return "undefined" == typeof e.pointertype || "mouse" != e.pointertype
}
function me(e) {
var n = e.originalevent;
if (s.fittosection && rn.stop(), ve(n)) {
var o = bn(n);
oo = o.y, to = o.x
}
}
function ge(e, n) {
for (var o = 0, i = e.slice(t.max(e.length - n, 1)), l = 0; l < i.length; l++) o += i[l];
return t.ceil(o / n)
}
function se(o) {
var i = (new date).gettime(),
l = e(".completely").hasclass(m);
if (s.autoscrolling && !zn && !l) {
o = o || n.event;
var a = o.wheeldelta || -o.deltay || -o.detail,
r = t.max(-1, t.min(1, a)),
c = "undefined" != typeof o.wheeldeltax || "undefined" != typeof o.deltax,
f = t.abs(o.wheeldeltax) < t.abs(o.wheeldelta) || t.abs(o.deltax) < t.abs(o.deltay) || !c;
nn.length > 149 && nn.shift(), nn.push(t.abs(a)), s.scrollbar && (o.preventdefault ? o.preventdefault() : o.returnvalue = !1);
var d = e(b),
u = s.scrolloverflowhandler.scrollable(d),
p = i - ao;
if (ao = i, p > 200 && (nn = []), xn) {
var h = ge(nn, 10),
v = ge(nn, 70),
m = h >= v;
m && f && (0 > r ? ue("down", u) : ue("up", u))
}
return !1
}
s.fittosection && rn.stop()
}
function we(n, o) {
var t = "undefined" == typeof o ? e(b) : o,
i = t.find(p),
l = i.find(z).length;
if (!(!i.length || dn || 2 > l)) {
var a = i.find(d),
r = null;
if (r = "prev" === n ? a.prev(z) : a.next(z), !r.length) {
if (!s.loophorizontal) return;
r = "prev" === n ? a.siblings(":last") : a.siblings(":first")
}
dn = !0, ne(i, r)
}
}
function ye() {
e(d).each(function() {
tn(e(this), "internal")
})
}
function xe(e, n) {
var o = e.top;
return e.top > ro && (o = o - wn + n.outerheight()), ro = o, o
}
function be(n, o, t) {
requestanimframe(function() {
var i = n.position();
if ("undefined" != typeof i) {
var l = xe(i, n),
a = {
element: n,
callback: o,
ismovementup: t,
dest: i,
dtop: l,
ymovement: en(n),
anchorlink: n.data("anchor"),
sectionindex: n.index(x),
activeslide: n.find(d),
activesection: e(b),
leavingsection: e(b).index(x) + 1,
localisresizing: yn
};
if (!(a.activesection.is(n) && !yn || s.scrollbar && oe.scrolltop() === a.dtop && !n.hasclass(b))) {
if (a.activeslide.length) var r = a.activeslide.data("anchor"),
c = a.activeslide.index();
s.autoscrolling && s.continuousvertical && "undefined" != typeof a.ismovementup && (!a.ismovementup && "up" == a.ymovement || a.ismovementup && "down" == a.ymovement) && (a = ke(a)), (!e.isfunction(s.onleave) || a.localisresizing || s.onleave.call(a.activesection, a.leavingsection, a.sectionindex + 1, a.ymovement) !== !1) && (ee(a.activesection), n.addclass(g).siblings().removeclass(g), me(n), xn = !1, un(c, r, a.anchorlink, a.sectionindex), te(a), qn = a.anchorlink, _e(a.anchorlink, a.sectionindex))
}
}
})
}
function te(n) {
if (s.css3 && s.autoscrolling && !s.scrollbar) {
var o = "translate3d(0px, -" + n.dtop + "px, 0px)";
an(o, !0), s.scrollingspeed ? qn = settimeout(function() {
be(n)
}, s.scrollingspeed) : be(n)
} else {
var t = ce(n);
e(t.element).animate(t.options, s.scrollingspeed, s.easing).promise().done(function() {
s.scrollbar ? settimeout(function() {
be(n)
}, 30) : be(n)
})
}
}
function ce(e) {
var n = {};
return s.autoscrolling && !s.scrollbar ? (n.options = {
top: -e.dtop
}, n.element = r) : (n.options = {
scrolltop: e.dtop
}, n.element = "html, body"), n
}
function ke(n) {
return n.ismovementup ? e(b).before(n.activesection.nextall(x)) : e(b).after(n.activesection.prevall(x).get().reverse()), cn(e(b).position().top), ye(), n.wraparoundelements = n.activesection, n.dest = n.element.position(), n.dtop = n.dest.top, n.ymovement = en(n.element), n
}
function ae(n) {
n.wraparoundelements && n.wraparoundelements.length && (n.ismovementup ? e(t).before(n.wraparoundelements) : e(c).after(n.wraparoundelements), cn(e(b).position().top), ye())
}
function be(n) {
ae(n), n.element.find(".fp-scrollable").mouseover(), e.isfunction(s.afterload) && !n.localisresizing && s.afterload.call(n.element, n.anchorlink, n.sectionindex + 1), le(n.element), n.element.addclass("completely").siblings().removeclass("completely"), xn = !0, e.isfunction(n.callback) && n.callback.call(this)
}
function me(n) {
var n = re(n);
n.find("img[data-src], source[data-src], audio[data-src]").each(function() {
e(this).attr("src", e(this).data("src")), e(this).removeattr("data-src"), e(this).is("source") && e(this).closest("video").get(0).load()
})
}
function le(n) {
var n = re(n);
n.find("video, audio").each(function() {
var n = e(this).get(0);
n.hasattribute("autoplay") && "function" == typeof n.play && n.play()
})
}
function ee(n) {
var n = re(n);
n.find("video, audio").each(function() {
var n = e(this).get(0);
n.hasattribute("autoplay") && "function" == typeof n.play && n.play()
})
}
function re(n) {
var o = n.find(d);
return o.length && (n = e(o)), n
}
function fe() {
var e = n.location.hash.replace("#", "").split("/"),
o = e[0],
t = e[1];
o && (s.animateanchor ? cn(o, t) : hn.silentmoveto(o, t))
}
function he() {
if (!eo && !s.lockanchors) {
var e = n.location.hash.replace("#", "").split("/"),
o = e[0],
t = e[1],
i = "undefined" == typeof qn,
l = "undefined" == typeof qn && "undefined" == typeof t && !dn;
o.length && (o && o !== qn && !i || l || !dn && on != t) && cn(o, t)
}
}
function qe(n) {
cleartimeout($n);
var o = e(":focus");
if (!o.is("textarea") && !o.is("input") && !o.is("select") && s.keyboardscrolling && s.autoscrolling) {
var t = n.which,
i = [40, 38, 32, 33, 34];
e.inarray(t, i) > -1 && n.preventdefault(), zn = n.ctrlkey, $n = settimeout(function() {
ue(n)
}, 150)
}
}
function oe() {
e(this).prev().trigger("click")
}
function ze(e) {
un && (zn = e.ctrlkey)
}
function de(e) {
2 == e.which && (so = e.pagey, vn.on("mousemove", xe))
}
function ie(e) {
2 == e.which && vn.off("mousemove")
}
function pe() {
var n = e(this).closest(x);
e(this).hasclass(q) ? kn.m.left && hn.moveslideleft(n) : kn.m.right && hn.moveslideright(n)
}
function ve() {
un = !1, zn = !1
}
function we(n) {
n.preventdefault();
var o = e(this).parent().index();
be(e(x).eq(o))
}
function ye(n) {
n.preventdefault();
var o = e(this).closest(x).find(p),
t = o.find(z).eq(e(this).closest("li").index());
ne(o, t)
}
function ue(n) {
var o = n.shiftkey;
switch (n.which) {
case 38:
case 33:
kn.k.up && hn.movesectionup();
break;
case 32:
if (o && kn.k.up) {
hn.movesectionup();
break
}
case 40:
case 34:
kn.k.down && hn.movesectiondown();
break;
case 36:
kn.k.up && hn.moveto(1);
break;
case 35:
kn.k.down && hn.moveto(e(x).length);
break;
case 37:
kn.k.left && hn.moveslideleft();
break;
case 39:
kn.k.right && hn.moveslideright();
break;
default:
return
}
}
function xe(e) {
xn && (e.pagey < so ? hn.movesectionup() : e.pagey > so && hn.movesectiondown()), so = e.pagey
}
function ne(n, o) {
var i = o.position(),
l = o.index(),
a = n.closest(x),
r = a.index(x),
c = a.data("anchor"),
f = a.find(x),
d = hn(o),
u = a.find(d),
p = yn;
if (s.onslideleave) {
var h = u.index(),
v = nn(h, l);
if (!p && "none" !== v && e.isfunction(s.onslideleave) && s.onslideleave.call(u, c, r + 1, h, v, l) === !1) return void(dn = !1)
}
ee(u), o.addclass(g).siblings().removeclass(g), p || me(o), !s.loophorizontal && s.controlarrows && (a.find(z).toggle(0 !== l), a.find(ne).toggle(!o.is(":last-child"))), a.hasclass(g) && un(l, d, c, r);
var m = function() {
p || e.isfunction(s.afterslideload) && s.afterslideload.call(o, c, r + 1, d, l), le(o), dn = !1
};
if (s.css3) {
var w = "translate3d(-" + t.round(i.left) + "px, 0px, 0px)";
qe(n.find(w), s.scrollingspeed > 0).css(kn(w)), gn = settimeout(function() {
m()
}, s.scrollingspeed, s.easing)
} else n.animate({
scrollleft: t.round(i.left)
}, s.scrollingspeed, s.easing, function() {
m()
});
f.find(s).removeclass(g), f.find("li").eq(l).find("a").addclass(g)
}
function ke() {
if (je(), in) {
var n = e(o.activeelement);
if (!n.is("textarea") && !n.is("input") && !n.is("select")) {
var i = oe.height();
t.abs(i - co) > 20 * t.max(co, i) / 100 && (hn.rebuild(!0), co = i)
}
} else cleartimeout(jn), jn = settimeout(function() {
hn.rebuild(!0)
}, 350)
}
function je() {
var e = s.responsive || s.responsivewidth,
n = s.responsiveheight,
o = e && oe.outerwidth() < e,
t = n && oe.height() < n;
e && n ? hn.setresponsive(o || t) : e ? hn.setresponsive(o) : n && hn.setresponsive(t)
}
function qe(e) {
var n = "all " + s.scrollingspeed + "ms " + s.easingcss3;
return e.removeclass(p), e.css({
"-webkit-transition": n,
transition: n
})
}
function ge(e) {
return e.addclass(p)
}
function je(e, n) {
var o = 825,
i = 900;
if (o > e || i > n) {
var l = 100 * e / o,
a = 100 * n / i,
r = t.min(l, a),
s = r.tofixed(2);
fn.css("font-size", s + "%")
} else fn.css("font-size", "100%")
}
function ze(n, o) {
s.navigation && (e(e).find(s).removeclass(g), n ? e(e).find('a[href="#' + n + '"]').addclass(g) : e(e).find("li").eq(o).find("a").addclass(g))
}
function $e(n) {
s.menu && (e(s.menu).find(s).removeclass(g), e(s.menu).find('[data-menuanchor="' + n + '"]').addclass(g))
}
function _e(e, n) {
$e(e), ze(e, n)
}
function en(n) {
var o = e(b).index(x),
t = n.index(x);
return o == t ? "none" : o > t ? "up" : "down"
}
function nn(e, n) {
return e == n ? "none" : e > n ? "left" : "right"
}
function on(e) {
e.css("overflow", "hidden");
var n, o = s.scrolloverflowhandler,
t = o.wrapcontent(),
i = e.closest(x),
l = o.scrollable(e);
l.length ? n = o.scrollheight(e) : (n = e.get(0).scrollheight, s.verticalcentered && (n = e.find(a).get(0).scrollheight));
var a = wn - parseint(i.css("padding-bottom")) - parseint(i.css("padding-top"));
n > a ? l.length ? o.update(e, a) : (s.verticalcentered ? e.find(a).wrapinner(t) : e.wrapinner(t), o.create(e, a)) : o.remove(e), e.css("overflow", "")
}
function tn(e) {
e.addclass(y).wrapinner('')
}
function ln(e) {
var n = wn;
if (s.paddingtop || s.paddingbottom) {
var o = e;
o.hasclass(y) || (o = e.closest(x));
var t = parseint(o.css("padding-top")) + parseint(o.css("padding-bottom"));
n = wn - t
}
return n
}
function an(e, n) {
n ? qe(vn) : ge(vn), vn.css(kn(e)), settimeout(function() {
vn.removeclass(p)
}, 10)
}
function rn(n) {
var o = vn.find(x + '[data-anchor="' + n + '"]');
return o.length || (o = e(x).eq(n - 1)), o
}
function sn(e, n) {
var o = n.find(p),
t = o.find(z + '[data-anchor="' + e + '"]');
return t.length || (t = o.find(z).eq(e)), t
}
function cn(e, n) {
var o = rn(e);
"undefined" == typeof n && (n = 0), e === qn || o.hasclass(g) ? fn(o, n) : be(o, function() {
fn(o, n)
})
}
function fn(e, n) {
if ("undefined" != typeof n) {
var o = e.find(p),
t = sn(n, e);
t.length && ne(o, t)
}
}
function dn(e, n) {
e.append('');
var o = e.find(x);
o.addclass(s.slidesnavposition);
for (var t = 0; n > t; t++) o.find("ul").append('');
o.css("margin-left", "-" + o.width() / 2 + "px"), o.find("li").first().find("a").addclass(g)
}
function un(e, n, o, t) {
var i = "";
s.anchors.length && !s.lockanchors && (e ? ("undefined" != typeof o && (i = o), "undefined" == typeof n && (n = e), on = n, pn(i + "/" + n)) : "undefined" != typeof e ? (on = n, pn(o)) : pn(o)), vn()
}
function pn(e) {
if (s.recordhistory) location.hash = e;
else if (in || pn) n.history.replacestate(i, i, "#" + e);
else {
var o = n.location.href.split("#")[0];
n.location.replace(o + "#" + e)
}
}
function hn(e) {
var n = e.data("anchor"),
o = e.index();
return "undefined" == typeof n && (n = o), n
}
function vn() {
var n = e(b),
o = n.find(d),
t = hn(n),
i = hn(o),
l = (n.index(x), string(t));
o.length && (l = l + "-" + i), l = l.replace("/", "-").replace("#", "");
var a = new regexp("\\b\\s?" + m + "-[^\\s]+\\b", "g");
fn[0].classname = fn[0].classname.replace(a, ""), fn.addclass(m + "-" + l)
}
function mn() {
var e, t = o.createelement("p"),
l = {
webkittransform: "-webkit-transform",
otransform: "-o-transform",
mstransform: "-ms-transform",
moztransform: "-moz-transform",
transform: "transform"
};
o.body.insertbefore(t, null);
for (var a in l) t.style[a] !== i && (t.style[a] = "translate3d(1px,1px,1px)", e = n.getcomputedstyle(t).getpropertyvalue(l[a]));
return o.body.removechild(t), e !== i && e.length > 0 && "none" !== e
}
function gn() {
o.addeventlistener ? (o.removeeventlistener("mousewheel", se, !1), o.removeeventlistener("wheel", se, !1), o.removeeventlistener("mozmousepixelscroll", se, !1)) : o.detachevent("onmousewheel", se)
}
function sn() {
var e, t = "";
n.addeventlistener ? e = "addeventlistener" : (e = "attachevent", t = "on");
var l = "onwheel" in o.createelement("div") ? "wheel" : o.onmousewheel !== i ? "mousewheel" : "dommousescroll";
"dommousescroll" == l ? o[e](t + "mozmousepixelscroll", se, !1) : o[e](t + l, se, !1)
}
function wn() {
if (in || pn) {
var n = xn();
e(r).off("touchstart " + n.down).on("touchstart " + n.down, me), e(r).off("touchmove " + n.move).on("touchmove " + n.move, pe)
}
}
function yn() {
if (in || pn) {
var n = xn();
e(r).off("touchstart " + n.down), e(r).off("touchmove " + n.move)
}
}
function xn() {
var e;
return e = n.pointerevent ? {
down: "pointerdown",
move: "pointermove"
} : {
down: "mspointerdown",
move: "mspointermove"
}
}
function bn(e) {
var n = [];
return n.y = "undefined" != typeof e.pagey && (e.pagey || e.pagex) ? e.pagey : e.touches[0].pagey, n.x = "undefined" != typeof e.pagex && (e.pagey || e.pagex) ? e.pagex : e.touches[0].pagex, pn && ve(e) && s.scrollbar && (n.y = e.touches[0].pagey, n.x = e.touches[0].pagex), n
}
function tn(e, n) {
hn.setscrollingspeed(0, "internal"), "undefined" != typeof n && (yn = !0), ne(e.closest(p), e), "undefined" != typeof n && (yn = !1), hn.setscrollingspeed(_n.scrollingspeed, "internal")
}
function cn(e) {
if (s.scrollbar) vn.scrolltop(e);
else if (s.css3) {
var n = "translate3d(0px, -" + e + "px, 0px)";
an(n, !1)
} else vn.css("top", -e)
}
function kn(e) {
return {
"-webkit-transform": e,
"-moz-transform": e,
"-ms-transform": e,
transform: e
}
}
function an(e, n, o) {
switch (n) {
case "up":
kn[o].up = e;
break;
case "down":
kn[o].down = e;
break;
case "left":
kn[o].left = e;
break;
case "right":
kn[o].right = e;
break;
case "all":
"m" == o ? hn.setallowscrolling(e) : hn.setkeyboardscrolling(e)
}
}
function bn() {
cn(0), e(e + ", " + x + ", " + j).remove(), e(x).css({
height: "",
"background-color": "",
padding: ""
}), e(z).css({
width: ""
}), vn.css({
height: "",
position: "",
"-ms-touch-action": "",
"touch-action": ""
}), rn.css({
overflow: "",
height: ""
}), e("html").removeclass(v), e.each(fn.get(0).classname.split(/\s+/), function(e, n) {
0 === n.indexof(m) && fn.removeclass(n)
}), e(x + ", " + z).each(function() {
s.scrolloverflowhandler.remove(e(this)), e(this).removeclass(y + " " + g)
}), ge(vn), vn.find(a + ", " + w + ", " + p).each(function() {
e(this).replacewith(this.childnodes)
}), rn.scrolltop(0);
var n = [y, o, v];
e.each(n, function(n, o) {
e("." + o).removeclass(o)
})
}
function mn(e, n, o) {
s[e] = n, "internal" !== o && (_n[e] = n)
}
function ln() {
s.continuousvertical && (s.looptop || s.loopbottom) && (s.continuousvertical = !1, en("warn", "option `looptop/loopbottom` is mutually exclusive with `continuousvertical`; `continuousvertical` disabled")), s.scrollbar && s.scrolloverflow && en("warn", "option `scrollbar` is mutually exclusive with `scrolloverflow`. sections with scrolloverflow might not work well in firefox"), s.continuousvertical && s.scrollbar && (s.continuousvertical = !1, en("warn", "option `scrollbar` is mutually exclusive with `continuousvertical`; `continuousvertical` disabled")), e.each(s.anchors, function(n, o) {
(e("#" + o).length || e('[name="' + o + '"]').length) && en("error", "data-anchor tags can not have the same value as any `id` element on the site (or `name` element for ie).")
})
}
function en(e, n) {
console && console[e] && console[e]("fullpage: " + n)
}
var rn = e("html, body"),
fn = e("body"),
hn = e.fn.fullpage;
s = e.extend({
menu: !1,
anchors: [],
lockanchors: !1,
navigation: !1,
navigationposition: "right",
navigationtooltips: [],
showactivetooltip: !1,
slidesnavigation: !1,
slidesnavposition: "bottom",
scrollbar: !1,
hybrid: !1,
css3: !0,
scrollingspeed: 700,
autoscrolling: !0,
fittosection: !0,
fittosectiondelay: 1e3,
easing: "easeinoutcubic",
easingcss3: "ease",
loopbottom: !1,
looptop: !1,
loophorizontal: !0,
continuousvertical: !1,
normalscrollelements: null,
scrolloverflow: !1,
scrolloverflowhandler: l,
touchsensitivity: 5,
normalscrollelementtouchthreshold: 5,
keyboardscrolling: !0,
animateanchor: !0,
recordhistory: !0,
controlarrows: !0,
controlarrowcolor: "#fff",
verticalcentered: !0,
resize: !1,
sectionscolor: [],
paddingtop: 0,
paddingbottom: 0,
fixedelements: null,
responsive: 0,
responsivewidth: 0,
responsiveheight: 0,
sectionselector: w,
slideselector: q,
afterload: null,
onleave: null,
afterrender: null,
afterresize: null,
afterrebuild: null,
afterslideload: null,
onslideleave: null
}, s), ln(), e.extend(e.easing, {
easeinoutcubic: function(e, n, o, t, i) {
return (n /= i / 2) < 1 ? t / 2 * n * n * n + o : t / 2 * ((n -= 2) * n * n + 2) + o
}
}), e.extend(e.easing, {
easeinquart: function(e, n, o, t, i) {
return t * (n /= i) * n * n * n + o
}
}), hn.setautoscrolling = function(n, o) {
mn("autoscrolling", n, o);
var t = e(b);
s.autoscrolling && !s.scrollbar ? (rn.css({
overflow: "hidden",
height: "100%"
}), hn.setrecordhistory(_n.recordhistory, "internal"), vn.css({
"-ms-touch-action": "none",
"touch-action": "none"
}), t.length && cn(t.position().top)) : (rn.css({
overflow: "visible",
height: "initial"
}), hn.setrecordhistory(!1, "internal"), vn.css({
"-ms-touch-action": "",
"touch-action": ""
}), cn(0), t.length && rn.scrolltop(t.position().top))
}, hn.setrecordhistory = function(e, n) {
mn("recordhistory", e, n)
}, hn.setscrollingspeed = function(e, n) {
mn("scrollingspeed", e, n)
}, hn.setfittosection = function(e, n) {
mn("fittosection", e, n)
}, hn.setlockanchors = function(e) {
s.lockanchors = e
}, hn.setmousewheelscrolling = function(e) {
e ? sn() : gn()
}, hn.setallowscrolling = function(n, o) {
"undefined" != typeof o ? (o = o.replace(/ /g, "").split(","), e.each(o, function(e, o) {
an(n, o, "m")
})) : n ? (hn.setmousewheelscrolling(!0), wn()) : (hn.setmousewheelscrolling(!1), yn())
}, hn.setkeyboardscrolling = function(n, o) {
"undefined" != typeof o ? (o = o.replace(/ /g, "").split(","), e.each(o, function(e, o) {
an(n, o, "k")
})) : s.keyboardscrolling = n
}, hn.movesectionup = function() {
var n = e(b).prev(x);
n.length || !s.looptop && !s.continuousvertical || (n = e(x).last()), n.length && be(n, null, !0)
}, hn.movesectiondown = function() {
var n = e(b).next(x);
n.length || !s.loopbottom && !s.continuousvertical || (n = e(x).first()), n.length && be(n, null, !1)
}, hn.silentmoveto = function(e, n) {
requestanimframe(function() {
hn.setscrollingspeed(0, "internal")
}), hn.moveto(e, n), requestanimframe(function() {
hn.setscrollingspeed(_n.scrollingspeed, "internal")
})
}, hn.moveto = function(e, n) {
var o = rn(e);
"undefined" != typeof n ? cn(e, n) : o.length > 0 && be(o)
}, hn.moveslideright = function(e) {
we("next", e)
}, hn.moveslideleft = function(e) {
we("prev", e)
}, hn.rebuild = function(n) {
if (!vn.hasclass(h)) {
yn = !0, requestanimframe(function() {
yn = !0
});
var o = oe.outerwidth();
wn = oe.height(), s.resize && je(wn, o), e(x).each(function() {
var n = e(this).find(p),
o = e(this).find(z);
s.verticalcentered && e(this).find(a).css("height", ln(e(this)) + "px"), e(this).css("height", wn + "px"), s.scrolloverflow && (o.length ? o.each(function() {
on(e(this))
}) : on(e(this))), o.length > 1 && ne(n, n.find(d))
});
var t = e(b),
i = t.index(x);
i && hn.silentmoveto(i + 1), yn = !1, requestanimframe(function() {
yn = !1
}), e.isfunction(s.afterresize) && n && s.afterresize.call(vn), e.isfunction(s.afterrebuild) && !n && s.afterrebuild.call(vn)
}
}, hn.setresponsive = function(n) {
var o = fn.hasclass(u);
n ? o || (hn.setautoscrolling(!1, "internal"), hn.setfittosection(!1, "internal"), e(e).hide(), fn.addclass(u)) : o && (hn.setautoscrolling(_n.autoscrolling, "internal"), hn.setfittosection(_n.autoscrolling, "internal"), e(e).show(), fn.removeclass(u))
};
var qn, on, zn, dn = !1,
in = navigator.useragent.match(/(iphone|ipod|ipad|android|playbook|silk|blackberry|bb10|windows phone|tizen|bada|webos|iemobile|opera mini)/),
pn = "ontouchstart" in n || navigator.msmaxtouchpoints > 0 || navigator.maxtouchpoints,
vn = e(this),
wn = oe.height(),
yn = !1,
un = !0,
xn = !0,
nn = [],
kn = {};
kn.m = {
up: !0,
down: !0,
left: !0,
right: !0
}, kn.k = e.extend(!0, {}, kn.m);
var jn, qn, gn, jn, zn, $n, _n = e.extend(!0, {}, s);
e(this).length && (c(), f());
var eo = !1,
no = 0,
oo = 0,
to = 0,
io = 0,
lo = 0,
ao = (new date).gettime();
n.requestanimframe = function() {
return n.requestanimationframe || n.webkitrequestanimationframe || n.mozrequestanimationframe || n.orequestanimationframe || n.msrequestanimationframe || function(e) {
e()
}
}();
var ro = 0,
so = 0,
co = wn;
hn.destroy = function(n) {
hn.setautoscrolling(!1, "internal"), hn.setallowscrolling(!1), hn.setkeyboardscrolling(!1), vn.addclass(h), cleartimeout(gn), cleartimeout(qn), cleartimeout(jn), cleartimeout(jn), cleartimeout(zn), oe.off("scroll", ce).off("hashchange", he).off("resize", ke), te.off("click", e + " a").off("mouseenter", e + " li").off("mouseleave", e + " li").off("click", n).off("mouseover", s.normalscrollelements).off("mouseout", s.normalscrollelements), e(x).off("click", j), cleartimeout(gn), cleartimeout(qn), n && bn()
}
};
var ie = {
afterrender: function(e) {
var n = e.find(i),
o = e.find(c);
n.length && (o = n.find(d)), o.mouseover()
},
create: function(e, n) {
e.find(c).slimscroll({
allowpagescroll: !0,
height: n + "px",
size: "10px",
alwaysvisible: !0
})
},
isscrolled: function(e, n) {
return "top" === e ? !n.scrolltop() : "bottom" === e ? n.scrolltop() + 1 + n.innerheight() >= n[0].scrollheight : void 0
},
scrollable: function(e) {
return e.find(p).length ? e.find(d).find(c) : e.find(c)
},
scrollheight: function(e) {
return e.find(c).get(0).scrollheight
},
remove: function(e) {
e.find(c).children().first().unwrap().unwrap(), e.find(f).remove(), e.find(d).remove()
},
update: function(e, n) {
e.find(c).css("height", n + "px").parent().css("height", n + "px")
},
wrapcontent: function() {
return ''
}
};
l = ie
});
//# sourcemappingurl=jquery.fullpage.min.js.map