!function(e,n,o,t,i){"use strict";var a="fullpage-wrapper",l="."+a,s="fp-scrollable",r="."+s,c=".slimScrollBar",d=".slimScrollRail",f="fp-responsive",u="fp-notransition",h="fp-destroyed",p="fp-viewing",v="active",g="."+v,m=".section",S="fp-section",w="."+S,x=w+g,y=w+":first",b=w+":last",T="fp-tableCell",C="."+T,k="fp-nav",E="#"+k,L="fp-tooltip",A="fp-show-active",B=".slide",M="fp-slide",R="."+M,z=R+g,I="fp-slides",F="."+I,H="fp-slidesContainer",P="."+H,V="fp-table",D="fp-slidesNav",q="."+D,N=q+" a",U="fp-controlArrow",Y="."+U,O="fp-prev",W="."+O,X=U+" "+O,K=Y+W,j="fp-next",Q="."+j,$=U+" "+j,G=Y+Q,J=e(n),Z=e(o);e.fn.fullpage=function(U){function W(e){e.find(F).after('
'),"#fff"!=U.controlArrowColor&&(e.find(G).css("border-color","transparent transparent transparent "+U.controlArrowColor),e.find(K).css("border-color","transparent "+U.controlArrowColor+" transparent transparent")),U.loopHorizontal||e.find(K).hide()}function j(){ro.append(''),ho=e(E),ho.addClass(function(){return U.showActiveTooltip?A+" "+U.navigationPosition:U.navigationPosition});for(var n=0;n',i=U.navigationTooltips[n];"undefined"!=typeof i&&""!==i&&(t+=''+i+"
"),t+="",ho.find("ul").append(t)}}function Q(){e(w).each(function(){var n=e(this).find(R);n.length?n.each(function(){Fn(e(this))}):Fn(e(this))}),e.isFunction(U.afterRender)&&U.afterRender.call(this)}function _(){var n;if(!U.autoScrolling||U.scrollBar){for(var i=J.scrollTop(),a=0,l=t.abs(i-o.querySelectorAll(w)[0].offsetTop),s=o.querySelectorAll(w),r=0;rd&&(a=r,l=d)}n=e(s).eq(a)}if(!U.autoScrolling||U.scrollBar){if(!n.hasClass(v)){Eo=!0;var f=e(x),u=f.index(w)+1,h=zn(n),p=n.data("anchor"),g=n.index(w)+1,m=n.find(z);if(m.length)var S=m.data("anchor"),y=m.index();xo&&(n.addClass(v).siblings().removeClass(v),e.isFunction(U.onLeave)&&U.onLeave.call(f,u,g,h),e.isFunction(U.afterLoad)&&U.afterLoad.call(n,p,g),Mn(p,g-1),U.anchors.length&&(fo=p,Yn(y,S,p,g))),clearTimeout(Co),Co=setTimeout(function(){Eo=!1},100)}U.fitToSection&&(clearTimeout(ko),ko=setTimeout(function(){xo&&(e(x).is(n)&&(wo=!0),fn(n),wo=!1)},1e3))}}function en(e){return e.find(F).length?e.find(z).find(r):e.find(r)}function nn(e,n){if(bo[e]){var o,t;if("down"==e?(o="bottom",t=co.moveSectionDown):(o="top",t=co.moveSectionUp),n.length>0){if(!Rn(o,n))return!0;t()}else t()}}function on(n){var o=n.originalEvent;if(!tn(n.target)&&an(o)){U.autoScrolling&&n.preventDefault();var i=e(x),a=en(i);if(xo&&!po){var l=Zn(o);Bo=l.y,Mo=l.x,i.find(F).length&&t.abs(Ao-Mo)>t.abs(Lo-Bo)?t.abs(Ao-Mo)>J.width()/100*U.touchSensitivity&&(Ao>Mo?bo.right&&co.moveSlideRight():bo.left&&co.moveSlideLeft()):U.autoScrolling&&t.abs(Lo-Bo)>J.height()/100*U.touchSensitivity&&(Lo>Bo?nn("down",a):Bo>Lo&&nn("up",a))}}}function tn(n,o){o=o||0;var t=e(n).parent();return o149&&yo.shift(),yo.push(t.abs(a)),U.scrollBar&&(o.preventDefault?o.preventDefault():o.returnValue=!1);var s=e(x),r=en(s),c=i-Ro;if(Ro=i,c>200&&(yo=[]),xo){var d=sn(yo,10),f=sn(yo,70),u=d>=f;u&&(0>l?nn("down",r):nn("up",r))}return!1}U.fitToSection&&so.stop()}function cn(n){var o=e(x),t=o.find(F);if(t.length&&!po){var i=t.find(z),a=null;if(a="prev"===n?i.prev(R):i.next(R),!a.length){if(!U.loopHorizontal)return;a=i.siblings("prev"===n?":last":":first")}po=!0,bn(t,a)}}function dn(){e(z).each(function(){_n(e(this))})}function fn(n,o,t){var i=n.position();if("undefined"!=typeof i){var a={element:n,callback:o,isMovementUp:t,dest:i,dtop:i.top,yMovement:zn(n),anchorLink:n.data("anchor"),sectionIndex:n.index(w),activeSlide:n.find(z),activeSection:e(x),leavingSection:e(x).index(w)+1,localIsResizing:wo};if(!(a.activeSection.is(n)&&!wo||U.scrollBar&&J.scrollTop()===a.dtop)){if(a.activeSlide.length)var l=a.activeSlide.data("anchor"),s=a.activeSlide.index();U.autoScrolling&&U.continuousVertical&&"undefined"!=typeof a.isMovementUp&&(!a.isMovementUp&&"up"==a.yMovement||a.isMovementUp&&"down"==a.yMovement)&&(a=pn(a)),n.addClass(v).siblings().removeClass(v),xo=!1,Yn(s,l,a.anchorLink,a.sectionIndex),e.isFunction(U.onLeave)&&!a.localIsResizing&&U.onLeave.call(a.activeSection,a.leavingSection,a.sectionIndex+1,a.yMovement),un(a),fo=a.anchorLink,Mn(a.anchorLink,a.sectionIndex)}}}function un(n){if(U.css3&&U.autoScrolling&&!U.scrollBar){var o="translate3d(0px, -"+n.dtop+"px, 0px)";Dn(o,!0),setTimeout(function(){gn(n)},U.scrollingSpeed)}else{var t=hn(n);e(t.element).animate(t.options,U.scrollingSpeed,U.easing).promise().done(function(){gn(n)})}}function hn(e){var n={};return U.autoScrolling&&!U.scrollBar?(n.options={top:-e.dtop},n.element=l):(n.options={scrollTop:e.dtop},n.element="html, body"),n}function pn(n){return n.isMovementUp?e(x).before(n.activeSection.nextAll(w)):e(x).after(n.activeSection.prevAll(w).get().reverse()),eo(e(x).position().top),dn(),n.wrapAroundElements=n.activeSection,n.dest=n.element.position(),n.dtop=n.dest.top,n.yMovement=zn(n.element),n}function vn(n){n.wrapAroundElements&&n.wrapAroundElements.length&&(n.isMovementUp?e(y).before(n.wrapAroundElements):e(b).after(n.wrapAroundElements),eo(e(x).position().top),dn())}function gn(n){vn(n),e.isFunction(U.afterLoad)&&!n.localIsResizing&&U.afterLoad.call(n.element,n.anchorLink,n.sectionIndex+1),xo=!0,setTimeout(function(){e.isFunction(n.callback)&&n.callback.call(this)},600)}function mn(){var e=n.location.hash.replace("#","").split("/"),o=e[0],t=e[1];o&&qn(o,t)}function Sn(){if(!Eo){var e=n.location.hash.replace("#","").split("/"),o=e[0],t=e[1];if(o.length){var i="undefined"==typeof fo,a="undefined"==typeof fo&&"undefined"==typeof t&&!po;(o&&o!==fo&&!i||a||!po&&uo!=t)&&qn(o,t)}}}function wn(n){clearTimeout(zo);var t=e(o.activeElement);if(!t.is("textarea")&&!t.is("input")&&!t.is("select")&&U.keyboardScrolling&&U.autoScrolling){var i=n.which,a=[40,38,32,33,34];e.inArray(i,a)>-1&&n.preventDefault(),zo=setTimeout(function(){xn(n)},150)}}function xn(n){var o=n.shiftKey;switch(n.which){case 38:case 33:co.moveSectionUp();break;case 32:if(o){co.moveSectionUp();break}case 40:case 34:co.moveSectionDown();break;case 36:co.moveTo(1);break;case 35:co.moveTo(e(w).length);break;case 37:co.moveSlideLeft();break;case 39:co.moveSlideRight();break;default:return}}function yn(e){xo&&(e.pageYIo&&co.moveSectionDown()),Io=e.pageY}function bn(n,o){var t=o.position(),i=o.index(),a=n.closest(w),l=a.index(w),s=a.data("anchor"),r=a.find(q),c=Wn(o),d=wo;if(U.onSlideLeave){var f=a.find(z),u=f.index(),h=In(u,i);d||"none"===h||e.isFunction(U.onSlideLeave)&&U.onSlideLeave.call(f,s,l+1,u,h)}o.addClass(v).siblings().removeClass(v),!U.loopHorizontal&&U.controlArrows&&(a.find(K).toggle(0!==i),a.find(G).toggle(!o.is(":last-child"))),a.hasClass(v)&&Yn(i,c,s,l);var p=function(){d||e.isFunction(U.afterSlideLoad)&&U.afterSlideLoad.call(o,s,l+1,c,i),po=!1};if(U.css3){var m="translate3d(-"+t.left+"px, 0px, 0px)";kn(n.find(P),U.scrollingSpeed>0).css(no(m)),setTimeout(function(){p()},U.scrollingSpeed,U.easing)}else n.animate({scrollLeft:t.left},U.scrollingSpeed,U.easing,function(){p()});r.find(g).removeClass(v),r.find("li").eq(i).find("a").addClass(v)}function Tn(){if(Cn(),vo){var n=e(o.activeElement);if(!n.is("textarea")&&!n.is("input")&&!n.is("select")){var i=J.height();t.abs(i-Ho)>20*t.max(Ho,i)/100&&(co.reBuild(!0),Ho=i)}}else clearTimeout(Fo),Fo=setTimeout(function(){co.reBuild(!0)},500)}function Cn(){if(U.responsive){var n=mo.hasClass(f);J.width()e||i>n){var a=100*e/o,l=100*n/i,s=t.min(a,l),r=s.toFixed(2);ro.css("font-size",r+"%")}else ro.css("font-size","100%")}function An(n,o){U.navigation&&(e(E).find(g).removeClass(v),n?e(E).find('a[href="#'+n+'"]').addClass(v):e(E).find("li").eq(o).find("a").addClass(v))}function Bn(n){U.menu&&(e(U.menu).find(g).removeClass(v),e(U.menu).find('[data-menuanchor="'+n+'"]').addClass(v))}function Mn(e,n){Bn(e),An(e,n)}function Rn(e,n){return"top"===e?!n.scrollTop():"bottom"===e?n.scrollTop()+1+n.innerHeight()>=n[0].scrollHeight:void 0}function zn(n){var o=e(x).index(w),t=n.index(w);return o==t?"none":o>t?"up":"down"}function In(e,n){return modooHome.slideFromIndex=e,modooHome.slideToIndex=n,e==n?"none":e>n?"left":"right"}function Fn(e){e.css("overflow","hidden");var n,o=e.closest(w),t=e.find(r);t.length?n=t.get(0).scrollHeight:(n=e.get(0).scrollHeight,U.verticalCentered&&(n=e.find(C).get(0).scrollHeight));var i=So-parseInt(o.css("padding-bottom"))-parseInt(o.css("padding-top"));n>i?t.length?t.css("height",i+"px").parent().css("height",i+"px"):(U.verticalCentered?e.find(C).wrapInner(''):e.wrapInner(''),e.find(r).slimScroll({allowPageScroll:!0,height:i+"px",size:"10px",alwaysVisible:!0})):Hn(e),e.css("overflow","")}function Hn(e){e.find(r).children().first().unwrap().unwrap(),e.find(c).remove(),e.find(d).remove()}function Pn(e){e.addClass(V).wrapInner('')}function Vn(e){var n=So;if(U.paddingTop||U.paddingBottom){var o=e;o.hasClass(S)||(o=e.closest(w));var t=parseInt(o.css("padding-top"))+parseInt(o.css("padding-bottom"));n=So-t}return n}function Dn(e,n){n?kn(mo):En(mo),mo.css(no(e)),setTimeout(function(){mo.removeClass(u)},10)}function qn(n,o){var t;"undefined"==typeof o&&(o=0),t=isNaN(n)?e('[data-anchor="'+n+'"]'):e(w).eq(n-1),n===fo||t.hasClass(v)?Nn(t,o):fn(t,function(){Nn(t,o)})}function Nn(e,n){if("undefined"!=typeof n){var o=e.find(F),t=o.find('[data-anchor="'+n+'"]');t.length||(t=o.find(R).eq(n)),t.length&&bn(o,t)}}function Un(e,n){e.append('');var o=e.find(q);o.addClass(U.slidesNavPosition);for(var t=0;n>t;t++)o.find("ul").append('');o.css("margin-left","-"+o.width()/2+"px"),o.find("li").first().find("a").addClass(v)}function Yn(e,n,o){var t="";U.anchors.length&&(e?("undefined"!=typeof o&&(t=o),"undefined"==typeof n&&(n=e),uo=n,On(t+"/"+n)):"undefined"!=typeof e?(uo=n,On(o)):On(o)),Xn()}function On(e){if(U.recordHistory)location.hash=e;else if(vo||go)history.replaceState(i,i,"#"+e);else{var o=n.location.href.split("#")[0];n.location.replace(o+"#"+e)}}function Wn(e){var n=e.data("anchor"),o=e.index(R);return"undefined"==typeof n&&(n=o),n}function Xn(){var n=e(x),o=n.find(z),t=n.data("anchor"),i=Wn(o),a=n.index(w),l=String(a);U.anchors.length&&(l=t),o.length&&(l=l+"-"+i),l=l.replace("/","-").replace("#","");var s=new RegExp("\\b\\s?"+p+"-[^\\s]+\\b","g");ro[0].className=ro[0].className.replace(s,""),ro.addClass(p+"-"+l)}function Kn(){var e,t=o.createElement("p"),a={webkitTransform:"-webkit-transform",OTransform:"-o-transform",msTransform:"-ms-transform",MozTransform:"-moz-transform",transform:"transform"};o.body.insertBefore(t,null);for(var l in a)t.style[l]!==i&&(t.style[l]="translate3d(1px,1px,1px)",e=n.getComputedStyle(t).getPropertyValue(a[l]));return o.body.removeChild(t),e!==i&&e.length>0&&"none"!==e}function jn(){o.addEventListener?(o.removeEventListener("mousewheel",rn,!1),o.removeEventListener("wheel",rn,!1)):o.detachEvent("onmousewheel",rn)}function Qn(){o.addEventListener?(o.addEventListener("mousewheel",rn,!1),o.addEventListener("wheel",rn,!1)):o.attachEvent("onmousewheel",rn)}function $n(){if(vo||go){var e=Jn();Z.off("touchstart "+e.down).on("touchstart "+e.down,ln),Z.off("touchmove "+e.move).on("touchmove "+e.move,on)}}function Gn(){if(vo||go){var e=Jn();Z.off("touchstart "+e.down),Z.off("touchmove "+e.move)}}function Jn(){var e;return e=n.PointerEvent?{down:"pointerdown",move:"pointermove"}:{down:"MSPointerDown",move:"MSPointerMove"}}function Zn(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,go&&an(e)&&(n.y=e.touches[0].pageY,n.x=e.touches[0].pageX),n}function _n(e){co.setScrollingSpeed(0,"internal"),bn(e.closest(F),e),co.setScrollingSpeed(To.scrollingSpeed,"internal")}function eo(e){if(U.scrollBar)mo.scrollTop(e);else if(U.css3){var n="translate3d(0px, -"+e+"px, 0px)";Dn(n,!1)}else mo.css("top",-e)}function no(e){return{"-webkit-transform":e,"-moz-transform":e,"-ms-transform":e,transform:e}}function oo(e,n){switch(n){case"up":bo.up=e;break;case"down":bo.down=e;break;case"left":bo.left=e;break;case"right":bo.right=e;break;case"all":co.setAllowScrolling(e)}}function to(){eo(0),e(E+", "+q+", "+Y).remove(),e(w).css({height:"","background-color":"",padding:""}),e(R).css({width:""}),mo.css({height:"",position:"","-ms-touch-action":"","touch-action":""}),e(w+", "+R).each(function(){Hn(e(this)),e(this).removeClass(V+" "+v)}),En(mo),mo.find(C+", "+P+", "+F).each(function(){e(this).replaceWith(this.childNodes)}),so.scrollTop(0)}function io(e,n,o){U[e]=n,"internal"!==o&&(To[e]=n)}function ao(){U.continuousVertical&&(U.loopTop||U.loopBottom)&&(U.continuousVertical=!1,lo("warn","Option `loopTop/loopBottom` is mutually exclusive with `continuousVertical`; `continuousVertical` disabled")),U.continuousVertical&&U.scrollBar&&(U.continuousVertical=!1,lo("warn","Option `scrollBar` is mutually exclusive with `continuousVertical`; `continuousVertical` disabled")),e.each(U.anchors,function(n,o){(e("#"+o).length||e('[name="'+o+'"]').length)&&lo("error","data-anchor tags can not have the same value as any `id` element on the site (or `name` element for IE).")})}function lo(e,n){console&&console[e]&&console[e]("fullPage: "+n)}var so=e("html, body"),ro=e("body"),co=e.fn.fullpage;U=e.extend({menu:!1,anchors:[],navigation:!1,navigationPosition:"right",navigationTooltips:[],showActiveTooltip:!1,slidesNavigation:!1,slidesNavPosition:"bottom",scrollBar:!1,css3:!0,scrollingSpeed:700,autoScrolling:!0,fitToSection:!0,easing:"easeInOutCubic",easingcss3:"ease",loopBottom:!1,loopTop:!1,loopHorizontal:!0,continuousVertical:!1,normalScrollElements:null,scrollOverflow:!1,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,sectionSelector:m,slideSelector:B,afterLoad:null,onLeave:null,afterRender:null,afterResize:null,afterReBuild:null,afterSlideLoad:null,onSlideLeave:null},U),ao(),e.extend(e.easing,{easeInOutCubic:function(e,n,o,t,i){return(n/=i/2)<1?t/2*n*n*n+o:t/2*((n-=2)*n*n+2)+o}}),e.extend(e.easing,{easeInQuart:function(e,n,o,t,i){return t*(n/=i)*n*n*n+o}}),co.setAutoScrolling=function(n,o){io("autoScrolling",n,o);var t=e(x);U.autoScrolling&&!U.scrollBar?(so.css({overflow:"hidden",height:"100%"}),co.setRecordHistory(U.recordHistory,"internal"),mo.css({"-ms-touch-action":"none","touch-action":"none"}),t.length&&eo(t.position().top)):(so.css({overflow:"visible",height:"initial"}),co.setRecordHistory(!1,"internal"),mo.css({"-ms-touch-action":"","touch-action":""}),eo(0),t.length&&so.scrollTop(t.position().top))},co.setRecordHistory=function(e,n){io("recordHistory",e,n)},co.setScrollingSpeed=function(e,n){io("scrollingSpeed",e,n)},co.setFitToSection=function(e,n){io("fitToSection",e,n)},co.setMouseWheelScrolling=function(e){e?Qn():jn()},co.setAllowScrolling=function(n,o){"undefined"!=typeof o?(o=o.replace(" ","").split(","),e.each(o,function(e,o){oo(n,o)})):n?(co.setMouseWheelScrolling(!0),$n()):(co.setMouseWheelScrolling(!1),Gn())},co.setKeyboardScrolling=function(e){U.keyboardScrolling=e},co.moveSectionUp=function(){var n=e(x).prev(w);n.length||!U.loopTop&&!U.continuousVertical||(n=e(w).last()),n.length&&fn(n,null,!0)},co.moveSectionDown=function(){var n=e(x).next(w);n.length||!U.loopBottom&&!U.continuousVertical||(n=e(w).first()),n.length&&fn(n,null,!1)},co.moveTo=function(n,o){var t="";t=isNaN(n)?e('[data-anchor="'+n+'"]'):e(w).eq(n-1),"undefined"!=typeof o?qn(n,o):t.length>0&&fn(t)},co.moveSlideRight=function(){cn("next")},co.moveSlideLeft=function(){cn("prev")},co.reBuild=function(n){if(!mo.hasClass(h)){wo=!0;var o=J.width();So=J.height(),U.resize&&Ln(So,o),e(w).each(function(){var n=e(this).find(F),o=e(this).find(R);U.verticalCentered&&e(this).find(C).css("height",Vn(e(this))+"px"),e(this).css("height",So+"px"),U.scrollOverflow&&(o.length?o.each(function(){Fn(e(this))}):Fn(e(this))),o.length&&bn(n,n.find(z))});var t=e(x);t.index(w)&&fn(t),wo=!1,e.isFunction(U.afterResize)&&n&&U.afterResize.call(mo),e.isFunction(U.afterReBuild)&&!n&&U.afterReBuild.call(mo)}};var fo,uo,ho,po=!1,vo=navigator.userAgent.match(/(iPhone|iPod|iPad|Android|playbook|silk|BlackBerry|BB10|Windows Phone|Tizen|Bada|webOS|IEMobile|Opera Mini)/),go="ontouchstart"in n||navigator.msMaxTouchPoints>0||navigator.maxTouchPoints,mo=e(this),So=J.height(),wo=!1,xo=!0,yo=[],bo={up:!0,down:!0,left:!0,right:!0},To=e.extend(!0,{},U);co.setAllowScrolling(!0),mo.removeClass(h),U.css3&&(U.css3=Kn()),e(this).length?(mo.css({height:"100%",position:"relative"}),mo.addClass(a)):lo("error","Error! Fullpage.js needs to be initialized with a selector. For example: $('#myContainer').fullpage();"),e(U.sectionSelector).each(function(){e(this).addClass(S)}),e(U.slideSelector).each(function(){e(this).addClass(M)}),U.navigation&&j(),e(w).each(function(n){var o=e(this),t=e(this).find(R),i=t.length;if(n||0!==e(x).length||e(this).addClass(v),e(this).css("height",So+"px"),U.paddingTop&&e(this).css("padding-top",U.paddingTop),U.paddingBottom&&e(this).css("padding-bottom",U.paddingBottom),"undefined"!=typeof U.sectionsColor[n]&&e(this).css("background-color",U.sectionsColor[n]),"undefined"!=typeof U.anchors[n]&&(e(this).attr("data-anchor",U.anchors[n]),e(this).hasClass(v)&&Mn(U.anchors[n],n)),i>1){var a=100*i,l=100/i;t.wrapAll(''),t.parent().wrap(''),e(this).find(P).css("width",a+"%"),U.controlArrows&&W(e(this)),U.slidesNavigation&&Un(e(this),i),t.each(function(){e(this).css("width",l+"%"),U.verticalCentered&&Pn(e(this))});var s=o.find(z);s.length?_n(s):t.eq(0).addClass(v)}else U.verticalCentered&&Pn(e(this))}).promise().done(function(){co.setAutoScrolling(U.autoScrolling,"internal");var t=e(x).find(z);if(t.length&&(0!==e(x).index(w)||0===e(x).index(w)&&0!==t.index())&&_n(t),U.fixedElements&&U.css3&&e(U.fixedElements).appendTo(ro),U.navigation&&(ho.css("margin-top","-"+ho.height()/2+"px"),ho.find("li").eq(e(x).index(w)).find("a").addClass(v)),U.menu&&U.css3&&e(U.menu).closest(l).length&&e(U.menu).appendTo(ro),U.scrollOverflow?("complete"===o.readyState&&Q(),J.on("load",Q)):e.isFunction(U.afterRender)&&U.afterRender.call(mo),Cn(),!U.animateAnchor){var i=n.location.hash.replace("#","").split("/"),a=i[0];if(a.length){var s=e('[data-anchor="'+a+'"]');s.length&&(U.autoScrolling?eo(s.position().top):(eo(0),so.scrollTop(s.position().top)),Mn(a,null),e.isFunction(U.afterLoad)&&U.afterLoad.call(s,a,s.index(w)+1),s.addClass(v).siblings().removeClass(v))}}Xn(),J.on("load",function(){mn()})});var Co,ko,Eo=!1;J.on("scroll",_);var Lo=0,Ao=0,Bo=0,Mo=0,Ro=(new Date).getTime();J.on("hashchange",Sn),Z.keydown(wn);var zo;mo.mousedown(function(e){2==e.which&&(Io=e.pageY,mo.on("mousemove",yn))}),mo.mouseup(function(e){2==e.which&&mo.off("mousemove")});var Io=0;Z.on("click touchstart",E+" a",function(n){n.preventDefault();var o=e(this).parent().index();fn(e(w).eq(o))}),Z.on("click touchstart",N,function(n){n.preventDefault();var o=e(this).closest(w).find(F),t=o.find(R).eq(e(this).closest("li").index());bn(o,t)}),U.normalScrollElements&&(Z.on("mouseenter",U.normalScrollElements,function(){co.setMouseWheelScrolling(!1)}),Z.on("mouseleave",U.normalScrollElements,function(){co.setMouseWheelScrolling(!0)})),e(w).on("click touchstart",Y,function(){e(this).hasClass(O)?co.moveSlideLeft():co.moveSlideRight()}),J.resize(Tn);var Fo,Ho=So;co.destroy=function(n){co.setAutoScrolling(!1,"internal"),co.setAllowScrolling(!1),co.setKeyboardScrolling(!1),mo.addClass(h),J.off("scroll",_).off("hashchange",Sn).off("resize",Tn),Z.off("click",E+" a").off("mouseenter",E+" li").off("mouseleave",E+" li").off("click",N).off("mouseover",U.normalScrollElements).off("mouseout",U.normalScrollElements),e(w).off("click",Y),n&&to()}}}(jQuery,window,document,Math);