/*!
* fullpage 2.9.7
* https://github.com/alvarotrigo/fullpage.js
* @license mit licensed
*
* copyright (c) 2015 alvarotrigo.com - a project by alvaro trigo
*/
!function(e,o){"use strict";"function"==typeof define&&define.amd?define(["jquery"],function(n){return o(n,e,e.document,e.math)}):"object"==typeof exports&&exports?module.exports=o(require("jquery"),e,e.document,e.math):o(jquery,e,e.document,e.math)}("undefined"!=typeof window?window:this,function(e,o,n,t,i){"use strict";var a="fullpage-wrapper",l="."+a,s="fp-responsive",r="fp-notransition",c="fp-destroyed",d="fp-enabled",f="fp-viewing",u="active",h="."+u,v="fp-completely",p="."+v,g="fp-section",m="."+g,w=m+h,s=m+":first",b=m+":last",x="fp-tablecell",y="."+x,c="fp-auto-height",t="fp-normal-scroll",k="fp-nav",l="#"+k,a="fp-tooltip",o="."+a,i="fp-show-active",e="fp-slide",m="."+e,b=m+h,r="fp-slides",z="."+r,h="fp-slidescontainer",d="."+h,p="fp-table",q="fp-slidesnav",f="."+q,v=f+" a",j="fp-controlarrow",y="."+j,n="fp-prev",x=j+" "+n,u=y+("."+n),w="fp-next",k=j+" "+w,_=y+".fp-next",q=e(o),g=e(n);e.fn.fullpage=function(j){if(e("html").hasclass(d))$o();else{var w=e("html, body"),j=e("body"),z=e.fn.fullpage;j=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,continuoushorizontal:!1,scrollhorizontally:!1,interlockedslides:!1,dragandmove:!1,offsetsections:!1,resetsliders:!1,fadingeffect:!1,normalscrollelements:null,scrolloverflow:!1,scrolloverflowreset:!1,scrolloverflowhandler:e.fn.fp_scrolloverflow?e.fn.fp_scrolloverflow.iscrollhandler:null,scrolloverflowoptions:null,touchsensitivity:5,normalscrollelementtouchthreshold:5,bigsectionsdestination:null,keyboardscrolling:!0,animateanchor:!0,recordhistory:!0,controlarrows:!0,controlarrowcolor:"#fff",verticalcentered:!0,sectionscolor:[],paddingtop:0,paddingbottom:0,fixedelements:null,responsive:0,responsivewidth:0,responsiveheight:0,responsiveslides:!1,parallax:!1,parallaxoptions:{type:"reveal",percentage:62,property:"translate"},sectionselector:".section",slideselector:".slide",afterload:null,onleave:null,afterrender:null,afterresize:null,afterrebuild:null,afterslideload:null,onslideleave:null,afterresponsive:null,lazyloading:!0},j);var $,ee,oe,ne,te=!1,ie=navigator.useragent.match(/(iphone|ipod|ipad|android|playbook|silk|blackberry|bb10|windows phone|tizen|bada|webos|iemobile|opera mini)/),ae="ontouchstart"in o||navigator.msmaxtouchpoints>0||navigator.maxtouchpoints,le=e(this),se=q.height(),re=!1,ce=!0,de=!0,fe=[],ue={m:{up:!0,down:!0,left:!0,right:!0}};ue.k=e.extend(!0,{},ue.m);var he,ve,pe,ge,me,we,se,be=function(){var e;e=o.pointerevent?{down:"pointerdown",move:"pointermove"}:{down:"mspointerdown",move:"mspointermove"};return e}(),xe={touchmove:"ontouchmove"in o?"touchmove":be.move,touchstart:"ontouchstart"in o?"touchstart":be.down},ye='a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, [tabindex="0"], [contenteditable]',ce=e.extend(!0,{},j);$o(),e.extend(e.easing,{easeinoutcubic:function(e,o,n,t,i){return(o/=i/2)<1?t/2*o*o*o+n:t/2*((o-=2)*o*o+2)+n}}),e(this).length&&(z.version="2.9.6",z.setautoscrolling=ze,z.setrecordhistory=he,z.setscrollingspeed=de,z.setfittosection=pe,z.setlockanchors=function(e){j.lockanchors=e},z.setmousewheelscrolling=qe,z.setallowscrolling=fe,z.setkeyboardscrolling=ve,z.movesectionup=je,z.movesectiondown=ye,z.silentmoveto=ne,z.moveto=xe,z.moveslideright=ue,z.moveslideleft=we,z.fittosection=je,z.rebuild=ke,z.setresponsive=_e,z.destroy=function(o){ze(!1,"internal"),fe(!1),ve(!1),le.addclass(c),cleartimeout(ge),cleartimeout(pe),cleartimeout(ve),cleartimeout(me),cleartimeout(we),q.off("scroll",ge).off("hashchange",mo).off("resize",mo),g.off("keydown",so).off("keyup",xo).off("click touchstart",l+" a").off("mouseenter",l+" li").off("mouseleave",l+" li").off("click touchstart",v).off("mouseover",j.normalscrollelements).off("mouseout",j.normalscrollelements),e(m).off("click touchstart",y),cleartimeout(ge),cleartimeout(pe),o&&function(){qo(0),le.find("img[data-src], source[data-src], audio[data-src], iframe[data-src]").each(function(){co(e(this),"src")}),le.find("img[data-srcset]").each(function(){co(e(this),"srcset")}),e(l+", "+f+", "+y).remove(),e(m).css({height:"","background-color":"",padding:""}),e(m).css({width:""}),le.css({height:"",position:"","-ms-touch-action":"","touch-action":""}),w.css({overflow:"",height:""}),e("html").removeclass(d),j.removeclass(s),e.each(j.get(0).classname.split(/\s+/),function(e,o){0===o.indexof(f)&&j.removeclass(o)}),e(m+", "+m).each(function(){j.scrolloverflowhandler&&j.scrolloverflowhandler.remove(e(this)),e(this).removeclass(p+" "+u),e(this).attr("style",e(this).data("fp-styles"))}),zo(le),le.find(y+", "+d+", "+z).each(function(){e(this).replacewith(this.childnodes)}),le.css({"-webkit-transition":"none",transition:"none"}),w.scrolltop(0);var o=[g,e,h];e.each(o,function(o,n){e("."+n).removeclass(n)})}()},z.shared={afterrenderactions:qe},function(){j.css3&&(j.css3=function(){var e,t=n.createelement("p"),a={webkittransform:"-webkit-transform",otransform:"-o-transform",mstransform:"-ms-transform",moztransform:"-moz-transform",transform:"transform"};for(var l in n.body.insertbefore(t,null),a)t.style[l]!==i&&(t.style[l]="translate3d(1px,1px,1px)",e=o.getcomputedstyle(t).getpropertyvalue(a[l]));return n.body.removechild(t),e!==i&&e.length>0&&"none"!==e}());j.scrollbar=j.scrollbar||j.hybrid,t=le.find(j.sectionselector),j.anchors.length||(j.anchors=t.filter("[data-anchor]").map(function(){return e(this).data("anchor").tostring()}).get()),j.navigationtooltips.length||(j.navigationtooltips=t.filter("[data-tooltip]").map(function(){return e(this).data("tooltip").tostring()}).get()),le.css({height:"100%",position:"relative"}),le.addclass(a),e("html").addclass(d),se=q.height(),le.removeclass(c),le.find(j.sectionselector).addclass(g),le.find(j.slideselector).addclass(e),e(m).each(function(o){var n,t,i,a,s=e(this),r=s.find(m),c=r.length;s.data("fp-styles",s.attr("style")),i=s,(a=o)||0!==e(w).length||i.addclass(u),ne=e(w),i.css("height",se+"px"),j.paddingtop&&i.css("padding-top",j.paddingtop),j.paddingbottom&&i.css("padding-bottom",j.paddingbottom),void 0!==j.sectionscolor[a]&&i.css("background-color",j.sectionscolor[a]),void 0!==j.anchors[a]&&i.attr("data-anchor",j.anchors[a]),n=s,t=o,void 0!==j.anchors[t]&&n.hasclass(u)&&ho(j.anchors[t],t),j.menu&&j.css3&&e(j.menu).closest(l).length&&e(j.menu).appendto(j),c>0?function(o,n,t){var i,a=100*t,l=100/t;n.wrapall('
'),n.parent().wrap(''),o.find(d).css("width",a+"%"),t>1&&(j.controlarrows&&((i=o).find(z).after(''),"#fff"!=j.controlarrowcolor&&(i.find(_).css("border-color","transparent transparent transparent "+j.controlarrowcolor),i.find(u).css("border-color","transparent "+j.controlarrowcolor+" transparent transparent")),j.loophorizontal||i.find(u).hide()),j.slidesnavigation&&function(e,o){e.append('');var n=e.find(f);n.addclass(j.slidesnavposition);for(var t=0;t');n.css("margin-left","-"+n.width()/2+"px"),n.find("li").first().find("a").addclass(u)}(o,t)),n.each(function(o){e(this).css("width",l+"%"),j.verticalcentered&&po(e(this))});var s=o.find(b);s.length&&(0!==e(w).index(m)||0===e(w).index(m)&&0!==s.index())?_o(s,"internal"):n.eq(0).addclass(u)}(s,r,c):j.verticalcentered&&po(s)}),j.fixedelements&&j.css3&&e(j.fixedelements).appendto(j),j.navigation&&function(){j.append('');var o=e(l);o.addclass(function(){return j.showactivetooltip?i+" "+j.navigationposition:j.navigationposition});for(var n=0;n',a=j.navigationtooltips[n];void 0!==a&&""!==a&&(i+=''+a+"
"),i+="",o.find("ul").append(i)}e(l).css("margin-top","-"+e(l).height()/2+"px"),e(l).find("li").eq(e(w).index(m)).find("a").addclass(u)}(),le.find('iframe[src*="youtube.com/embed/"]').each(function(){var o,n,t;o=e(this),n="enablejsapi=1",t=o.attr("src"),o.attr("src",t+(/\?/.test(t)?"&":"?")+n)}),j.scrolloverflow?he=j.scrolloverflowhandler.init(j):qe(),fe(!0),ze(j.autoscrolling,"internal"),bo(),wo(),"complete"===n.readystate&&go();var t;q.on("load",go)}(),q.on("scroll",ge).on("hashchange",mo).blur(ko).resize(mo),g.keydown(so).keyup(xo).on("click touchstart",l+" a",lo).on("click touchstart",v,ao).on("click",o,bo),e(m).on("click touchstart",y,to),j.normalscrollelements&&(g.on("mouseenter touchstart",j.normalscrollelements,function(){fe(!1)}),g.on("mouseleave touchend",j.normalscrollelements,function(){fe(!0)})));var te=!1,ke=0,le=0,ae=0,oe=0,ie=0,ee=(new date).gettime(),me=0,be=0,re=se}function ze(o,n){o||qo(0),zo("autoscrolling",o,n);var t=e(w);j.autoscrolling&&!j.scrollbar?(w.css({overflow:"hidden",height:"100%"}),he(ce.recordhistory,"internal"),le.css({"-ms-touch-action":"none","touch-action":"none"}),t.length&&qo(t.position().top)):(w.css({overflow:"visible",height:"initial"}),he(!1,"internal"),le.css({"-ms-touch-action":"","touch-action":""}),t.length&&w.scrolltop(t.position().top))}function he(e,o){zo("recordhistory",e,o)}function de(e,o){zo("scrollingspeed",e,o)}function pe(e,o){zo("fittosection",e,o)}function qe(e){e?(!function(){var e,t="";o.addeventlistener?e="addeventlistener":(e="attachevent",t="on");var a="onwheel"in n.createelement("div")?"wheel":n.onmousewheel!==i?"mousewheel":"dommousescroll";"dommousescroll"==a?n[e](t+"mozmousepixelscroll",io,!1):n[e](t+a,io,!1)}(),le.on("mousedown",yo).on("mouseup",co)):(n.addeventlistener?(n.removeeventlistener("mousewheel",io,!1),n.removeeventlistener("wheel",io,!1),n.removeeventlistener("mozmousepixelscroll",io,!1)):n.detachevent("onmousewheel",io),le.off("mousedown",yo).off("mouseup",co))}function fe(o,n){void 0!==n?(n=n.replace(/ /g,"").split(","),e.each(n,function(e,n){jo(o,n,"m")})):(jo(o,"all","m"),o?(qe(!0),(ie||ae)&&(j.autoscrolling&&j.off(xe.touchmove).on(xe.touchmove,$e),e(l).off(xe.touchstart).on(xe.touchstart,no).off(xe.touchmove).on(xe.touchmove,eo))):(qe(!1),(ie||ae)&&(j.autoscrolling&&j.off(xe.touchmove),e(l).off(xe.touchstart).off(xe.touchmove))))}function ve(o,n){void 0!==n?(n=n.replace(/ /g,"").split(","),e.each(n,function(e,n){jo(o,n,"k")})):(jo(o,"all","k"),j.keyboardscrolling=o)}function je(){var o=e(w).prev(m);o.length||!j.looptop&&!j.continuousvertical||(o=e(m).last()),o.length&&so(o,null,!0)}function ye(){var o=e(w).next(m);o.length||!j.loopbottom&&!j.continuousvertical||(o=e(m).first()),o.length&&so(o,null,!1)}function ne(e,o){de(0,"internal"),xe(e,o),de(ce.scrollingspeed,"internal")}function xe(e,o){var n=vo(e);void 0!==o?jo(e,o):n.length>0&&so(n)}function ue(e){ao("right",e)}function we(e){ao("left",e)}function ke(o){if(!le.hasclass(c)){re=!0,se=q.height(),e(m).each(function(){var o=e(this).find(z),n=e(this).find(m);j.verticalcentered&&e(this).find(y).css("height",qo(e(this))+"px"),e(this).css("height",se+"px"),n.length>1&&io(o,o.find(b))}),j.scrolloverflow&&he.createscrollbarforall();var n=e(w).index(m);n&&ne(n+1),re=!1,e.isfunction(j.afterresize)&&o&&j.afterresize.call(le),e.isfunction(j.afterrebuild)&&!o&&j.afterrebuild.call(le)}}function _e(o){var n=j.hasclass(s);o?n||(ze(!1,"internal"),pe(!1,"internal"),e(l).hide(),j.addclass(s),e.isfunction(j.afterresponsive)&&j.afterresponsive.call(le,o)):n&&(ze(ce.autoscrolling,"internal"),pe(ce.autoscrolling,"internal"),e(l).show(),j.removeclass(s),e.isfunction(j.afterresponsive)&&j.afterresponsive.call(le,o))}function qe(){var o,n=e(w);n.addclass(v),fo(n),uo(n),j.scrolloverflow&&j.scrolloverflowhandler.afterload(),(!(o=vo(wo().section))||o.length&&o.index()===ne.index())&&e.isfunction(j.afterload)&&j.afterload.call(n,n.data("anchor"),n.index(m)+1),e.isfunction(j.afterrender)&&j.afterrender.call(le)}function ge(){var o,t,i;if(!j.autoscrolling||j.scrollbar){var a=q.scrolltop(),l=(i=(t=a)>ke?"down":"up",ke=t,me=t,i),s=0,r=a+q.height()/2,c=j.height()-q.height()===a,d=n.queryselectorall(m);if(c)s=d.length-1;else if(a)for(var f=0;f=q.scrolltop()+q.height();return n<=q.scrolltop()}(l)&&(e(w).hasclass(v)||e(w).addclass(v).siblings().removeclass(v)),!(o=e(d).eq(s)).hasclass(u)){te=!0;var h,p,g=e(w),s=g.index(m)+1,b=do(o),x=o.data("anchor"),y=o.index(m)+1,c=o.find(b);c.length&&(p=c.data("anchor"),h=c.index()),de&&(o.addclass(u).siblings().removeclass(u),e.isfunction(j.onleave)&&j.onleave.call(g,s,y,b),e.isfunction(j.afterload)&&j.afterload.call(o,x,y),vo(g),fo(o),uo(o),ho(x,y-1),j.anchors.length&&($=x),no(h,p,x,y)),cleartimeout(me),me=settimeout(function(){te=!1},100)}j.fittosection&&(cleartimeout(we),we=settimeout(function(){j.fittosection&&e(w).outerheight()<=se&&je()},j.fittosectiondelay))}}function je(){de&&(re=!0,so(e(w)),re=!1)}function ze(o){if(ue.m[o]){var n="down"===o?ye:je;if(j.scrolloverflow){var t=j.scrolloverflowhandler.scrollable(e(w)),i="down"===o?"bottom":"top";if(t.length>0){if(!j.scrolloverflowhandler.isscrolled(i,t))return!0;n()}else n()}else n()}}function $e(e){var o=e.originalevent;j.autoscrolling&&oo(o)&&e.preventdefault()}function eo(o){var n=o.originalevent,i=e(n.target).closest(m);if(oo(n)){j.autoscrolling&&o.preventdefault();var a=ko(n);oe=a.y,ie=a.x,i.find(z).length&&t.abs(ae-ie)>t.abs(le-oe)?!te&&t.abs(ae-ie)>q.outerwidth()/100*j.touchsensitivity&&(ae>ie?ue.m.right&&ue(i):ue.m.left&&we(i)):j.autoscrolling&&de&&t.abs(le-oe)>q.height()/100*j.touchsensitivity&&(le>oe?ze("down"):oe>le&&ze("up"))}}function oo(e){return void 0===e.pointertype||"mouse"!=e.pointertype}function no(e){var o=e.originalevent;if(j.fittosection&&w.stop(),oo(o)){var n=ko(o);le=n.y,ae=n.x}}function to(e,o){for(var n=0,i=e.slice(t.max(e.length-o,1)),a=0;a149&&fe.shift(),fe.push(t.abs(l)),j.scrollbar&&(n.preventdefault?n.preventdefault():n.returnvalue=!1);var d=i-ee;if(ee=i,d>200&&(fe=[]),de)to(fe,10)>=to(fe,70)&&c&&ze(s<0?"down":"up");return!1}j.fittosection&&w.stop()}function ao(o,n){var t=(void 0===n?e(w):n).find(z),i=t.find(m).length;if(!(!t.length||te||i<2)){var a=t.find(b),l=null;if(!(l="left"===o?a.prev(m):a.next(m)).length){if(!j.loophorizontal)return;l="left"===o?a.siblings(":last"):a.siblings(":first")}te=!0,io(t,l,o)}}function lo(){e(b).each(function(){_o(e(this),"internal")})}function so(o,n,i){if(void 0!==o){var a,s,r,c,d,f,h,v,p={element:o,callback:n,ismovementup:i,dtop:(s=(a=o).position(),r=s.top,c=s.top>me,d=r-se+a.outerheight(),f=j.bigsectionsdestination,a.outerheight()>se?(c||f)&&"bottom"!==f||(r=d):(c||re&&a.is(":last-child"))&&(r=d),me=r,r),ymovement:do(o),anchorlink:o.data("anchor"),sectionindex:o.index(m),activeslide:o.find(b),activesection:e(w),leavingsection:e(w).index(m)+1,localisresizing:re};if(!(p.activesection.is(o)&&!re||j.scrollbar&&q.scrolltop()===p.dtop&&!o.hasclass(c))){if(p.activeslide.length&&(h=p.activeslide.data("anchor"),v=p.activeslide.index()),e.isfunction(j.onleave)&&!p.localisresizing){var g=p.ymovement;if(void 0!==i&&(g=i?"up":"down"),!1===j.onleave.call(p.activesection,p.leavingsection,p.sectionindex+1,g))return}j.autoscrolling&&j.continuousvertical&&void 0!==p.ismovementup&&(!p.ismovementup&&"up"==p.ymovement||p.ismovementup&&"down"==p.ymovement)&&(p=function(o){o.ismovementup?e(w).before(o.activesection.nextall(m)):e(w).after(o.activesection.prevall(m).get().reverse());return qo(e(w).position().top),lo(),o.wraparoundelements=o.activesection,o.dtop=o.element.position().top,o.ymovement=do(o.element),o.leavingsection=o.activesection.index(m)+1,o.sectionindex=o.element.index(m),o}(p)),p.localisresizing||vo(p.activesection),j.scrolloverflow&&j.scrolloverflowhandler.beforeleave(),o.addclass(u).siblings().removeclass(u),fo(o),j.scrolloverflow&&j.scrolloverflowhandler.onleave(),de=!1,no(v,h,p.anchorlink,p.sectionindex),function(o){if(j.css3&&j.autoscrolling&&!j.scrollbar){var n="translate3d(0px, -"+t.round(o.dtop)+"px, 0px)";fo(n,!0),j.scrollingspeed?(cleartimeout(pe),pe=settimeout(function(){ro(o)},j.scrollingspeed)):ro(o)}else{var i=function(e){var o={};j.autoscrolling&&!j.scrollbar?(o.options={top:-e.dtop},o.element=l):(o.options={scrolltop:e.dtop},o.element="html, body");return o}(o);e(i.element).animate(i.options,j.scrollingspeed,j.easing).promise().done(function(){j.scrollbar?settimeout(function(){ro(o)},30):ro(o)})}}(p),$=p.anchorlink,ho(p.anchorlink,p.sectionindex)}}}function ro(o){var n;(n=o).wraparoundelements&&n.wraparoundelements.length&&(n.ismovementup?e(s).before(n.wraparoundelements):e(b).after(n.wraparoundelements),qo(e(w).position().top),lo()),e.isfunction(j.afterload)&&!o.localisresizing&&j.afterload.call(o.element,o.anchorlink,o.sectionindex+1),j.scrolloverflow&&j.scrolloverflowhandler.afterload(),o.localisresizing||uo(o.element),o.element.addclass(v).siblings().removeclass(v),de=!0,e.isfunction(o.callback)&&o.callback.call(this)}function co(e,o){e.attr(o,e.data(o)).removeattr("data-"+o)}function fo(o){var n;j.lazyloading&&po(o).find("img[data-src], img[data-srcset], source[data-src], source[data-srcset], video[data-src], audio[data-src], iframe[data-src]").each(function(){if(n=e(this),e.each(["src","srcset"],function(e,o){var t=n.attr("data-"+o);void 0!==t&&t&&co(n,o)}),n.is("source")){var o=n.closest("video").length?"video":"audio";n.closest(o).get(0).load()}})}function uo(o){var n=po(o);n.find("video, audio").each(function(){var o=e(this).get(0);o.hasattribute("data-autoplay")&&"function"==typeof o.play&&o.play()}),n.find('iframe[src*="youtube.com/embed/"]').each(function(){var o=e(this).get(0);o.hasattribute("data-autoplay")&&ho(o),o.onload=function(){o.hasattribute("data-autoplay")&&ho(o)}})}function ho(e){e.contentwindow.postmessage('{"event":"command","func":"playvideo","args":""}',"*")}function vo(o){var n=po(o);n.find("video, audio").each(function(){var o=e(this).get(0);o.hasattribute("data-keepplaying")||"function"!=typeof o.pause||o.pause()}),n.find('iframe[src*="youtube.com/embed/"]').each(function(){var o=e(this).get(0);/youtube\.com\/embed\//.test(e(this).attr("src"))&&!o.hasattribute("data-keepplaying")&&e(this).get(0).contentwindow.postmessage('{"event":"command","func":"pausevideo","args":""}',"*")})}function po(o){var n=o.find(b);return n.length&&(o=e(n)),o}function go(){var e=wo(),o=e.section,n=e.slide;o&&(j.animateanchor?jo(o,n):ne(o,n))}function mo(){if(!te&&!j.lockanchors){var e=wo(),o=e.section,n=e.slide,t=void 0===$,i=void 0===$&&void 0===n&&!te;o&&o.length&&(o&&o!==$&&!t||i||!te&&ee!=n)&&jo(o,n)}}function wo(){var e,n,t=o.location.hash;if(t.length){var i=t.replace("#","").split("/"),a=t.indexof("#/")>-1;e=a?"/"+i[1]:decodeuricomponent(i[0]);var l=a?i[2]:i[1];l&&l.length&&(n=decodeuricomponent(l))}return{section:e,slide:n}}function so(o){cleartimeout(se);var n=e(":focus"),t=o.which;if(9===t)!function(o){var n=o.shiftkey,t=e(":focus"),i=e(w),a=i.find(b),l=(a.length?a:i).find(ye).not('[tabindex="-1"]');function s(e){return e.preventdefault(),l.first().focus()}t.length?t.closest(w,b).length||(t=s(o)):s(o);(!n&&t.is(l.last())||n&&t.is(l.first()))&&o.preventdefault()}(o);else if(!n.is("textarea")&&!n.is("input")&&!n.is("select")&&"true"!==n.attr("contenteditable")&&""!==n.attr("contenteditable")&&j.keyboardscrolling&&j.autoscrolling){e.inarray(t,[40,38,32,33,34])>-1&&o.preventdefault(),oe=o.ctrlkey,se=settimeout(function(){!function(o){var n=o.shiftkey;if(!de&&[37,39].indexof(o.which)<0)return;switch(o.which){case 38:case 33:ue.k.up&&je();break;case 32:if(n&&ue.k.up){je();break}case 40:case 34:ue.k.down&&ye();break;case 36:ue.k.up&&xe(1);break;case 35:ue.k.down&&xe(e(m).length);break;case 37:ue.k.left&&we();break;case 39:ue.k.right&&ue();break;default:;}}(o)},150)}}function bo(){e(this).prev().trigger("click")}function xo(e){ce&&(oe=e.ctrlkey)}function yo(e){2==e.which&&(be=e.pagey,le.on("mousemove",oo))}function co(e){2==e.which&&le.off("mousemove")}function to(){var o=e(this).closest(m);e(this).hasclass(n)?ue.m.left&&we(o):ue.m.right&&ue(o)}function ko(){ce=!1,oe=!1}function lo(o){o.preventdefault();var n=e(this).parent().index();so(e(m).eq(n))}function ao(o){o.preventdefault();var n=e(this).closest(m).find(z);io(n,n.find(m).eq(e(this).closest("li").index()))}function oo(e){de&&(e.pageybe&&ue.m.down&&ye()),be=e.pagey}function io(o,n,i){var a=o.closest(m),l={slides:o,destiny:n,direction:i,destinypos:n.position(),slideindex:n.index(),section:a,sectionindex:a.index(m),anchorlink:a.data("anchor"),slidesnav:a.find(f),slideanchor:uo(n),prevslide:a.find(b),prevslideindex:a.find(b).index(),localisresizing:re};l.xmovement=function(e,o){if(e==o)return"none";if(e>o)return"left";return"right"}(l.prevslideindex,l.slideindex),l.localisresizing||(de=!1),j.onslideleave&&!l.localisresizing&&"none"!==l.xmovement&&e.isfunction(j.onslideleave)&&!1===j.onslideleave.call(l.prevslide,l.anchorlink,l.sectionindex+1,l.prevslideindex,l.direction,l.slideindex)?te=!1:(n.addclass(u).siblings().removeclass(u),l.localisresizing||(vo(l.prevslide),fo(n)),!j.loophorizontal&&j.controlarrows&&(a.find(u).toggle(0!==l.slideindex),a.find(_).toggle(!n.is(":last-child"))),a.hasclass(u)&&!l.localisresizing&&no(l.slideindex,l.slideanchor,l.anchorlink,l.sectionindex),function(e,o,n){var i=o.destinypos;if(j.css3){var a="translate3d(-"+t.round(i.left)+"px, 0px, 0px)";ro(e.find(d)).css(go(a)),ge=settimeout(function(){n&&eo(o)},j.scrollingspeed,j.easing)}else e.animate({scrollleft:t.round(i.left)},j.scrollingspeed,j.easing,function(){n&&eo(o)})}(o,l,!0))}function eo(o){var n,t;n=o.slidesnav,t=o.slideindex,n.find(h).removeclass(u),n.find("li").eq(t).find("a").addclass(u),o.localisresizing||(e.isfunction(j.afterslideload)&&j.afterslideload.call(o.destiny,o.anchorlink,o.sectionindex+1,o.slideanchor,o.slideindex),de=!0,uo(o.destiny)),te=!1}function mo(){if(bo(),ie){var o=e(n.activeelement);if(!o.is("textarea")&&!o.is("input")&&!o.is("select")){var i=q.height();t.abs(i-re)>20*t.max(re,i)/100&&(ke(!0),re=i)}}else cleartimeout(ve),ve=settimeout(function(){ke(!0)},350)}function bo(){var e=j.responsive||j.responsivewidth,o=j.responsiveheight,n=e&&q.outerwidth()t?"up":"down"}function po(o){if(!o.hasclass(p)){var n=e('').height(qo(o));o.addclass(p).wrapinner(n)}}function qo(e){var o=se;if(j.paddingtop||j.paddingbottom){var n=e;n.hasclass(g)||(n=e.closest(m));var t=parseint(n.css("padding-top"))+parseint(n.css("padding-bottom"));o=se-t}return o}function fo(e,o){o?ro(le):zo(le),le.css(go(e)),settimeout(function(){le.removeclass(r)},10)}function vo(o){var n=le.find(m+'[data-anchor="'+o+'"]');if(!n.length){var t=void 0!==o?o-1:0;n=e(m).eq(t)}return n}function jo(e,o){var n=vo(e);if(n.length){var t,i,a,l=(t=o,(a=(i=n).find(m+'[data-anchor="'+t+'"]')).length||(t=void 0!==t?t:0,a=i.find(m).eq(t)),a);e===$||n.hasclass(u)?yo(l):so(n,function(){yo(l)})}}function yo(e){e.length&&io(e.closest(z),e)}function no(e,o,n,t){var i="";j.anchors.length&&!j.lockanchors&&(e?(void 0!==n&&(i=n),void 0===o&&(o=e),ee=o,xo(i+"/"+o)):void 0!==e?(ee=o,xo(n)):xo(n)),wo()}function xo(e){if(j.recordhistory)location.hash=e;else if(ie||ae)o.history.replacestate(i,i,"#"+e);else{var n=o.location.href.split("#")[0];o.location.replace(n+"#"+e)}}function uo(e){var o=e.data("anchor"),n=e.index();return void 0===o&&(o=n),o}function wo(){var o=e(w),n=o.find(b),t=uo(o),i=uo(n),a=string(t);n.length&&(a=a+"-"+i),a=a.replace("/","-").replace("#","");var l=new regexp("\\b\\s?"+f+"-[^\\s]+\\b","g");j[0].classname=j[0].classname.replace(l,""),j.addclass(f+"-"+a)}function ko(e){var o=[];return o.y=void 0!==e.pagey&&(e.pagey||e.pagex)?e.pagey:e.touches[0].pagey,o.x=void 0!==e.pagex&&(e.pagey||e.pagex)?e.pagex:e.touches[0].pagex,ae&&oo(e)&&(j.scrollbar||!j.autoscrolling)&&(o.y=e.touches[0].pagey,o.x=e.touches[0].pagex),o}function _o(e,o){de(0,"internal"),void 0!==o&&(re=!0),io(e.closest(z),e),void 0!==o&&(re=!1),de(ce.scrollingspeed,"internal")}function qo(e){var o=t.round(e);j.css3&&j.autoscrolling&&!j.scrollbar?fo("translate3d(0px, -"+o+"px, 0px)",!1):j.autoscrolling&&!j.scrollbar?le.css("top",-o):w.scrolltop(o)}function go(e){return{"-webkit-transform":e,"-moz-transform":e,"-ms-transform":e,transform:e}}function jo(o,n,t){"all"!==n?ue[t][n]=o:e.each(object.keys(ue[t]),function(e,n){ue[t][n]=o})}function zo(e,o,n){j[e]=o,"internal"!==n&&(ce[e]=o)}function $o(){e("html").hasclass(d)?en("error","fullpage.js can only be initialized once and you are doing it multiple times!"):(j.continuousvertical&&(j.looptop||j.loopbottom)&&(j.continuousvertical=!1,en("warn","option `looptop/loopbottom` is mutually exclusive with `continuousvertical`; `continuousvertical` disabled")),j.scrollbar&&j.scrolloverflow&&en("warn","option `scrollbar` is mutually exclusive with `scrolloverflow`. sections with scrolloverflow might not work well in firefox"),!j.continuousvertical||!j.scrollbar&&j.autoscrolling||(j.continuousvertical=!1,en("warn","scroll bars (`scrollbar:true` or `autoscrolling:false`) are mutually exclusive with `continuousvertical`; `continuousvertical` disabled")),j.scrolloverflow&&!j.scrolloverflowhandler&&(j.scrolloverflow=!1,en("error","the option `scrolloverflow:true` requires the file `scrolloverflow.min.js`. please include it before fullpage.js.")),e.each(["fadingeffect","continuoushorizontal","scrollhorizontally","interlockedslides","resetsliders","responsiveslides","offsetsections","dragandmove","scrolloverflowreset","parallax"],function(e,o){j[o]&&en("warn","fullpage.js extensions require jquery.fullpage.extensions.min.js file instead of the usual jquery.fullpage.js. requested: "+o)}),e.each(j.anchors,function(o,n){var t=g.find("[name]").filter(function(){return e(this).attr("name")&&e(this).attr("name").tolowercase()==n.tolowercase()}),i=g.find("[id]").filter(function(){return e(this).attr("id")&&e(this).attr("id").tolowercase()==n.tolowercase()});(i.length||t.length)&&(en("error","data-anchor tags can not have the same value as any `id` element on the site (or `name` element for ie)."),i.length&&en("error",'"'+n+'" is is being used by another element `id` property'),t.length&&en("error",'"'+n+'" is is being used by another element `name` property'))}))}function en(e,o){console&&console[e]&&console[e]("fullpage: "+o)}}});
//# sourcemappingurl=jquery.fullpage.min.js.map