/*!
* fullPage 2.8.0 (Beta)
* 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(t){return n(t,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,t,o,i){"use strict";var r="fullpage-wrapper",a="."+r,l="fp-scrollable",s="."+l,c="fp-responsive",d="fp-notransition",f="fp-destroyed",u="fp-enabled",h="fp-viewing",p="active",v="."+p,m="fp-completely",g="."+m,S=".section",w="fp-section",y="."+w,b=y+v,x=y+":first",T=y+":last",C="fp-tableCell",k="."+C,L="fp-auto-height",M="fp-normal-scroll",A="fp-nav",E="#"+A,I="fp-tooltip",O="."+I,B="fp-show-active",H=".slide",R="fp-slide",z="."+R,D=z+v,P="fp-slides",F="."+P,V="fp-slidesContainer",W="."+V,q="fp-table",Y="fp-slidesNav",U="."+Y,X=U+" a",N="fp-controlArrow",j="."+N,K="fp-prev",Q="."+K,G=N+" "+K,J=j+Q,Z="fp-next",$="."+Z,_=N+" "+Z,ee=j+$,ne=e(n),te=e(t),oe={scrollbars:!0,mouseWheel:!0,hideScrollbars:!1,fadeScrollbars:!1,disableMouse:!0};e.fn.fullpage=function(l){function s(){l.css3&&(l.css3=xn()),l.scrollBar=l.scrollBar||l.hybrid,Q(),Z(),qn.setAllowScrolling(!0),qn.setAutoScrolling(l.autoScrolling,"internal");var n=e(b).find(D);n.length&&(0!==e(b).index(y)||0===e(b).index(y)&&0!==n.index())&&On(n),_e(),bn(),"complete"===t.readyState&&Fe(),ne.on("load",Fe)}function N(){ne.on("scroll",ve).on("hashchange",Ve).blur(je).resize($e),te.keydown(We).keyup(Ye).on("click touchstart",E+" a",Ke).on("click touchstart",X,Qe).on("click",O,qe),e(y).on("click touchstart",j,Ne),l.normalScrollElements&&(te.on("mouseenter",l.normalScrollElements,function(){qn.setMouseWheelScrolling(!1)}),te.on("mouseleave",l.normalScrollElements,function(){qn.setMouseWheelScrolling(!0)}))}function Q(){var n=Qn.find(l.sectionSelector);l.anchors.length||(l.anchors=n.filter("[data-anchor]").map(function(){return e(this).data("anchor").toString()}).get()),l.navigationTooltips.length||(l.navigationTooltips=n.filter("[data-tooltip]").map(function(){return e(this).data("tooltip").toString()}).get())}function Z(){Qn.css({height:"100%",position:"relative"}),Qn.addClass(r),e("html").addClass(u),Gn=ne.height(),Qn.removeClass(f),le(),e(y).each(function(n){var t=e(this),o=t.find(z),i=o.length;re(t,n),ae(t,n),i>0?$(t,o,i):l.verticalCentered&&dn(t)}),l.fixedElements&&l.css3&&e(l.fixedElements).appendTo(Wn),l.navigation&&ce(),fe(),ue(),l.scrollOverflow?("complete"===t.readyState&&de(),ne.on("load",de)):pe()}function $(n,t,o){var i=100*o,r=100/o;t.wrapAll('
'),t.parent().wrap(''),n.find(W).css("width",i+"%"),o>1&&(l.controlArrows&&se(n),l.slidesNavigation&&gn(n,o)),t.each(function(n){e(this).css("width",r+"%"),l.verticalCentered&&dn(e(this))});var a=n.find(D);a.length&&(0!==e(b).index(y)||0===e(b).index(y)&&0!==a.index())?On(a):t.eq(0).addClass(p)}function re(n,t){t||0!==e(b).length||n.addClass(p),n.css("height",Gn+"px"),l.paddingTop&&n.css("padding-top",l.paddingTop),l.paddingBottom&&n.css("padding-bottom",l.paddingBottom),"undefined"!=typeof l.sectionsColor[t]&&n.css("background-color",l.sectionsColor[t]),"undefined"!=typeof l.anchors[t]&&n.attr("data-anchor",l.anchors[t])}function ae(n,t){"undefined"!=typeof l.anchors[t]&&n.hasClass(p)&&an(l.anchors[t],t),l.menu&&l.css3&&e(l.menu).closest(a).length&&e(l.menu).appendTo(Wn)}function le(){e(l.sectionSelector).each(function(){e(this).addClass(w)}),e(l.slideSelector).each(function(){e(this).addClass(R)})}function se(e){e.find(F).after(''),"#fff"!=l.controlArrowColor&&(e.find(ee).css("border-color","transparent transparent transparent "+l.controlArrowColor),e.find(J).css("border-color","transparent "+l.controlArrowColor+" transparent transparent")),l.loopHorizontal||e.find(J).hide()}function ce(){Wn.append('');var n=e(E);n.addClass(function(){return l.showActiveTooltip?B+" "+l.navigationPosition:l.navigationPosition});for(var t=0;t',r=l.navigationTooltips[t];"undefined"!=typeof r&&""!==r&&(i+=''+r+"
"),i+="",n.find("ul").append(i)}e(E).css("margin-top","-"+e(E).height()/2+"px"),e(E).find("li").eq(e(b).index(y)).find("a").addClass(p)}function de(){e(y).each(function(){var n=e(this).find(z);n.length?n.each(function(){cn(e(this))}):cn(e(this))}),pe()}function fe(){Qn.find('iframe[src*="youtube.com/embed/"]').each(function(){var n=he(e(this).attr("src"));e(this).attr("src",e(this).attr("src")+n+"enablejsapi=1")})}function ue(){Qn.find('iframe[src*="player.vimeo.com/"]').each(function(){var n=he(e(this).attr("src"));e(this).attr("src",e(this).attr("src")+n+"api=1")})}function he(e){return/\?/.test(e)?"&":"?"}function pe(){var n=e(b);n.addClass(m),l.scrollOverflowHandler.afterRender&&l.scrollOverflowHandler.afterRender(n),Re(n),ze(n),e.isFunction(l.afterLoad)&&l.afterLoad.call(n,n.data("anchor"),n.index(y)+1),e.isFunction(l.afterRender)&&l.afterRender.call(Qn)}function ve(){var n;if(!l.autoScrolling||l.scrollBar){for(var o=ne.scrollTop(),i=ge(o),r=0,a=o+ne.height()/2,s=t.querySelectorAll(y),c=0;c=ne.scrollTop()+ne.height():t<=ne.scrollTop()}function ge(e){var n=e>ct?"down":"up";return ct=e,n}function Se(e,n){if(et.m[e]){var t,o;if("down"==e?(t="bottom",o=qn.moveSectionDown):(t="top",o=qn.moveSectionUp),n.length>0){if(!l.scrollOverflowHandler.isScrolled(t,n))return!0;o()}else o()}}function we(n){var t=n.originalEvent;if(!ye(n.target)&&be(t)){l.autoScrolling&&n.preventDefault();var i=e(b),r=l.scrollOverflowHandler.scrollable(i);if($n&&!Nn){var a=In(t);ut=a.y,ht=a.x,i.find(F).length&&o.abs(ft-ht)>o.abs(dt-ut)?o.abs(ft-ht)>ne.outerWidth()/100*l.touchSensitivity&&(ft>ht?et.m.right&&qn.moveSlideRight():et.m.left&&qn.moveSlideLeft()):l.autoScrolling&&o.abs(dt-ut)>ne.height()/100*l.touchSensitivity&&(dt>ut?Se("down",r):ut>dt&&Se("up",r))}}}function ye(n,t){t=t||0;var o=e(n).parent();return t149&&_n.shift(),_n.push(o.abs(a)),l.scrollBar&&(t.preventDefault?t.preventDefault():t.returnValue=!1);var f=e(b),u=l.scrollOverflowHandler.scrollable(f),h=i-pt;if(pt=i,h>200&&(_n=[]),$n){var p=Te(_n,10),v=Te(_n,70),m=p>=v;m&&d&&(0>s?Se("down",u):Se("up",u))}return!1}l.fitToSection&&Vn.stop()}function ke(n,t){var o="undefined"==typeof t?e(b):t,i=o.find(F),r=i.find(z).length;if(!(!i.length||Nn||2>r)){var a=i.find(D),s=null;if(s="prev"===n?a.prev(z):a.next(z),!s.length){if(!l.loopHorizontal)return;s="prev"===n?a.siblings(":last"):a.siblings(":first")}Nn=!0,Ze(i,s)}}function Le(){e(D).each(function(){On(e(this),"internal")})}function Me(e){var n=e.position(),t=n.top,o=n.top>vt,i=t-Gn+e.outerHeight();return e.outerHeight()>Gn?o||(t=i):(o||Jn&&e.is(":last-child"))&&(t=i),vt=t,t}function Ae(n,t,o){if("undefined"!=typeof n){var i=Me(n),r={element:n,callback:t,isMovementUp:o,dtop:i,yMovement:ln(n),anchorLink:n.data("anchor"),sectionIndex:n.index(y),activeSlide:n.find(D),activeSection:e(b),leavingSection:e(b).index(y)+1,localIsResizing:Jn};if(!(r.activeSection.is(n)&&!Jn||l.scrollBar&&ne.scrollTop()===r.dtop&&!n.hasClass(L))){if(r.activeSlide.length)var a=r.activeSlide.data("anchor"),s=r.activeSlide.index();l.autoScrolling&&l.continuousVertical&&"undefined"!=typeof r.isMovementUp&&(!r.isMovementUp&&"up"==r.yMovement||r.isMovementUp&&"down"==r.yMovement)&&(r=Oe(r)),(!e.isFunction(l.onLeave)||r.localIsResizing||l.onLeave.call(r.activeSection,r.leavingSection,r.sectionIndex+1,r.yMovement)!==!1)&&(De(r.activeSection),n.addClass(p).siblings().removeClass(p),Re(n),l.scrollOverflowHandler.onLeave(),$n=!1,Sn(s,a,r.anchorLink,r.sectionIndex),Ee(r),Yn=r.anchorLink,an(r.anchorLink,r.sectionIndex))}}}function Ee(n){if(l.css3&&l.autoScrolling&&!l.scrollBar){var t="translate3d(0px, -"+n.dtop+"px, 0px)";un(t,!0),l.scrollingSpeed?tt=setTimeout(function(){He(n)},l.scrollingSpeed):He(n)}else{var o=Ie(n);e(o.element).animate(o.options,l.scrollingSpeed,l.easing).promise().done(function(){l.scrollBar?setTimeout(function(){He(n)},30):He(n)})}}function Ie(e){var n={};return l.autoScrolling&&!l.scrollBar?(n.options={top:-e.dtop},n.element=a):(n.options={scrollTop:e.dtop},n.element="html, body"),n}function Oe(n){return n.isMovementUp?e(b).before(n.activeSection.nextAll(y)):e(b).after(n.activeSection.prevAll(y).get().reverse()),Bn(e(b).position().top),Le(),n.wrapAroundElements=n.activeSection,n.dtop=n.element.position().top,n.yMovement=ln(n.element),n}function Be(n){n.wrapAroundElements&&n.wrapAroundElements.length&&(n.isMovementUp?e(x).before(n.wrapAroundElements):e(T).after(n.wrapAroundElements),Bn(e(b).position().top),Le())}function He(n){Be(n),n.element.find(".fp-scrollable").mouseover(),e.isFunction(l.afterLoad)&&!n.localIsResizing&&l.afterLoad.call(n.element,n.anchorLink,n.sectionIndex+1),l.scrollOverflowHandler.afterLoad(),ze(n.element),n.element.addClass(m).siblings().removeClass(m),$n=!0,e.isFunction(n.callback)&&n.callback.call(this)}function Re(n){var n=Pe(n);n.find("img[data-src], source[data-src], audio[data-src], iframe[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 ze(n){var n=Pe(n);n.find("video, audio").each(function(){var n=e(this).get(0);n.hasAttribute("data-autoplay")&&"function"==typeof n.play&&n.play()}),n.find('iframe[src*="youtube.com/embed/"]').each(function(){var n=e(this).get(0);/youtube\.com\/embed\//.test(e(this).attr("src"))&&n.hasAttribute("data-autoplay")&&n.contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}',"*")})}function De(n){var n=Pe(n);n.find("video, audio").each(function(){var n=e(this).get(0);n.hasAttribute("data-keepplaying")||"function"!=typeof n.pause||n.pause()}),n.find('iframe[src*="youtube.com/embed/"]').each(function(){var n=e(this).get(0);/youtube\.com\/embed\//.test(e(this).attr("src"))&&!n.hasAttribute("data-keepplaying")&&e(this).get(0).contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*")})}function Pe(n){var t=n.find(D);return t.length&&(n=e(t)),n}function Fe(){var e=n.location.hash.replace("#","").split("/"),t=e[0],o=e[1];t&&(l.animateAnchor?vn(t,o):qn.silentMoveTo(t,o))}function Ve(){if(!st&&!l.lockAnchors){var e=n.location.hash.replace("#","").split("/"),t=e[0],o=e[1],i="undefined"==typeof Yn,r="undefined"==typeof Yn&&"undefined"==typeof o&&!Nn;t.length&&(t&&t!==Yn&&!i||r||!Nn&&Un!=o)&&vn(t,o)}}function We(n){clearTimeout(at);var t=e(":focus");if(!t.is("textarea")&&!t.is("input")&&!t.is("select")&&"true"!==t.attr("contentEditable")&&""!==t.attr("contentEditable")&&l.keyboardScrolling&&l.autoScrolling){var o=n.which,i=[40,38,32,33,34];e.inArray(o,i)>-1&&n.preventDefault(),Xn=n.ctrlKey,at=setTimeout(function(){Ge(n)},150)}}function qe(){e(this).prev().trigger("click")}function Ye(e){Zn&&(Xn=e.ctrlKey)}function Ue(e){2==e.which&&(mt=e.pageY,Qn.on("mousemove",Je))}function Xe(e){2==e.which&&Qn.off("mousemove")}function Ne(){var n=e(this).closest(y);e(this).hasClass(K)?et.m.left&&qn.moveSlideLeft(n):et.m.right&&qn.moveSlideRight(n)}function je(){Zn=!1,Xn=!1}function Ke(n){n.preventDefault();var t=e(this).parent().index();Ae(e(y).eq(t))}function Qe(n){n.preventDefault();var t=e(this).closest(y).find(F),o=t.find(z).eq(e(this).closest("li").index());Ze(t,o)}function Ge(n){var t=n.shiftKey;switch(n.which){case 38:case 33:et.k.up&&qn.moveSectionUp();break;case 32:if(t&&et.k.up){qn.moveSectionUp();break}case 40:case 34:et.k.down&&qn.moveSectionDown();break;case 36:et.k.up&&qn.moveTo(1);break;case 35:et.k.down&&qn.moveTo(e(y).length);break;case 37:et.k.left&&qn.moveSlideLeft();break;case 39:et.k.right&&qn.moveSlideRight();break;default:return}}function Je(e){$n&&(e.pageYmt&&et.m.down&&qn.moveSectionDown()),mt=e.pageY}function Ze(n,t){var i=t.position(),r=t.index(),a=n.closest(y),s=a.index(y),c=a.data("anchor"),d=a.find(U),f=yn(t),u=a.find(D),h=Jn;if(l.onSlideLeave){var m=u.index(),g=sn(m,r);if(!h&&"none"!==g&&e.isFunction(l.onSlideLeave)&&l.onSlideLeave.call(u,c,s+1,m,g,r)===!1)return void(Nn=!1)}De(u),t.addClass(p).siblings().removeClass(p),h||Re(t),!l.loopHorizontal&&l.controlArrows&&(a.find(J).toggle(0!==r),a.find(ee).toggle(!t.is(":last-child"))),a.hasClass(p)&&Sn(r,f,c,s);var S=function(){h||e.isFunction(l.afterSlideLoad)&&l.afterSlideLoad.call(t,c,s+1,f,r),ze(t),Nn=!1};if(l.css3){var w="translate3d(-"+o.round(i.left)+"px, 0px, 0px)";en(n.find(W),l.scrollingSpeed>0).css(Hn(w)),ot=setTimeout(function(){S()},l.scrollingSpeed,l.easing)}else n.animate({scrollLeft:o.round(i.left)},l.scrollingSpeed,l.easing,function(){S()});d.find(v).removeClass(p),d.find("li").eq(r).find("a").addClass(p)}function $e(){if(_e(),jn){var n=e(t.activeElement);if(!n.is("textarea")&&!n.is("input")&&!n.is("select")){var i=ne.height();o.abs(i-gt)>20*o.max(gt,i)/100&&(qn.reBuild(!0),gt=i)}}else clearTimeout(nt),nt=setTimeout(function(){qn.reBuild(!0)},350)}function _e(){var e=l.responsive||l.responsiveWidth,n=l.responsiveHeight,t=e&&ne.outerWidth()e||i>n){var r=100*e/t,a=100*n/i,l=o.min(r,a),s=l.toFixed(2);Wn.css("font-size",s+"%")}else Wn.css("font-size","100%")}function on(n,t){l.navigation&&(e(E).find(v).removeClass(p),n?e(E).find('a[href="#'+n+'"]').addClass(p):e(E).find("li").eq(t).find("a").addClass(p))}function rn(n){l.menu&&(e(l.menu).find(v).removeClass(p),e(l.menu).find('[data-menuanchor="'+n+'"]').addClass(p))}function an(e,n){rn(e),on(e,n)}function ln(n){var t=e(b).index(y),o=n.index(y);return t==o?"none":t>o?"up":"down"}function sn(e,n){return e==n?"none":e>n?"left":"right"}function cn(e){if(!e.hasClass("fp-noscroll")){e.css("overflow","hidden");var n,t=l.scrollOverflowHandler,o=t.wrapContent(),i=e.closest(y),r=t.scrollable(e);r.length?n=t.scrollHeight(e):(n=e.get(0).scrollHeight,l.verticalCentered&&(n=e.find(k).get(0).scrollHeight));var a=Gn-parseInt(i.css("padding-bottom"))-parseInt(i.css("padding-top"));n>a?r.length?t.update(e,a):(l.verticalCentered?e.find(k).wrapInner(o):e.wrapInner(o),t.create(e,a)):t.remove(e),e.css("overflow","")}}function dn(e){e.addClass(q).wrapInner('')}function fn(e){var n=Gn;if(l.paddingTop||l.paddingBottom){var t=e;t.hasClass(w)||(t=e.closest(y));var o=parseInt(t.css("padding-top"))+parseInt(t.css("padding-bottom"));n=Gn-o}return n}function un(e,n){n?en(Qn):nn(Qn),Qn.css(Hn(e)),setTimeout(function(){Qn.removeClass(d)},10)}function hn(n){var t=Qn.find(y+'[data-anchor="'+n+'"]');return t.length||(t=e(y).eq(n-1)),t}function pn(e,n){var t=n.find(F),o=t.find(z+'[data-anchor="'+e+'"]');return o.length||(o=t.find(z).eq(e)),o}function vn(e,n){var t=hn(e);"undefined"==typeof n&&(n=0),e===Yn||t.hasClass(p)?mn(t,n):Ae(t,function(){mn(t,n)})}function mn(e,n){if("undefined"!=typeof n){var t=e.find(F),o=pn(n,e);o.length&&Ze(t,o)}}function gn(e,n){e.append('');var t=e.find(U);t.addClass(l.slidesNavPosition);for(var o=0;n>o;o++)t.find("ul").append('');t.css("margin-left","-"+t.width()/2+"px"),t.find("li").first().find("a").addClass(p)}function Sn(e,n,t,o){var i="";l.anchors.length&&!l.lockAnchors&&(e?("undefined"!=typeof t&&(i=t),"undefined"==typeof n&&(n=e),Un=n,wn(i+"/"+n)):"undefined"!=typeof e?(Un=n,wn(t)):wn(t)),bn()}function wn(e){if(l.recordHistory)location.hash=e;else if(jn||Kn)n.history.replaceState(i,i,"#"+e);else{var t=n.location.href.split("#")[0];n.location.replace(t+"#"+e)}}function yn(e){var n=e.data("anchor"),t=e.index();return"undefined"==typeof n&&(n=t),n}function bn(){var n=e(b),t=n.find(D),o=yn(n),i=yn(t),r=(n.index(y),String(o));t.length&&(r=r+"-"+i),r=r.replace("/","-").replace("#","");var a=new RegExp("\\b\\s?"+h+"-[^\\s]+\\b","g");Wn[0].className=Wn[0].className.replace(a,""),Wn.addClass(h+"-"+r)}function xn(){var e,o=t.createElement("p"),r={webkitTransform:"-webkit-transform",OTransform:"-o-transform",msTransform:"-ms-transform",MozTransform:"-moz-transform",transform:"transform"};t.body.insertBefore(o,null);for(var a in r)o.style[a]!==i&&(o.style[a]="translate3d(1px,1px,1px)",e=n.getComputedStyle(o).getPropertyValue(r[a]));return t.body.removeChild(o),e!==i&&e.length>0&&"none"!==e}function Tn(){t.addEventListener?(t.removeEventListener("mousewheel",Ce,!1),t.removeEventListener("wheel",Ce,!1),t.removeEventListener("MozMousePixelScroll",Ce,!1)):t.detachEvent("onmousewheel",Ce)}function Cn(){var e,o="";n.addEventListener?e="addEventListener":(e="attachEvent",o="on");var r="onwheel"in t.createElement("div")?"wheel":t.onmousewheel!==i?"mousewheel":"DOMMouseScroll";"DOMMouseScroll"==r?t[e](o+"MozMousePixelScroll",Ce,!1):t[e](o+r,Ce,!1)}function kn(){Qn.on("mousedown",Ue).on("mouseup",Xe)}function Ln(){Qn.off("mousedown",Ue).off("mouseup",Xe)}function Mn(){if(jn||Kn){var n=En();e(a).off("touchstart "+n.down).on("touchstart "+n.down,xe),e(a).off("touchmove "+n.move).on("touchmove "+n.move,we)}}function An(){if(jn||Kn){var n=En();e(a).off("touchstart "+n.down),e(a).off("touchmove "+n.move)}}function En(){var e;return e=n.PointerEvent?{down:"pointerdown",move:"pointermove"}:{down:"MSPointerDown",move:"MSPointerMove"}}function In(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,Kn&&be(e)&&l.scrollBar&&(n.y=e.touches[0].pageY,n.x=e.touches[0].pageX),n}function On(e,n){qn.setScrollingSpeed(0,"internal"),"undefined"!=typeof n&&(Jn=!0),Ze(e.closest(F),e),"undefined"!=typeof n&&(Jn=!1),qn.setScrollingSpeed(lt.scrollingSpeed,"internal")}function Bn(e){if(l.scrollBar)Qn.scrollTop(e);else if(l.css3){var n="translate3d(0px, -"+e+"px, 0px)";un(n,!1)}else Qn.css("top",-e)}function Hn(e){return{"-webkit-transform":e,"-moz-transform":e,"-ms-transform":e,transform:e}}function Rn(e,n,t){switch(n){case"up":et[t].up=e;break;case"down":et[t].down=e;break;case"left":et[t].left=e;break;case"right":et[t].right=e;break;case"all":"m"==t?qn.setAllowScrolling(e):qn.setKeyboardScrolling(e)}}function zn(){Bn(0),e(E+", "+U+", "+j).remove(),e(y).css({height:"","background-color":"",padding:""}),e(z).css({width:""}),Qn.css({height:"",position:"","-ms-touch-action":"","touch-action":""}),Vn.css({overflow:"",height:""}),e("html").removeClass(u),e.each(Wn.get(0).className.split(/\s+/),function(e,n){0===n.indexOf(h)&&Wn.removeClass(n)}),e(y+", "+z).each(function(){l.scrollOverflowHandler.remove(e(this)),e(this).removeClass(q+" "+p)}),nn(Qn),Qn.find(k+", "+W+", "+F).each(function(){e(this).replaceWith(this.childNodes)}),Vn.scrollTop(0);var n=[w,R,V];e.each(n,function(n,t){e("."+t).removeClass(t)})}function Dn(e,n,t){l[e]=n,"internal"!==t&&(lt[e]=n)}function Pn(){return e("html").hasClass(u)?void Fn("error","Fullpage.js can only be initialized once and you are doing it multiple times!"):(l.continuousVertical&&(l.loopTop||l.loopBottom)&&(l.continuousVertical=!1,Fn("warn","Option `loopTop/loopBottom` is mutually exclusive with `continuousVertical`; `continuousVertical` disabled")),l.scrollBar&&l.scrollOverflow&&Fn("warn","Option `scrollBar` is mutually exclusive with `scrollOverflow`. Sections with scrollOverflow might not work well in Firefox"),l.continuousVertical&&l.scrollBar&&(l.continuousVertical=!1,Fn("warn","Option `scrollBar` is mutually exclusive with `continuousVertical`; `continuousVertical` disabled")),void e.each(l.anchors,function(n,t){var o=te.find("[name]").filter(function(){return e(this).attr("name")&&e(this).attr("name").toLowerCase()==t.toLowerCase()}),i=te.find("[id]").filter(function(){return e(this).attr("id")&&e(this).attr("id").toLowerCase()==t.toLowerCase()});(i.length||o.length)&&(Fn("error","data-anchor tags can not have the same value as any `id` element on the site (or `name` element for IE)."),i.length&&Fn("error",'"'+t+'" is is being used by another element `id` property'),o.length&&Fn("error",'"'+t+'" is is being used by another element `name` property'))}))}function Fn(e,n){console&&console[e]&&console[e]("fullPage: "+n)}if(e("html").hasClass(u))return void Pn();var Vn=e("html, body"),Wn=e("body"),qn=e.fn.fullpage;l=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:ie,scrollOverflowOptions:null,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:S,slideSelector:H,afterLoad:null,onLeave:null,afterRender:null,afterResize:null,afterReBuild:null,afterSlideLoad:null,onSlideLeave:null},l),Pn(),oe=e.extend(oe,l.scrollOverflowOptions),e.extend(e.easing,{easeInOutCubic:function(e,n,t,o,i){return(n/=i/2)<1?o/2*n*n*n+t:o/2*((n-=2)*n*n+2)+t}}),qn.setAutoScrolling=function(n,t){Dn("autoScrolling",n,t);var o=e(b);l.autoScrolling&&!l.scrollBar?(Vn.css({overflow:"hidden",height:"100%"}),qn.setRecordHistory(lt.recordHistory,"internal"),Qn.css({"-ms-touch-action":"none","touch-action":"none"}),o.length&&Bn(o.position().top)):(Vn.css({overflow:"visible",height:"initial"}),qn.setRecordHistory(!1,"internal"),Qn.css({"-ms-touch-action":"","touch-action":""}),Bn(0),o.length&&Vn.scrollTop(o.position().top))},qn.setRecordHistory=function(e,n){Dn("recordHistory",e,n)},qn.setScrollingSpeed=function(e,n){Dn("scrollingSpeed",e,n)},qn.setFitToSection=function(e,n){Dn("fitToSection",e,n)},qn.setLockAnchors=function(e){l.lockAnchors=e},qn.setMouseWheelScrolling=function(e){e?(Cn(),kn()):(Tn(),Ln())},qn.setAllowScrolling=function(n,t){"undefined"!=typeof t?(t=t.replace(/ /g,"").split(","),e.each(t,function(e,t){Rn(n,t,"m")})):n?(qn.setMouseWheelScrolling(!0),Mn()):(qn.setMouseWheelScrolling(!1),An())},qn.setKeyboardScrolling=function(n,t){"undefined"!=typeof t?(t=t.replace(/ /g,"").split(","),e.each(t,function(e,t){Rn(n,t,"k")})):l.keyboardScrolling=n},qn.moveSectionUp=function(){var n=e(b).prev(y);n.length||!l.loopTop&&!l.continuousVertical||(n=e(y).last()),n.length&&Ae(n,null,!0)},qn.moveSectionDown=function(){var n=e(b).next(y);n.length||!l.loopBottom&&!l.continuousVertical||(n=e(y).first()),n.length&&Ae(n,null,!1)},qn.silentMoveTo=function(e,n){qn.setScrollingSpeed(0,"internal"),qn.moveTo(e,n),qn.setScrollingSpeed(lt.scrollingSpeed,"internal")},qn.moveTo=function(e,n){var t=hn(e);"undefined"!=typeof n?vn(e,n):t.length>0&&Ae(t)},qn.moveSlideRight=function(e){ke("next",e)},qn.moveSlideLeft=function(e){ke("prev",e)},qn.reBuild=function(n){if(!Qn.hasClass(f)){Jn=!0;var t=ne.outerWidth();Gn=ne.height(),l.resize&&tn(Gn,t),e(y).each(function(){var n=e(this).find(F),t=e(this).find(z);l.verticalCentered&&e(this).find(k).css("height",fn(e(this))+"px"),e(this).css("height",Gn+"px"),l.scrollOverflow&&(t.length?t.each(function(){cn(e(this))}):cn(e(this))),t.length>1&&Ze(n,n.find(D))});var o=e(b),i=o.index(y);i&&qn.silentMoveTo(i+1),Jn=!1,e.isFunction(l.afterResize)&&n&&l.afterResize.call(Qn),e.isFunction(l.afterReBuild)&&!n&&l.afterReBuild.call(Qn)}},qn.setResponsive=function(n){var t=Wn.hasClass(c);n?t||(qn.setAutoScrolling(!1,"internal"),qn.setFitToSection(!1,"internal"),e(E).hide(),Wn.addClass(c)):t&&(qn.setAutoScrolling(lt.autoScrolling,"internal"),qn.setFitToSection(lt.autoScrolling,"internal"),e(E).show(),Wn.removeClass(c))};var Yn,Un,Xn,Nn=!1,jn=navigator.userAgent.match(/(iPhone|iPod|iPad|Android|playbook|silk|BlackBerry|BB10|Windows Phone|Tizen|Bada|webOS|IEMobile|Opera Mini)/),Kn="ontouchstart"in n||navigator.msMaxTouchPoints>0||navigator.maxTouchPoints,Qn=e(this),Gn=ne.height(),Jn=!1,Zn=!0,$n=!0,_n=[],et={};et.m={up:!0,down:!0,left:!0,right:!0},et.k=e.extend(!0,{},et.m);var nt,tt,ot,it,rt,at,lt=e.extend(!0,{},l);e(this).length&&(s(),N());var st=!1,ct=0,dt=0,ft=0,ut=0,ht=0,pt=(new Date).getTime(),vt=0,mt=0,gt=Gn;qn.destroy=function(n){qn.setAutoScrolling(!1,"internal"),qn.setAllowScrolling(!1),qn.setKeyboardScrolling(!1),Qn.addClass(f),clearTimeout(ot),clearTimeout(tt),clearTimeout(nt),clearTimeout(it),clearTimeout(rt),ne.off("scroll",ve).off("hashchange",Ve).off("resize",$e),te.off("click",E+" a").off("mouseenter",E+" li").off("mouseleave",E+" li").off("click",X).off("mouseover",l.normalScrollElements).off("mouseout",l.normalScrollElements),e(y).off("click",j),clearTimeout(ot),clearTimeout(tt),n&&zn()}},"undefined"!=typeof IScroll&&(IScroll.prototype.wheelOn=function(){this.wrapper.addEventListener("wheel",this),this.wrapper.addEventListener("mousewheel",this),this.wrapper.addEventListener("DOMMouseScroll",this)},IScroll.prototype.wheelOff=function(){this.wrapper.removeEventListener("wheel",this),this.wrapper.removeEventListener("mousewheel",this),this.wrapper.removeEventListener("DOMMouseScroll",this)});var ie={refreshId:null,iScrollInstances:[],onLeave:function(){var n=e(b).find(s).data("iscrollInstance");"undefined"!=typeof n&&n.wheelOff()},afterLoad:function(){var n=e(b).find(s).data("iscrollInstance");"undefined"!=typeof n&&n.wheelOn()},create:function(n,t){var o=n.find(s);o.height(t),o.each(function(){var n=jQuery(this),t=n.data("iscrollInstance");t&&e.each(ie.iScrollInstances,function(){e(this).destroy()}),t=new IScroll(n.get(0),oe),ie.iScrollInstances.push(t),n.data("iscrollInstance",t)})},isScrolled:function(e,n){var t=n.data("iscrollInstance");return t?"top"===e?t.y>=0&&!n.scrollTop():"bottom"===e?0-t.y+n.scrollTop()+1+n.innerHeight()>=n[0].scrollHeight:void 0:!1},scrollable:function(e){return e.find(F).length?e.find(D).find(s):e.find(s)},scrollHeight:function(e){return e.find(s).children().first().get(0).scrollHeight},remove:function(e){var n=e.find(s);if(n.length){var t=n.data("iscrollInstance");t.destroy(),n.data("iscrollInstance",i)}e.find(s).children().first().children().first().unwrap().unwrap()},update:function(n,t){clearTimeout(ie.refreshId),ie.refreshId=setTimeout(function(){e.each(ie.iScrollInstances,function(){e(this).get(0).refresh()})},150),n.find(s).css("height",t+"px").parent().css("height",t+"px")},wrapContent:function(){return''}}});
//# sourceMappingURL=jquery.fullpage.min.js.map