/*! * fullpage 2.9.4 * 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)}):"object"==typeof exports&&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 a="fullpage-wrapper",r="."+a,l="fp-scrollable",s="."+l,c="fp-responsive",d="fp-notransition",f="fp-destroyed",u="fp-enabled",h="fp-viewing",p="active",v="."+p,g="fp-completely",m="."+g,w=".section",s="fp-section",y="."+s,b=y+v,x=y+":first",c=y+":last",t="fp-tablecell",k="."+t,i="fp-auto-height",l="fp-normal-scroll",e="fp-nav",m="#"+e,o="fp-tooltip",a="."+o,r="fp-show-active",h=".slide",b="fp-slide",z="."+b,d=z+v,p="fp-slides",q="."+p,f="fp-slidescontainer",v="."+f,w="fp-table",u="fp-slidesnav",y="."+u,j=y+" a",n="fp-controlarrow",x="."+n,k="fp-prev",q="."+k,g=n+" "+k,j=x+q,z="fp-next",$="."+z,_=n+" "+z,ee=x+$,ne=e(n),te=e(t),oe={scrollbars:!0,mousewheel:!0,hidescrollbars:!1,fadescrollbars:!1,disablemouse:!0,interactivescrollbars:!0};e.fn.fullpage=function(l){function s(n,t){n||nt(0),rt("autoscrolling",n,t);var o=e(b);l.autoscrolling&&!l.scrollbar?(ct.css({overflow:"hidden",height:"100%"}),n(bt.recordhistory,"internal"),st.css({"-ms-touch-action":"none","touch-action":"none"}),o.length&&nt(o.position().top)):(ct.css({overflow:"visible",height:"initial"}),n(!1,"internal"),st.css({"-ms-touch-action":"","touch-action":""}),o.length&&ct.scrolltop(o.position().top))}function n(e,n){rt("recordhistory",e,n)}function q(e,n){rt("scrollingspeed",e,n)}function z(e,n){rt("fittosection",e,n)}function $(e){l.lockanchors=e}function ae(e){e?(kn(),qn()):(xn(),gn())}function re(n,t){"undefined"!=typeof t?(t=t.replace(/ /g,"").split(","),e.each(t,function(e,t){ot(n,t,"m")})):n?(ae(!0),jn()):(ae(!1),zn())}function le(n,t){"undefined"!=typeof t?(t=t.replace(/ /g,"").split(","),e.each(t,function(e,t){ot(n,t,"k")})):l.keyboardscrolling=n}function se(){var n=e(b).prev(y);n.length||!l.looptop&&!l.continuousvertical||(n=e(y).last()),n.length&&ke(n,null,!0)}function ce(){var n=e(b).next(y);n.length||!l.loopbottom&&!l.continuousvertical||(n=e(y).first()),n.length&&ke(n,null,!1)}function de(e,n){q(0,"internal"),fe(e,n),q(bt.scrollingspeed,"internal")}function fe(e,n){var t=dn(e);"undefined"!=typeof n?qn(e,n):t.length>0&&ke(t)}function ue(e){je("right",e)}function he(e){je("left",e)}function pe(n){if(!st.hasclass(f)){bt=!0,yt=ne.height(),e(y).each(function(){var n=e(this).find(q),t=e(this).find(z);l.verticalcentered&&e(this).find(k).css("height",bn(e(this))+"px"),e(this).css("height",yt+"px"),l.scrolloverflow&&(t.length?t.each(function(){rn(e(this))}):rn(e(this))),t.length>1&&sn(n,n.find(d))});var t=e(b),o=t.index(y);o&&de(o+1),bt=!1,e.isfunction(l.afterresize)&&n&&l.afterresize.call(st),e.isfunction(l.afterrebuild)&&!n&&l.afterrebuild.call(st)}}function ve(n){var t=dt.hasclass(c);n?t||(s(!1,"internal"),z(!1,"internal"),e(m).hide(),dt.addclass(c),e.isfunction(l.afterresponsive)&&l.afterresponsive.call(st,n)):t&&(s(bt.autoscrolling,"internal"),z(bt.autoscrolling,"internal"),e(m).show(),dt.removeclass(c),e.isfunction(l.afterresponsive)&&l.afterresponsive.call(st,n))}function ge(){l.css3&&(l.css3=nn()),l.scrollbar=l.scrollbar||l.hybrid,we(),se(),re(!0),s(l.autoscrolling,"internal"),tn(),jn(),"complete"===t.readystate&&rn(),ne.on("load",rn)}function me(){ne.on("scroll",re).on("hashchange",ln).blur(pn).resize(cn),te.keydown(sn).keyup(dn).on("click touchstart",m+" a",vn).on("click touchstart",j,gn).on("click",a,cn),e(y).on("click touchstart",x,hn),l.normalscrollelements&&(te.on("mouseenter",l.normalscrollelements,function(){ae(!1)}),te.on("mouseleave",l.normalscrollelements,function(){ae(!0)}))}function we(){var n=st.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 se(){st.css({height:"100%",position:"relative"}),st.addclass(a),e("html").addclass(u),yt=ne.height(),st.removeclass(f),ce(),e(y).each(function(n){var t=e(this),o=t.find(z),i=o.length;be(t,n),xe(t,n),i>0?ye(t,o,i):l.verticalcentered&&hn(t)}),l.fixedelements&&l.css3&&e(l.fixedelements).appendto(dt),l.navigation&&ke(),le(),l.scrolloverflow?("complete"===t.readystate&&ie(),ne.on("load",ie)):oe()}function ye(n,t,o){var i=100*o,a=100/o;t.wrapall('
'),t.parent().wrap('
'),n.find(v).css("width",i+"%"),o>1&&(l.controlarrows&&te(n),l.slidesnavigation&&vn(n,o)),t.each(function(n){e(this).css("width",a+"%"),l.verticalcentered&&hn(e(this))});var r=n.find(d);r.length&&(0!==e(b).index(y)||0===e(b).index(y)&&0!==r.index())?et(r,"internal"):t.eq(0).addclass(p)}function be(n,t){t||0!==e(b).length||n.addclass(p),vt=e(b),n.css("height",yt+"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 xe(n,t){"undefined"!=typeof l.anchors[t]&&n.hasclass(p)&&mn(l.anchors[t],t),l.menu&&l.css3&&e(l.menu).closest(r).length&&e(l.menu).appendto(dt)}function ce(){st.find(l.sectionselector).addclass(s),st.find(l.slideselector).addclass(b)}function te(e){e.find(q).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 ke(){dt.append('
    ');var n=e(m);n.addclass(function(){return l.showactivetooltip?r+" "+l.navigationposition:l.navigationposition});for(var t=0;t',a=l.navigationtooltips[t];"undefined"!=typeof a&&""!==a&&(i+='
    '+a+"
    "),i+="",n.find("ul").append(i)}e(m).css("margin-top","-"+e(m).height()/2+"px"),e(m).find("li").eq(e(b).index(y)).find("a").addclass(p)}function ie(){e(y).each(function(){var n=e(this).find(z);n.length?n.each(function(){rn(e(this))}):rn(e(this))}),oe()}function le(){st.find('iframe[src*="youtube.com/embed/"]').each(function(){ee(e(this),"enablejsapi=1")})}function ee(e,n){var t=e.attr("src");e.attr("src",t+me(t)+n)}function me(e){return/\?/.test(e)?"&":"?"}function oe(){var n=e(b);n.addclass(g),l.scrolloverflowhandler.afterrender&&l.scrolloverflowhandler.afterrender(n),en(n),nn(n),l.scrolloverflowhandler.afterload(),ae()&&e.isfunction(l.afterload)&&l.afterload.call(n,n.data("anchor"),n.index(y)+1),e.isfunction(l.afterrender)&&l.afterrender.call(st)}function ae(){var e=n.location.hash.replace("#","").split("/"),t=dn(decodeuricomponent(e[0]));return!t.length||t.length&&t.index()===vt.index()}function re(){var n;if(!l.autoscrolling||l.scrollbar){var o=ne.scrolltop(),i=ze(o),a=0,r=o+ne.height()/2,s=dt.height()-ne.height()===o,c=t.queryselectorall(y);if(s)a=c.length-1;else if(o)for(var d=0;d=ne.scrolltop()+ne.height():t<=ne.scrolltop()}function ze(e){var n=e>dt?"down":"up";return dt=e,ut=e,n}function de(e,n){if(kt.m[e]){var t="down"===e?"bottom":"top",o="down"===e?ce:se;if(n.length>0){if(!l.scrolloverflowhandler.isscrolled(t,n))return!0;o()}else o()}}function pe(e){var n=e.originalevent;!fe(e.target)&&l.autoscrolling&&ve(n)&&e.preventdefault()}function qe(n){var t=n.originalevent,i=e(t.target).closest(y);if(!fe(n.target)&&ve(t)){l.autoscrolling&&n.preventdefault();var a=l.scrolloverflowhandler.scrollable(i),r=_n(t);ft=r.y,vt=r.x,i.find(q).length&&o.abs(qt-vt)>o.abs(pt-ft)?!gt&&o.abs(qt-vt)>ne.outerwidth()/100*l.touchsensitivity&&(qt>vt?kt.m.right&&ue(i):kt.m.left&&he(i)):l.autoscrolling&&ct&&o.abs(pt-ft)>ne.height()/100*l.touchsensitivity&&(pt>ft?de("down",a):ft>pt&&de("up",a))}}function fe(n,t){t=t||0;var o=e(n).parent();return t149&&tt.shift(),tt.push(o.abs(r)),l.scrollbar&&(t.preventdefault?t.preventdefault():t.returnvalue=!1);var f=e(b),u=l.scrolloverflowhandler.scrollable(f),h=i-wt;if(wt=i,h>200&&(tt=[]),ct){var p=ue(tt,10),v=ue(tt,70),g=p>=v;g&&d&&(0>s?de("down",u):de("up",u))}return!1}l.fittosection&&ct.stop()}function je(n,t){var o="undefined"==typeof t?e(b):t,i=o.find(q),a=i.find(z).length;if(!(!i.length||gt||2>a)){var r=i.find(d),s=null;if(s="left"===n?r.prev(z):r.next(z),!s.length){if(!l.loophorizontal)return;s="left"===n?r.siblings(":last"):r.siblings(":first")}gt=!0,sn(i,s,n)}}function ne(){e(d).each(function(){et(e(this),"internal")})}function xe(e){var n=e.position(),t=n.top,o=n.top>ut,i=t-yt+e.outerheight(),a=l.bigsectionsdestination;return e.outerheight()>yt?(!o&&!a||"bottom"===a)&&(t=i):(o||bt&&e.is(":last-child"))&&(t=i),ut=t,t}function ke(n,t,o){if("undefined"!=typeof n){var i,a,r=xe(n),s={element:n,callback:t,ismovementup:o,dtop:r,ymovement:on(n),anchorlink:n.data("anchor"),sectionindex:n.index(y),activeslide:n.find(d),activesection:e(b),leavingsection:e(b).index(y)+1,localisresizing:bt};s.activesection.is(n)&&!bt||l.scrollbar&&ne.scrolltop()===s.dtop&&!n.hasclass(i)||(s.activeslide.length&&(i=s.activeslide.data("anchor"),a=s.activeslide.index()),l.autoscrolling&&l.continuousvertical&&"undefined"!=typeof s.ismovementup&&(!s.ismovementup&&"up"==s.ymovement||s.ismovementup&&"down"==s.ymovement)&&(s=je(s)),(!e.isfunction(l.onleave)||s.localisresizing||l.onleave.call(s.activesection,s.leavingsection,s.sectionindex+1,s.ymovement)!==!1)&&(s.localisresizing||on(s.activesection),l.scrolloverflowhandler.beforeleave(),n.addclass(p).siblings().removeclass(p),en(n),l.scrolloverflowhandler.onleave(),ct=!1,wn(a,i,s.anchorlink,s.sectionindex),qe(s),ut=s.anchorlink,mn(s.anchorlink,s.sectionindex)))}}function qe(n){if(l.css3&&l.autoscrolling&&!l.scrollbar){var t="translate3d(0px, -"+o.round(n.dtop)+"px, 0px)";zn(t,!0),l.scrollingspeed?(cleartimeout(lt),lt=settimeout(function(){$e(n)},l.scrollingspeed)):$e(n)}else{var i=ge(n);e(i.element).animate(i.options,l.scrollingspeed,l.easing).promise().done(function(){l.scrollbar?settimeout(function(){$e(n)},30):$e(n)})}}function ge(e){var n={};return l.autoscrolling&&!l.scrollbar?(n.options={top:-e.dtop},n.element=r):(n.options={scrolltop:e.dtop},n.element="html, body"),n}function je(n){return n.ismovementup?e(b).before(n.activesection.nextall(y)):e(b).after(n.activesection.prevall(y).get().reverse()),nt(e(b).position().top),ne(),n.wraparoundelements=n.activesection,n.dtop=n.element.position().top,n.ymovement=on(n.element),n}function ze(n){n.wraparoundelements&&n.wraparoundelements.length&&(n.ismovementup?e(x).before(n.wraparoundelements):e(c).after(n.wraparoundelements),nt(e(b).position().top),ne())}function $e(n){ze(n),e.isfunction(l.afterload)&&!n.localisresizing&&l.afterload.call(n.element,n.anchorlink,n.sectionindex+1),l.scrolloverflowhandler.afterload(),n.localisresizing||nn(n.element),n.element.addclass(g).siblings().removeclass(g),ct=!0,e.isfunction(n.callback)&&n.callback.call(this)}function _e(e,n){e.attr(n,e.data(n)).removeattr("data-"+n)}function en(n){if(l.lazyloading){var t,o=an(n);o.find("img[data-src], img[data-srcset], source[data-src], audio[data-src], iframe[data-src]").each(function(){t=e(this),e.each(["src","srcset"],function(e,n){var o=t.attr("data-"+n);"undefined"!=typeof o&&o&&_e(t,n)}),t.is("source")&&t.closest("video").get(0).load()})}}function nn(n){var t=an(n);t.find("video, audio").each(function(){var n=e(this).get(0);n.hasattribute("data-autoplay")&&"function"==typeof n.play&&n.play()}),t.find('iframe[src*="youtube.com/embed/"]').each(function(){var n=e(this).get(0);n.hasattribute("data-autoplay")&&tn(n),n.onload=function(){n.hasattribute("data-autoplay")&&tn(n)}})}function tn(e){e.contentwindow.postmessage('{"event":"command","func":"playvideo","args":""}',"*")}function on(n){var t=an(n);t.find("video, audio").each(function(){var n=e(this).get(0);n.hasattribute("data-keepplaying")||"function"!=typeof n.pause||n.pause()}),t.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 an(n){var t=n.find(d);return t.length&&(n=e(t)),n}function rn(){var e=n.location.hash.replace("#","").split("/"),t=decodeuricomponent(e[0]),o=decodeuricomponent(e[1]);t&&(l.animateanchor?qn(t,o):de(t,o))}function ln(){if(!zt&&!l.lockanchors){var e=n.location.hash.replace("#","").split("/"),t=decodeuricomponent(e[0]),o=decodeuricomponent(e[1]),i="undefined"==typeof ut,a="undefined"==typeof ut&&"undefined"==typeof o&&!gt;t.length&&(t&&t!==ut&&!i||a||!gt&&ht!=o)&&qn(t,o)}}function sn(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(),pt=n.ctrlkey,at=settimeout(function(){mn(n)},150)}}function cn(){e(this).prev().trigger("click")}function dn(e){xt&&(pt=e.ctrlkey)}function fn(e){2==e.which&&(yt=e.pagey,st.on("mousemove",wn))}function un(e){2==e.which&&st.off("mousemove")}function hn(){var n=e(this).closest(y);e(this).hasclass(k)?kt.m.left&&he(n):kt.m.right&&ue(n)}function pn(){xt=!1,pt=!1}function vn(n){n.preventdefault();var t=e(this).parent().index();ke(e(y).eq(t))}function gn(n){n.preventdefault();var t=e(this).closest(y).find(q),o=t.find(z).eq(e(this).closest("li").index());sn(t,o)}function mn(n){var t=n.shiftkey;if(ct||!([37,39].indexof(n.which)<0))switch(n.which){case 38:case 33:kt.k.up&&se();break;case 32:if(t&&kt.k.up){se();break}case 40:case 34:kt.k.down&&ce();break;case 36:kt.k.up&&fe(1);break;case 35:kt.k.down&&fe(e(y).length);break;case 37:kt.k.left&&he();break;case 39:kt.k.right&&ue();break;default:return}}function wn(e){ct&&(e.pageyyt&&kt.m.down&&ce()),yt=e.pagey}function sn(n,t,o){var i=n.closest(y),a={slides:n,destiny:t,direction:o,destinypos:t.position(),slideindex:t.index(),section:i,sectionindex:i.index(y),anchorlink:i.data("anchor"),slidesnav:i.find(y),slideanchor:yn(t),prevslide:i.find(d),prevslideindex:i.find(d).index(),localisresizing:bt};return a.xmovement=an(a.prevslideindex,a.slideindex),a.localisresizing||(ct=!1),l.onslideleave&&!a.localisresizing&&"none"!==a.xmovement&&e.isfunction(l.onslideleave)&&l.onslideleave.call(a.prevslide,a.anchorlink,a.sectionindex+1,a.prevslideindex,a.xmovement,a.slideindex)===!1?void(gt=!1):(t.addclass(p).siblings().removeclass(p),a.localisresizing||(on(a.prevslide),en(t)),!l.loophorizontal&&l.controlarrows&&(i.find(j).toggle(0!==a.slideindex),i.find(ee).toggle(!t.is(":last-child"))),i.hasclass(p)&&!a.localisresizing&&wn(a.slideindex,a.slideanchor,a.anchorlink,a.sectionindex),void bn(n,a,!0))}function yn(n){xn(n.slidesnav,n.slideindex),n.localisresizing||(e.isfunction(l.afterslideload)&&l.afterslideload.call(n.destiny,n.anchorlink,n.sectionindex+1,n.slideanchor,n.slideindex),ct=!0,nn(n.destiny)),gt=!1}function bn(e,n,t){var i=n.destinypos;if(l.css3){var a="translate3d(-"+o.round(i.left)+"px, 0px, 0px)";kn(e.find(v)).css(tt(a)),et=settimeout(function(){t&&yn(n)},l.scrollingspeed,l.easing)}else e.animate({scrollleft:o.round(i.left)},l.scrollingspeed,l.easing,function(){t&&yn(n)})}function xn(e,n){e.find(v).removeclass(p),e.find("li").eq(n).find("a").addclass(p)}function cn(){if(tn(),mt){var n=e(t.activeelement);if(!n.is("textarea")&&!n.is("input")&&!n.is("select")){var i=ne.height();o.abs(i-jt)>20*o.max(jt,i)/100&&(pe(!0),jt=i)}}else cleartimeout(it),it=settimeout(function(){pe(!0)},350)}function tn(){var e=l.responsive||l.responsivewidth,n=l.responsiveheight,t=e&&ne.outerwidth()o?"up":"down"}function an(e,n){return e==n?"none":e>n?"left":"right"}function rn(e){if(!e.hasclass("fp-noscroll")){e.css("overflow","hidden");var n,t=l.scrolloverflowhandler,o=t.wrapcontent(),i=e.closest(y),a=t.scrollable(e);a.length?n=t.scrollheight(e):(n=e.get(0).scrollheight,l.verticalcentered&&(n=e.find(k).get(0).scrollheight));var r=yt-parseint(i.css("padding-bottom"))-parseint(i.css("padding-top"));n>r?a.length?t.update(e,r):(l.verticalcentered?e.find(k).wrapinner(o):e.wrapinner(o),t.create(e,r)):t.remove(e),e.css("overflow","")}}function hn(e){e.hasclass(w)||e.addclass(w).wrapinner('
    ')}function bn(e){var n=yt;if(l.paddingtop||l.paddingbottom){var t=e;t.hasclass(s)||(t=e.closest(y));var o=parseint(t.css("padding-top"))+parseint(t.css("padding-bottom"));n=yt-o}return n}function zn(e,n){n?kn(st):in(st),st.css(tt(e)),settimeout(function(){st.removeclass(d)},10)}function dn(n){if(!n)return[];var t=st.find(y+'[data-anchor="'+n+'"]');return t.length||(t=e(y).eq(n-1)),t}function pn(e,n){var t=n.find(q),o=t.find(z+'[data-anchor="'+e+'"]');return o.length||(o=t.find(z).eq(e)),o}function qn(e,n){var t=dn(e);t.length&&("undefined"==typeof n&&(n=0),e===ut||t.hasclass(p)?fn(t,n):ke(t,function(){fn(t,n)}))}function fn(e,n){if("undefined"!=typeof n){var t=e.find(q),o=pn(n,e);o.length&&sn(t,o)}}function vn(e,n){e.append('
      ');var t=e.find(y);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 wn(e,n,t,o){var i="";l.anchors.length&&!l.lockanchors&&(e?("undefined"!=typeof t&&(i=t),"undefined"==typeof n&&(n=e),ht=n,un(i+"/"+n)):"undefined"!=typeof e?(ht=n,un(t)):un(t)),jn()}function un(e){if(l.recordhistory)location.hash=e;else if(mt||wt)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 jn(){var n=e(b),t=n.find(d),o=yn(n),i=yn(t),a=string(o);t.length&&(a=a+"-"+i),a=a.replace("/","-").replace("#","");var r=new regexp("\\b\\s?"+h+"-[^\\s]+\\b","g");dt[0].classname=dt[0].classname.replace(r,""),dt.addclass(h+"-"+a)}function nn(){var e,o=t.createelement("p"),a={webkittransform:"-webkit-transform",otransform:"-o-transform",mstransform:"-ms-transform",moztransform:"-moz-transform",transform:"transform"};t.body.insertbefore(o,null);for(var r in a)o.style[r]!==i&&(o.style[r]="translate3d(1px,1px,1px)",e=n.getcomputedstyle(o).getpropertyvalue(a[r]));return t.body.removechild(o),e!==i&&e.length>0&&"none"!==e}function xn(){t.addeventlistener?(t.removeeventlistener("mousewheel",ye,!1),t.removeeventlistener("wheel",ye,!1),t.removeeventlistener("mozmousepixelscroll",ye,!1)):t.detachevent("onmousewheel",ye)}function kn(){var e,o="";n.addeventlistener?e="addeventlistener":(e="attachevent",o="on");var a="onwheel"in t.createelement("div")?"wheel":t.onmousewheel!==i?"mousewheel":"dommousescroll";"dommousescroll"==a?t[e](o+"mozmousepixelscroll",ye,!1):t[e](o+a,ye,!1)}function qn(){st.on("mousedown",fn).on("mouseup",un)}function gn(){st.off("mousedown",fn).off("mouseup",un)}function jn(){(mt||wt)&&(l.autoscrolling&&dt.off(ht.touchmove).on(ht.touchmove,pe),e(r).off(ht.touchstart).on(ht.touchstart,we).off(ht.touchmove).on(ht.touchmove,qe))}function zn(){(mt||wt)&&e(r).off(ht.touchstart).off(ht.touchmove)}function $n(){var e;return e=n.pointerevent?{down:"pointerdown",move:"pointermove"}:{down:"mspointerdown",move:"mspointermove"}}function _n(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,wt&&ve(e)&&l.scrollbar&&(n.y=e.touches[0].pagey,n.x=e.touches[0].pagex),n}function et(e,n){q(0,"internal"),"undefined"!=typeof n&&(bt=!0),sn(e.closest(q),e),"undefined"!=typeof n&&(bt=!1),q(bt.scrollingspeed,"internal")}function nt(e){var n=o.round(e);if(l.css3&&l.autoscrolling&&!l.scrollbar){var t="translate3d(0px, -"+n+"px, 0px)";zn(t,!1)}else l.autoscrolling&&!l.scrollbar?st.css("top",-n):ct.scrolltop(n)}function tt(e){return{"-webkit-transform":e,"-moz-transform":e,"-ms-transform":e,transform:e}}function ot(e,n,t){switch(n){case"up":kt[t].up=e;break;case"down":kt[t].down=e;break;case"left":kt[t].left=e;break;case"right":kt[t].right=e;break;case"all":"m"==t?re(e):le(e)}}function it(n){s(!1,"internal"),re(!1),le(!1),st.addclass(f),cleartimeout(et),cleartimeout(lt),cleartimeout(it),cleartimeout(mt),cleartimeout(ot),ne.off("scroll",re).off("hashchange",ln).off("resize",cn),te.off("click touchstart",m+" a").off("mouseenter",m+" li").off("mouseleave",m+" li").off("click touchstart",j).off("mouseover",l.normalscrollelements).off("mouseout",l.normalscrollelements),e(y).off("click touchstart",x),cleartimeout(et),cleartimeout(lt),n&&at()}function at(){nt(0),st.find("img[data-src], source[data-src], audio[data-src], iframe[data-src]").each(function(){_e(e(this),"src")}),st.find("img[data-srcset]").each(function(){_e(e(this),"srcset")}),e(m+", "+y+", "+x).remove(),e(y).css({height:"","background-color":"",padding:""}),e(z).css({width:""}),st.css({height:"",position:"","-ms-touch-action":"","touch-action":""}),ct.css({overflow:"",height:""}),e("html").removeclass(u),dt.removeclass(c),e.each(dt.get(0).classname.split(/\s+/),function(e,n){0===n.indexof(h)&&dt.removeclass(n)}),e(y+", "+z).each(function(){l.scrolloverflowhandler.remove(e(this)),e(this).removeclass(w+" "+p)}),in(st),st.find(k+", "+v+", "+q).each(function(){e(this).replacewith(this.childnodes)}),st.css({"-webkit-transition":"none",transition:"none"}),ct.scrolltop(0);var n=[s,b,f];e.each(n,function(n,t){e("."+t).removeclass(t)})}function rt(e,n,t){l[e]=n,"internal"!==t&&(bt[e]=n)}function lt(){var n=["fadingeffect","continuoushorizontal","scrollhorizontally","interlockedslides","resetsliders","responsiveslides","offsetsections","dragandmove","scrolloverflowreset","parallax"];return e("html").hasclass(u)?void st("error","fullpage.js can only be initialized once and you are doing it multiple times!"):(l.continuousvertical&&(l.looptop||l.loopbottom)&&(l.continuousvertical=!1,st("warn","option `looptop/loopbottom` is mutually exclusive with `continuousvertical`; `continuousvertical` disabled")),l.scrollbar&&l.scrolloverflow&&st("warn","option `scrollbar` is mutually exclusive with `scrolloverflow`. sections with scrolloverflow might not work well in firefox"),!l.continuousvertical||!l.scrollbar&&l.autoscrolling||(l.continuousvertical=!1,st("warn","scroll bars (`scrollbar:true` or `autoscrolling:false`) are mutually exclusive with `continuousvertical`; `continuousvertical` disabled")),e.each(n,function(e,n){l[n]&&st("warn","fullpage.js extensions require jquery.fullpage.extensions.min.js file instead of the usual jquery.fullpage.js. requested: "+n)}),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)&&(st("error","data-anchor tags can not have the same value as any `id` element on the site (or `name` element for ie)."),i.length&&st("error",'"'+t+'" is is being used by another element `id` property'),o.length&&st("error",'"'+t+'" is is being used by another element `name` property'))}))}function st(e,n){console&&console[e]&&console[e]("fullpage: "+n)}if(e("html").hasclass(u))return void lt();var ct=e("html, body"),dt=e("body"),ft=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,continuoushorizontal:!1,scrollhorizontally:!1,interlockedslides:!1,dragandmove:!1,offsetsections:!1,resetsliders:!1,fadingeffect:!1,normalscrollelements:null,scrolloverflow:!1,scrolloverflowreset:!1,scrolloverflowhandler:ie,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:w,slideselector:h,afterload:null,onleave:null,afterrender:null,afterresize:null,afterrebuild:null,afterslideload:null,onslideleave:null,afterresponsive:null,lazyloading:!0},l);var ut,ht,pt,vt,gt=!1,mt=navigator.useragent.match(/(iphone|ipod|ipad|android|playbook|silk|blackberry|bb10|windows phone|tizen|bada|webos|iemobile|opera mini)/),wt="ontouchstart"in n||navigator.msmaxtouchpoints>0||navigator.maxtouchpoints,st=e(this),yt=ne.height(),bt=!1,xt=!0,ct=!0,tt=[],kt={};kt.m={up:!0,down:!0,left:!0,right:!0},kt.k=e.extend(!0,{},kt.m);var it,lt,et,mt,ot,at,rt=$n(),ht={touchmove:"ontouchmove"in n?"touchmove":rt.move,touchstart:"ontouchstart"in n?"touchstart":rt.down},bt=e.extend(!0,{},l);lt(),oe.click=wt,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}}),e(this).length&&(ft.setautoscrolling=s,ft.setrecordhistory=n,ft.setscrollingspeed=q,ft.setfittosection=z,ft.setlockanchors=$,ft.setmousewheelscrolling=ae,ft.setallowscrolling=re,ft.setkeyboardscrolling=le,ft.movesectionup=se,ft.movesectiondown=ce,ft.silentmoveto=de,ft.moveto=fe,ft.moveslideright=ue,ft.moveslideleft=he,ft.fittosection=he,ft.rebuild=pe,ft.setresponsive=ve,ft.destroy=it,ge(),me());var zt=!1,dt=0,pt=0,qt=0,ft=0,vt=0,wt=(new date).gettime(),ut=0,yt=0,jt=yt},"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:[],togglewheel:function(n){var t=e(b).find(s);t.each(function(){var t=e(this).data("iscrollinstance");"undefined"!=typeof t&&t&&(n?t.wheelon():t.wheeloff())})},onleave:function(){ie.togglewheel(!1)},beforeleave:function(){ie.onleave()},afterload:function(){ie.togglewheel(!0)},create:function(n,t){var o=n.find(s);o.height(t),o.each(function(){var n=e(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),t.wheeloff(),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:!0},scrollable:function(e){return e.find(q).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",null)}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