!(function (e, n, t, o, i) { "function" == typeof define && define.amd ? define(function () { return (e.fullpage = o(n, t)), e.fullpage; }) : "object" == typeof exports ? (module.exports = o(n, t)) : (n.fullpage = o(n, t)); })(this, window, document, function (e, n, t) { "use strict"; var o, i, r, a, l, c, s, f, v, u, d, p, h = "fullpage-wrapper", g = "." + h, $ = "fp-notransition", m = "fp-destroyed", S = "fp-viewing", y = "active", b = "." + y, _ = "fp-section", L = "." + _, T = L + b, w = "fp-nav", E = "#" + w, x = "fp-slide", k = "." + x, B = k + b, A = "fp-slides", M = "." + A, N = "fp-slidesContainer", C = "." + N, P = "fp-slidesNav", H = "." + P, z = H + " a", I = "fp-controlArrow", R = "." + I, Y = "fp-prev", O = I + " " + Y, D = R + "." + Y, F = I + " fp-next", X = !1, j = navigator.userAgent.match( /(iPhone|iPod|iPad|Android|playbook|silk|BlackBerry|BB10|Windows Phone|Tizen|Bada|webOS|IEMobile|Opera Mini)/ ), W = "ontouchstart" in e || navigator.msMaxTouchPoints > 0 || navigator.maxTouchPoints, q = es(), U = !1, K = !0, V = []; function G() { for (var t, o = et(R), r = 0; r < o.length; r++) eu(o[r], "click onclick touchstart", eF); if ((em(i.autoScrolling, "internal"), i.navigation)) { ee(l, "margin-top", "-" + l.offsetHeight / 2 + "px"); var a = et("li", l)[eo(en(T))]; el(en("a", a), y); } (t = en(T)), ev(i.afterLoad) && i.afterLoad.call(t, t.getAttribute("data-anchor"), eo(t) + 1), ev(i.afterRender) && i.afterRender.call(f); var c = e.location.hash.replace("#", "").split("/")[0]; if (c.length) { var s = en('[data-anchor="' + c + '"]'); if (!i.animateAnchor && s.length) { if (i.autoScrolling) nn(s.offsetTop); else { nn(0), eJ(c); var v = eD(s.offsetTop); ed(v.element, v.options, 0); } eq(c, null), ev(i.afterLoad) && i.afterLoad.call(s, c, eo(s) + 1), ea(activeSection, y), el(s, y); } } eJ(), eQ(n, e3, "DOMContentLoaded", "DOMContentLoaded", "DOMContentLoaded"); } function J(e) { return n.getElementById(e); } function Q(e) { return n.getElementsByTagName(e)[0]; } function Z(e, n) { var t; for (t in n) n.hasOwnProperty(t) && null !== t && (e.style[t] = n[t]); return e; } function ee(e, n, t) { e.style[n] = t; } function en(e, t) { return (t = t || n).querySelector(e); } function et(e, t) { return (t = t || n).querySelectorAll(e); } function eo(e) { for (var n = 0; (e = e.previousSibling); ) (3 != e.nodeType || !/^\s*$/.test(e.data)) && n++; return n; } function ei(e, n) { return ( void 0 !== n ? n ? (e.style.display = "block") : (e.style.display = "none") : "block" == e.style.display ? (e.style.display = "none") : (e.style.display = "block"), e ); } function er(e, n) { return !!e.className.match(RegExp("(\\s|^)" + n + "(\\s|$)")); } function ea(e, n) { if (e && er(e, n)) { var t = RegExp("(\\s|^)" + n + "(\\s|$)"); e.className = e.className.replace(t, ""); } } function el(e, n) { e && !er(e, n) && (e.className += " " + n); } function ec(e, n) { return e && (n(e) ? e : ec(e.parentNode, n)); } function es() { return "innerHeight" in e ? e.innerHeight : n.documentElement.offsetHeight; } function ef(e) { e.preventDefault ? e.preventDefault() : (e.returnValue = !1); } function ev(e) { return e && "[object Function]" === {}.toString.call(e); } function eu(e, t, o) { for (var i = t.split(" "), r = 0, a = i.length; r < a; r++) n.addEventListener ? e.addEventListener(i[r], o, !1) : e.attachEvent(i[r], o, !1); } function ed(n, t, o, i) { var r = e.pageYOffset, a = null, l = 150; (t = +t), (l = +l), e.requestAnimationFrame(function n(o) { a = a || o; var c = o - a; r < t ? e.scrollTo(0, ((t - r) * c) / l + r) : e.scrollTo(0, r - ((r - t) * c) / l), c < l ? e.requestAnimationFrame(n) : (e.scrollTo(0, t), i()); }); } function ep() { var t = n.documentElement; return (e.pageYOffset || t.scrollTop) - (t.clientTop || 0); } function eh(e) { for (var n = e.nextSibling; n && 1 != n.nodeType; ) n = n.nextSibling; return n; } function eg(e) { for (var n = e.previousSibling; n && 1 != n.nodeType; ) n = n.previousSibling; return n; } function e$(n) { var t; return n.self != e && er(n, A) ? n.scrollLeft : !i.autoScrolling || i.scrollBar ? ep() : n.offsetTop; } function em(e, t) { nt("autoScrolling", e, t); var o = en(T); if (i.autoScrolling && !i.scrollBar) Z(n.body, { overflowY: "hidden", height: "100%" }), Z(Q("html"), { overflowY: "hidden", height: "100%" }), eS(i.recordHistory, "internal"), Z(f, { "-ms-touch-action": "none", "touch-action": "none" }), o && nn(o.offsetTop); else { Z(n.body, { overflowY: "visible", height: "100%" }), Z(Q("html"), { overflowY: "visible", height: "100%" }), eS(!1, "internal"), Z(f, { "-ms-touch-action": "", "touch-action": "" }), nn(0); var r = eD(o.offsetTop); r.element.scrollTo(0, r.options); } } function eS(e, n) { nt("recordHistory", e, n); } function ey(e, n) { nt("scrollingSpeed", e, n); } function eb() { var e = eg(en(T)); e && e0(e, null, !0); } function e_() { var e = eh(en(T)); e && e0(e, null, !1); } function eL(e, n) { var t = eV(e); void 0 !== n ? e5(e, n) : t && e0(t); } function eT() { eO("next"); } function ew() { eO("prev"); } function eE(e) { if (!er(f, m)) { (U = !0), (q = es()); var n = en(T); eo(n) && nn(n.offsetTop), (U = !1), ev(i.afterResize) && e && i.afterResize.call(f), ev(i.afterReBuild) && !e && i.afterReBuild.call(f); } } function ex(e) { var t = n.createElement("div"); t.className = O; var o = n.createElement("div"); o.className = F; var r = en(M, e); i.controlArrowColor, r.parentNode.appendChild(t), r.parentNode.appendChild(o), i.loopHorizontal || (en(D, e).style.display = "none"); } Math.easeInOutCubic = function (e, n, t, o) { return (e /= o / 2) < 1 ? (t / 2) * e * e * e + n : (t / 2) * ((e -= 2) * e * e + 2) + n; }; var ek = !1; function e1() { var e; if (!i.autoScrolling || i.scrollBar) { for (var n = ep(), t = 0, o = Math.abs(n - et(L)[0].offsetTop), a = et(L), l = 0; l < a.length; ++l) { var c = Math.abs(n - a[l].offsetTop); c < o && ((t = l), (o = c)); } e = et(L)[t]; } if (!i.autoScrolling || i.scrollBar) { if (!er(e, y)) { ek = !0; var s = en(T), f = eo(s) + 1, d = eU(e), p = e.getAttribute("data-anchor"), h = eo(e) + 1, g = en(B, e); if (g) var $ = g.getAttribute("data-anchor"), m = eo(g); K && (ea(s, y), el(e, y), ev(i.onLeave) && i.onLeave.call(s, f, h, d), ev(i.afterLoad) && i.afterLoad.call(e, p, h), eq(p, 0), i.anchors.length && ((r = p), e4(m, $, p, h))), clearTimeout(v), (v = setTimeout(function () { ek = !1; }, 100)); } i.fitToSection && (clearTimeout(u), (u = setTimeout(function () { ((K && !i.autoScrolling) || i.scrollBar) && (eo(en(T)) == eo(e) && (U = !0), e0(e), (U = !1)); }, i.fitToSectionDelay))); } } function eB(e) { "down" == e ? e_() : eb(); } var eA = 0, eM = 0, eN = 0, eC = 0; function eP(t) { var o = e.event || t || t.originalEvent; if (eH(o)) { i.autoScrolling && ef(t); var r = en(T), a = et(M, r); if (K && !X) { var l = ne(o); (eN = l.y), (eC = l.x), a && Math.abs(eM - eC) > Math.abs(eA - eN) ? Math.abs(eM - eC) > (("innerWidth" in e ? e.innerWidth : n.documentElement.offsetWidth) / 100) * i.touchSensitivity && (eM > eC ? eT() : ew()) : i.autoScrolling && Math.abs(eA - eN) > (es() / 100) * i.touchSensitivity && (eA > eN ? eB("down") : eN > eA && eB("up")); } } } function eH(e) { return void 0 === e.pointerType || "mouse" != e.pointerType; } function ez(n) { var t = e.event || n || n.originalEvent; if ((i.fitToSection && (c = !1), eH(t))) { var o = ne(t); (eA = o.y), (eM = o.x); } } function eI(e, n) { for (var t = 0, o = e.slice(Math.max(e.length - n, 1)), i = 0; i < o.length; i++) t += o[i]; return Math.ceil(t / n); } var eR = new Date().getTime(); function eY(n) { var t = new Date().getTime(); if (i.autoScrolling) { var o = (n = e.event || n || n.originalEvent).wheelDelta || -n.deltaY || -n.detail, r = Math.max(-1, Math.min(1, o)); V.length > 149 && V.shift(), V.push(Math.abs(o)), i.scrollBar && ef(n); var a = t - eR; if (((eR = t), a > 200 && (V = []), K)) { var l = eI(V, 10), s = eI(V, 70); l >= s && (r < 0 ? (this.classList.remove("down"), this.classList.remove("up"), this.classList.add("down"), eB("down")) : (this.classList.remove("down"), this.classList.remove("up"), this.classList.add("up"), eB("up"))); } return !1; } i.fitToSection && (c = !1); } function eO(e) { var n = en(T), t = en(M, n); if (t && !X) { var o = en(B, t), r = null; if (!(r = "prev" === e ? eg(o) : eh(o))) { if (!i.loopHorizontal) return; var a, l = (function e(n, t) { for (var o = []; n; n = n.nextSibling) 1 == n.nodeType && n != t && o.push(n); return o; })((a = o).parentNode.firstChild, a); r = "prev" === e ? l[l.length - 1] : l[0]; } X = !0; } } function e0(n, t, o) { if (null === n) return; var a = { element: n, callback: t, isMovementUp: o, dtop: n.offsetTop, yMovement: eU(n), anchorLink: n.getAttribute("data-anchor"), sectionIndex: eo(n), activeSlide: en(B, n), activeSection: en(T), leavingSection: eo(en(T)) + 1, localIsResizing: U, }; if ((eo(a.activeSection) == a.sectionIndex && !U) || (i.scrollBar && ep() === a.dtop)) return; if (a.activeSlide) var l = a.activeSlide.getAttribute("data-anchor"), c = eo(a.activeSlide); for (var s = et(L), f = 0; f < s.length; f++) ea(s[f], y); el(n, y), (K = !1), e4(c, l, a.anchorLink, a.sectionIndex), ev(i.beforeLeave) && i.beforeLeave.call(a.activeSection, a.leavingSection, a.sectionIndex + 1, a.yMovement); let v = { activeSection: a.activeSection, leavingSection: a.leavingSection, nextSection: a.sectionIndex + 1, dir: a.yMovement, }; e.dispatchEvent(new CustomEvent("onSectionBeforeLeave", { detail: v })), setTimeout(() => { (function e(n) { if (i.css3 && i.autoScrolling && !i.scrollBar) eK("translate3d(0px, -" + n.dtop + "px, 0px)", !0), i.scrollingSpeed ? setTimeout(function () { e2(n); }, i.scrollingSpeed) : e2(n); else { var t = eD(n.dtop); ed(t.element, t.options, i.scrollingSpeed, function () { e2(n); }); } })(a), ev(i.onLeave) && !a.localIsResizing && i.onLeave.call(a.activeSection, a.leavingSection, a.sectionIndex + 1, a.yMovement), (r = a.anchorLink), eq(a.anchorLink, a.sectionIndex), e.dispatchEvent(new CustomEvent("onSectionLeave", { detail: v })); }, 450); } function eD(n) { var t = {}; return ( i.autoScrolling && !i.scrollBar ? ((t.options = -n), (t.element = en("." + h))) : ((t.options = n), (t.element = e)), t ); } function e2(e) { ev(i.afterLoad) && !e.localIsResizing && i.afterLoad.call(e.element, e.anchorLink, e.sectionIndex + 1), setTimeout(() => { K = !0; }, 450), ev(e.callback) && e.callback.call(this); } function e3() { var n = e.location.hash.replace("#", "").split("/"), t = n[0], o = n[1]; t && e5(t, o); } function eF(n) { var t = this; t.self == e && (t = n.target || n.srcElement), er(t, Y) ? ew() : eT(); } function eX() { if (!ek) { var n = e.location.hash.replace("#", "").split("/"), t = n[0], o = n[1]; if (t.length) { var i = void 0 === r, l = void 0 === r && void 0 === o && !X; ((t && t !== r && !i) || l || (!X && a != o)) && e5(t, o); } } } n.addEventListener ? e.addEventListener("hashchange", eX, !1) : e.attachEvent("onhashchange", eX), (n.onkeydown = function (t) { clearTimeout(d); var o = n.activeElement.tagName; if ("SELECT" !== o && "INPUT" !== o && i.keyboardScrolling && i.autoScrolling) { for ( var r = (t = e.event || t || t.originalEvent).charCode || t.keyCode, a = [40, 38, 32, 33, 34], l = 0; l < a.length; l++ ) a[l] == r && ef(t); var c = t.shiftKey; d = setTimeout(function () { (function e(n, t) { switch (t) { case 38: case 33: eb(); break; case 32: if (n) { eb(); break; } case 40: case 34: e_(); break; case 36: eL(1); break; case 35: eL(et(L).length); break; case 37: ew(); break; case 39: eT(); break; default: return; } })(c, r); }, 150); } }); var ej = q; function eW() { if (j) { if ("text" !== n.activeElement.getAttribute("type")) { var e = es(); Math.abs(e - ej) > (20 * Math.max(ej, e)) / 100 && (eE(!0), (ej = e)); } } else clearTimeout(p), (p = setTimeout(function () { eE(!0); }, 350)); } function eq(e, n) { !(function e(n) { if (i.menu) { var t = en(i.menu); t && (ea(en(b, t), y), el(en('[data-menuanchor="' + n + '"]', t), y)); } })(e), (function e(n, t) { if (i.navigation) { if ((ea(en(b, l), y), n)) el(en('a[href="#' + n + '"]', l), y); else { var o = et("li", l)[t]; el(en("a", o), y); } } })(e, n); } function eU(e) { var n = eo(en(T)), t = eo(e); return n == t ? "none" : n > t ? "up" : "down"; } function e9(e, n) { return e == n ? "none" : e > n ? "left" : "right"; } function eK(e, n) { var t, o, r, a, l; n ? ((t = f), (o = "all " + i.scrollingSpeed + "ms " + i.easingcss3), ea(t, $), Z(t, { "-webkit-transition": o, transition: o })) : el((r = f), $), (a = f), Z(a, { "-webkit-transform": (l = e), "-moz-transform": l, "-ms-transform": l, transform: l }), setTimeout(function () { ea(f, $); }, 10); } function eV(e) { var n = en(L + '[data-anchor="' + e + '"]'); return n || (n = et(L)[e - 1]), n; } function e5(e, n) { var t = eV(decodeURI(e)); void 0 === n && (n = 0), e === r || er(t, y) ? e6(t, n) : e0(t, function () { e6(t, n); }); } function e6(e, n) { if (void 0 !== n) { var t, o, i, r, a = en(M, e), l = ((t = n), (o = e), (i = en(M, o)), (r = en(k + '[data-anchor="' + t + '"]', i)), i && !r && (r = et(k, i)[t]), r); l && landscapeScroll(a, l); } } function e7(e, t) { var o = n.createElement("div"); o.className = P; var r = n.createElement("ul"); o.appendChild(r), e.appendChild(o); var a = en(H, e), l = en("ul", a); el(a, i.slidesNavPosition); for (var c = "", s = 0; s < t; s++) c += '