File: /var/www/html/wpprm_old/wp-content/themes/ronneby/assets/js/jquery.onepagescroll.min.js
!function(n,r,d){var u=n.requestAnimationFrame||n.webkitRequestAnimationFrame||n.mozRequestAnimationFrame||n.oRequestAnimationFrame||n.msRequestAnimationFrame||function(t){n.setTimeout(t,1e3/60)},m=function(){var s={},o=r.createElement("div").style,e=function(){for(var t=["t","webkitT","MozT","msT","OT"],e=0,i=t.length;e<i;e++)if(t[e]+"ransform"in o)return t[e].substr(0,t[e].length-1);return!1}();function t(t){return!1!==e&&(""===e?t:e+t.charAt(0).toUpperCase()+t.substr(1))}s.getTime=Date.now||function(){return(new Date).getTime()},s.extend=function(t,e){for(var i in e)t[i]=e[i]},s.addEvent=function(t,e,i,s){t.addEventListener(e,i,!!s)},s.removeEvent=function(t,e,i,s){t.removeEventListener(e,i,!!s)},s.prefixPointerEvent=function(t){return n.MSPointerEvent?"MSPointer"+t.charAt(7).toUpperCase()+t.substr(8):t},s.momentum=function(t,e,i,s,o,n){var r,a,l=t-e,h=d.abs(l)/i;return a=h/(n=void 0===n?6e-4:n),(r=t+h*h/(2*n)*(l<0?-1:1))<s?(r=o?s-o/2.5*(h/8):s,a=(l=d.abs(r-t))/h):0<r&&(r=o?o/2.5*(h/8):0,a=(l=d.abs(t)+r)/h),{destination:d.round(r),duration:a}};var i=t("transform");return s.extend(s,{hasTransform:!1!==i,hasPerspective:t("perspective")in o,hasTouch:"ontouchstart"in n,hasPointer:!(!n.PointerEvent&&!n.MSPointerEvent),hasTransition:t("transition")in o}),s.isBadAndroid=function(){var t=n.navigator.appVersion;if(/Android/.test(t)&&!/Chrome\/\d/.test(t)){var e=t.match(/Safari\/(\d+.\d)/);return!(e&&"object"==typeof e&&2<=e.length)||parseFloat(e[1])<535.19}return!1}(),s.extend(s.style={},{transform:i,transitionTimingFunction:t("transitionTimingFunction"),transitionDuration:t("transitionDuration"),transitionDelay:t("transitionDelay"),transformOrigin:t("transformOrigin")}),s.hasClass=function(t,e){return new RegExp("(^|\\s)"+e+"(\\s|$)").test(t.className)},s.addClass=function(t,e){if(!s.hasClass(t,e)){var i=t.className.split(" ");i.push(e),t.className=i.join(" ")}},s.removeClass=function(t,e){if(s.hasClass(t,e)){var i=new RegExp("(^|\\s)"+e+"(\\s|$)","g");t.className=t.className.replace(i," ")}},s.offset=function(t){for(var e=-t.offsetLeft,i=-t.offsetTop;t=t.offsetParent;)e-=t.offsetLeft,i-=t.offsetTop;return{left:e,top:i}},s.preventDefaultException=function(t,e){for(var i in e)if(e[i].test(t[i]))return!0;return!1},s.extend(s.eventType={},{touchstart:1,touchmove:1,touchend:1,mousedown:2,mousemove:2,mouseup:2,pointerdown:3,pointermove:3,pointerup:3,MSPointerDown:3,MSPointerMove:3,MSPointerUp:3}),s.extend(s.ease={},{quadratic:{style:"cubic-bezier(0.25, 0.46, 0.45, 0.94)",fn:function(t){return t*(2-t)}},circular:{style:"cubic-bezier(0.1, 0.57, 0.1, 1)",fn:function(t){return d.sqrt(1- --t*t)}},back:{style:"cubic-bezier(0.175, 0.885, 0.32, 1.275)",fn:function(t){return(t-=1)*t*(5*t+4)+1}},bounce:{style:"",fn:function(t){return(t/=1)<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375}},elastic:{style:"",fn:function(t){return 0===t?0:1==t?1:.4*d.pow(2,-10*t)*d.sin((t-.055)*(2*d.PI)/.22)+1}}}),s.tap=function(t,e){var i=r.createEvent("Event");i.initEvent(e,!0,!0),i.pageX=t.pageX,i.pageY=t.pageY,t.target.dispatchEvent(i)},s.click=function(t){var e,i=t.target;/(SELECT|INPUT|TEXTAREA)/i.test(i.tagName)||((e=r.createEvent(n.MouseEvent?"MouseEvents":"Event")).initEvent("click",!0,!0),e.view=t.view||n,e.detail=1,e.screenX=i.screenX||0,e.screenY=i.screenY||0,e.clientX=i.clientX||0,e.clientY=i.clientY||0,e.ctrlKey=!!t.ctrlKey,e.altKey=!!t.altKey,e.shiftKey=!!t.shiftKey,e.metaKey=!!t.metaKey,e.button=0,e.relatedTarget=null,e._constructed=!0,i.dispatchEvent(e))},s}();function t(t,e){for(var i in this.wrapper="string"==typeof t?r.querySelector(t):t,this.scroller=this.wrapper.children[0],this.scrollerStyle=this.scroller.style,this.options={resizeScrollbars:!0,mouseWheelSpeed:20,snapThreshold:.334,disablePointer:!m.hasPointer,disableTouch:m.hasPointer||!m.hasTouch,disableMouse:m.hasPointer||m.hasTouch,startX:0,startY:0,scrollY:!0,directionLockThreshold:5,momentum:!0,bounce:!0,bounceTime:600,bounceEasing:"",preventDefault:!0,preventDefaultException:{tagName:/^(INPUT|TEXTAREA|BUTTON|SELECT)$/},HWCompositing:!0,useTransition:!0,useTransform:!0,bindToWrapper:void 0===n.onmousedown},e)this.options[i]=e[i];this.translateZ=this.options.HWCompositing&&m.hasPerspective?" translateZ(0)":"",this.options.useTransition=m.hasTransition&&this.options.useTransition,this.options.useTransform=m.hasTransform&&this.options.useTransform,this.options.eventPassthrough=!0===this.options.eventPassthrough?"vertical":this.options.eventPassthrough,this.options.preventDefault=!this.options.eventPassthrough&&this.options.preventDefault,this.options.scrollY="vertical"!=this.options.eventPassthrough&&this.options.scrollY,this.options.scrollX="horizontal"!=this.options.eventPassthrough&&this.options.scrollX,this.options.freeScroll=this.options.freeScroll&&!this.options.eventPassthrough,this.options.directionLockThreshold=this.options.eventPassthrough?0:this.options.directionLockThreshold,this.options.bounceEasing="string"==typeof this.options.bounceEasing?m.ease[this.options.bounceEasing]||m.ease.circular:this.options.bounceEasing,this.options.resizePolling=void 0===this.options.resizePolling?60:this.options.resizePolling,!0===this.options.tap&&(this.options.tap="tap"),this.options.useTransition||this.options.useTransform||/relative|absolute/i.test(this.scrollerStyle.position)||(this.scrollerStyle.position="relative"),"scale"==this.options.shrinkScrollbars&&(this.options.useTransition=!1),this.options.invertWheelDirection=this.options.invertWheelDirection?-1:1,this.x=0,this.y=0,this.directionX=0,this.directionY=0,this._events={},this._init(),this.refresh(),this.scrollTo(this.options.startX,this.options.startY),this.enable()}function a(t,e,i){var s=r.createElement("div"),o=r.createElement("div");return!0===i&&(s.style.cssText="position:absolute;z-index:9999",o.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:absolute;background:rgba(0,0,0,0.5);border:1px solid rgba(255,255,255,0.9);border-radius:3px"),o.className="iScrollIndicator","h"==t?(!0===i&&(s.style.cssText+=";height:7px;left:2px;right:2px;bottom:0",o.style.height="100%"),s.className="iScrollHorizontalScrollbar"):(!0===i&&(s.style.cssText+=";width:7px;bottom:2px;top:2px;right:1px",o.style.width="100%"),s.className="iScrollVerticalScrollbar"),s.style.cssText+=";overflow:hidden",e||(s.style.pointerEvents="none"),s.appendChild(o),s}function l(t,e){for(var i in this.wrapper="string"==typeof e.el?r.querySelector(e.el):e.el,this.wrapperStyle=this.wrapper.style,this.indicator=this.wrapper.children[0],this.indicatorStyle=this.indicator.style,this.scroller=t,this.options={listenX:!0,listenY:!0,interactive:!1,resize:!0,defaultScrollbars:!1,shrink:!1,fade:!1,speedRatioX:0,speedRatioY:0},e)this.options[i]=e[i];if(this.sizeRatioX=1,this.sizeRatioY=1,this.maxPosX=0,this.maxPosY=0,this.options.interactive&&(this.options.disableTouch||(m.addEvent(this.indicator,"touchstart",this),m.addEvent(n,"touchend",this)),this.options.disablePointer||(m.addEvent(this.indicator,m.prefixPointerEvent("pointerdown"),this),m.addEvent(n,m.prefixPointerEvent("pointerup"),this)),this.options.disableMouse||(m.addEvent(this.indicator,"mousedown",this),m.addEvent(n,"mouseup",this))),this.options.fade){this.wrapperStyle[m.style.transform]=this.scroller.translateZ;var s=m.style.transitionDuration;if(!s)return;this.wrapperStyle[s]=m.isBadAndroid?"0.0001ms":"0ms";var o=this;m.isBadAndroid&&u(function(){"0.0001ms"===o.wrapperStyle[s]&&(o.wrapperStyle[s]="0s")}),this.wrapperStyle.opacity="0"}}t.prototype={version:"5.2.0",_init:function(){this._initEvents(),(this.options.scrollbars||this.options.indicators)&&this._initIndicators(),this.options.mouseWheel&&this._initWheel(),this.options.snap&&this._initSnap(),this.options.keyBindings&&this._initKeys()},destroy:function(){this._initEvents(!0),clearTimeout(this.resizeTimeout),this.resizeTimeout=null,this._execEvent("destroy")},_transitionEnd:function(t){t.target==this.scroller&&this.isInTransition&&(this._transitionTime(),this.resetPosition(this.options.bounceTime)||(this.isInTransition=!1,this._execEvent("scrollEnd")))},_start:function(t){if(1!=m.eventType[t.type]&&0!==(t.which?t.button:t.button<2?0:4==t.button?1:2))return;if(this.enabled&&(!this.initiated||m.eventType[t.type]===this.initiated)){!this.options.preventDefault||m.isBadAndroid||m.preventDefaultException(t.target,this.options.preventDefaultException)||t.preventDefault();var e,i=t.touches?t.touches[0]:t;this.initiated=m.eventType[t.type],this.moved=!1,this.distX=0,this.distY=0,this.directionX=0,this.directionY=0,this.directionLocked=0,this.startTime=m.getTime(),this.options.useTransition&&this.isInTransition?(this._transitionTime(),this.isInTransition=!1,e=this.getComputedPosition(),this._translate(d.round(e.x),d.round(e.y)),this._execEvent("scrollEnd")):!this.options.useTransition&&this.isAnimating&&(this.isAnimating=!1,this._execEvent("scrollEnd")),this.startX=this.x,this.startY=this.y,this.absStartX=this.x,this.absStartY=this.y,this.pointX=i.pageX,this.pointY=i.pageY,this._execEvent("beforeScrollStart")}},_move:function(t){if(this.enabled&&m.eventType[t.type]===this.initiated){this.options.preventDefault&&t.preventDefault();var e,i,s,o,n=t.touches?t.touches[0]:t,r=n.pageX-this.pointX,a=n.pageY-this.pointY,l=m.getTime();if(this.pointX=n.pageX,this.pointY=n.pageY,this.distX+=r,this.distY+=a,s=d.abs(this.distX),o=d.abs(this.distY),!(300<l-this.endTime&&s<10&&o<10)){if(this.directionLocked||this.options.freeScroll||(s>o+this.options.directionLockThreshold?this.directionLocked="h":o>=s+this.options.directionLockThreshold?this.directionLocked="v":this.directionLocked="n"),"h"==this.directionLocked){if("vertical"==this.options.eventPassthrough)t.preventDefault();else if("horizontal"==this.options.eventPassthrough)return void(this.initiated=!1);a=0}else if("v"==this.directionLocked){if("horizontal"==this.options.eventPassthrough)t.preventDefault();else if("vertical"==this.options.eventPassthrough)return void(this.initiated=!1);r=0}r=this.hasHorizontalScroll?r:0,a=this.hasVerticalScroll?a:0,e=this.x+r,i=this.y+a,(0<e||e<this.maxScrollX)&&(e=this.options.bounce?this.x+r/3:0<e?0:this.maxScrollX),(0<i||i<this.maxScrollY)&&(i=this.options.bounce?this.y+a/3:0<i?0:this.maxScrollY),this.directionX=0<r?-1:r<0?1:0,this.directionY=0<a?-1:a<0?1:0,this.moved||this._execEvent("scrollStart"),this.moved=!0,this._translate(e,i),300<l-this.startTime&&(this.startTime=l,this.startX=this.x,this.startY=this.y)}}},_end:function(t){if(this.enabled&&m.eventType[t.type]===this.initiated){this.options.preventDefault&&!m.preventDefaultException(t.target,this.options.preventDefaultException)&&t.preventDefault();t.changedTouches&&t.changedTouches[0];var e,i,s=m.getTime()-this.startTime,o=d.round(this.x),n=d.round(this.y),r=d.abs(o-this.startX),a=d.abs(n-this.startY),l=0,h="";if(this.isInTransition=0,this.initiated=0,this.endTime=m.getTime(),!this.resetPosition(this.options.bounceTime)){if(this.scrollTo(o,n),!this.moved)return this.options.tap&&m.tap(t,this.options.tap),this.options.click&&m.click(t),void this._execEvent("scrollCancel");if(this._events.flick&&s<200&&r<100&&a<100)this._execEvent("flick");else{if(this.options.momentum&&s<300&&(e=this.hasHorizontalScroll?m.momentum(this.x,this.startX,s,this.maxScrollX,this.options.bounce?this.wrapperWidth:0,this.options.deceleration):{destination:o,duration:0},i=this.hasVerticalScroll?m.momentum(this.y,this.startY,s,this.maxScrollY,this.options.bounce?this.wrapperHeight:0,this.options.deceleration):{destination:n,duration:0},o=e.destination,n=i.destination,l=d.max(e.duration,i.duration),this.isInTransition=1),this.options.snap){var c=this._nearestSnap(o,n);this.currentPage=c,l=this.options.snapSpeed||d.max(d.max(d.min(d.abs(o-c.x),1e3),d.min(d.abs(n-c.y),1e3)),300),o=c.x,n=c.y,this.directionX=0,this.directionY=0,h=this.options.bounceEasing}if(o!=this.x||n!=this.y)return(0<o||o<this.maxScrollX||0<n||n<this.maxScrollY)&&(h=m.ease.quadratic),void this.scrollTo(o,n,l,h);this._execEvent("scrollEnd")}}}},_resize:function(){var t=this;clearTimeout(this.resizeTimeout),this.resizeTimeout=setTimeout(function(){t.refresh()},this.options.resizePolling)},resetPosition:function(t){var e=this.x,i=this.y;return t=t||0,!this.hasHorizontalScroll||0<this.x?e=0:this.x<this.maxScrollX&&(e=this.maxScrollX),!this.hasVerticalScroll||0<this.y?i=0:this.y<this.maxScrollY&&(i=this.maxScrollY),(e!=this.x||i!=this.y)&&(this.scrollTo(e,i,t,this.options.bounceEasing),!0)},disable:function(){this.enabled=!1},enable:function(){this.enabled=!0},refresh:function(){this.wrapper.offsetHeight;this.wrapperWidth=this.wrapper.clientWidth,this.wrapperHeight=this.wrapper.clientHeight,this.scrollerWidth=this.scroller.offsetWidth,this.scrollerHeight=this.scroller.offsetHeight,this.maxScrollX=this.wrapperWidth-this.scrollerWidth,this.maxScrollY=this.wrapperHeight-this.scrollerHeight,this.hasHorizontalScroll=this.options.scrollX&&this.maxScrollX<0,this.hasVerticalScroll=this.options.scrollY&&this.maxScrollY<0,this.hasHorizontalScroll||(this.maxScrollX=0,this.scrollerWidth=this.wrapperWidth),this.hasVerticalScroll||(this.maxScrollY=0,this.scrollerHeight=this.wrapperHeight),this.endTime=0,this.directionX=0,this.directionY=0,this.wrapperOffset=m.offset(this.wrapper),this._execEvent("refresh"),this.resetPosition()},on:function(t,e){this._events[t]||(this._events[t]=[]),this._events[t].push(e)},off:function(t,e){if(this._events[t]){var i=this._events[t].indexOf(e);-1<i&&this._events[t].splice(i,1)}},_execEvent:function(t){if(this._events[t]){var e=0,i=this._events[t].length;if(i)for(;e<i;e++)this._events[t][e].apply(this,[].slice.call(arguments,1))}},scrollBy:function(t,e,i,s){t=this.x+t,e=this.y+e,i=i||0,this.scrollTo(t,e,i,s)},scrollTo:function(t,e,i,s){s=s||m.ease.circular,this.isInTransition=this.options.useTransition&&0<i;var o=this.options.useTransition&&s.style;!i||o?(o&&(this._transitionTimingFunction(s.style),this._transitionTime(i)),this._translate(t,e)):this._animate(t,e,i,s.fn)},scrollToElement:function(t,e,i,s,o){if(t=t.nodeType?t:this.scroller.querySelector(t)){var n=m.offset(t);n.left-=this.wrapperOffset.left,n.top-=this.wrapperOffset.top,!0===i&&(i=d.round(t.offsetWidth/2-this.wrapper.offsetWidth/2)),!0===s&&(s=d.round(t.offsetHeight/2-this.wrapper.offsetHeight/2)),n.left-=i||0,n.top-=s||0,n.left=0<n.left?0:n.left<this.maxScrollX?this.maxScrollX:n.left,n.top=0<n.top?0:n.top<this.maxScrollY?this.maxScrollY:n.top,e=null==e||"auto"===e?d.max(d.abs(this.x-n.left),d.abs(this.y-n.top)):e,this.scrollTo(n.left,n.top,e,o)}},_transitionTime:function(t){if(this.options.useTransition){t=t||0;var e=m.style.transitionDuration;if(e){if(this.scrollerStyle[e]=t+"ms",!t&&m.isBadAndroid){this.scrollerStyle[e]="0.0001ms";var i=this;u(function(){"0.0001ms"===i.scrollerStyle[e]&&(i.scrollerStyle[e]="0s")})}if(this.indicators)for(var s=this.indicators.length;s--;)this.indicators[s].transitionTime(t)}}},_transitionTimingFunction:function(t){if(this.scrollerStyle[m.style.transitionTimingFunction]=t,this.indicators)for(var e=this.indicators.length;e--;)this.indicators[e].transitionTimingFunction(t)},_translate:function(t,e){if(this.options.useTransform?this.scrollerStyle[m.style.transform]="translate("+t+"px,"+e+"px)"+this.translateZ:(t=d.round(t),e=d.round(e),this.scrollerStyle.left=t+"px",this.scrollerStyle.top=e+"px"),this.x=t,this.y=e,this.indicators)for(var i=this.indicators.length;i--;)this.indicators[i].updatePosition()},_initEvents:function(t){var e=t?m.removeEvent:m.addEvent,i=this.options.bindToWrapper?this.wrapper:n;e(n,"orientationchange",this),e(n,"resize",this),this.options.click&&e(this.wrapper,"click touchend",this,!0),this.options.disableMouse||(e(this.wrapper,"mousedown",this),e(i,"mousemove",this),e(i,"mousecancel",this),e(i,"mouseup",this)),m.hasPointer&&!this.options.disablePointer&&(e(this.wrapper,m.prefixPointerEvent("pointerdown"),this),e(i,m.prefixPointerEvent("pointermove"),this),e(i,m.prefixPointerEvent("pointercancel"),this),e(i,m.prefixPointerEvent("pointerup"),this)),m.hasTouch&&!this.options.disableTouch&&(e(this.wrapper,"touchstart",this),e(i,"touchmove",this),e(i,"touchcancel",this),e(i,"touchend",this)),e(this.scroller,"transitionend",this),e(this.scroller,"webkitTransitionEnd",this),e(this.scroller,"oTransitionEnd",this),e(this.scroller,"MSTransitionEnd",this)},getComputedPosition:function(){var t,e,i=n.getComputedStyle(this.scroller,null);return this.options.useTransform?(t=+((i=i[m.style.transform].split(")")[0].split(", "))[12]||i[4]),e=+(i[13]||i[5])):(t=+i.left.replace(/[^-\d.]/g,""),e=+i.top.replace(/[^-\d.]/g,"")),{x:t,y:e}},_initIndicators:function(){var t,e=this.options.interactiveScrollbars,i="string"!=typeof this.options.scrollbars,s=[],o=this;this.indicators=[],this.options.scrollbars&&(this.options.scrollY&&(t={el:a("v",e,this.options.scrollbars),interactive:e,defaultScrollbars:!0,customStyle:i,resize:this.options.resizeScrollbars,shrink:this.options.shrinkScrollbars,fade:this.options.fadeScrollbars,listenX:!1},this.wrapper.appendChild(t.el),s.push(t)),this.options.scrollX&&(t={el:a("h",e,this.options.scrollbars),interactive:e,defaultScrollbars:!0,customStyle:i,resize:this.options.resizeScrollbars,shrink:this.options.shrinkScrollbars,fade:this.options.fadeScrollbars,listenY:!1},this.wrapper.appendChild(t.el),s.push(t))),this.options.indicators&&(s=s.concat(this.options.indicators));for(var n=s.length;n--;)this.indicators.push(new l(this,s[n]));function r(t){if(o.indicators)for(var e=o.indicators.length;e--;)t.call(o.indicators[e])}this.options.fadeScrollbars&&(this.on("scrollEnd",function(){r(function(){this.fade()})}),this.on("scrollCancel",function(){r(function(){this.fade()})}),this.on("scrollStart",function(){r(function(){this.fade(1)})}),this.on("beforeScrollStart",function(){r(function(){this.fade(1,!0)})})),this.on("refresh",function(){r(function(){this.refresh()})}),this.on("destroy",function(){r(function(){this.destroy()}),delete this.indicators})},_initWheel:function(){m.addEvent(this.wrapper,"wheel",this),m.addEvent(this.wrapper,"mousewheel",this),m.addEvent(this.wrapper,"DOMMouseScroll",this),this.on("destroy",function(){clearTimeout(this.wheelTimeout),this.wheelTimeout=null,m.removeEvent(this.wrapper,"wheel",this),m.removeEvent(this.wrapper,"mousewheel",this),m.removeEvent(this.wrapper,"DOMMouseScroll",this)})},_wheel:function(t){if(this.enabled){t.preventDefault();var e,i,s,o,n=this;if(void 0===this.wheelTimeout&&n._execEvent("scrollStart"),clearTimeout(this.wheelTimeout),this.wheelTimeout=setTimeout(function(){n.options.snap||n._execEvent("scrollEnd"),n.wheelTimeout=void 0},400),"deltaX"in t)1===t.deltaMode?(e=-t.deltaX*this.options.mouseWheelSpeed,i=-t.deltaY*this.options.mouseWheelSpeed):(e=-t.deltaX,i=-t.deltaY);else if("wheelDeltaX"in t)e=t.wheelDeltaX/120*this.options.mouseWheelSpeed,i=t.wheelDeltaY/120*this.options.mouseWheelSpeed;else if("wheelDelta"in t)e=i=t.wheelDelta/120*this.options.mouseWheelSpeed;else{if(!("detail"in t))return;e=i=-t.detail/3*this.options.mouseWheelSpeed}if(e*=this.options.invertWheelDirection,i*=this.options.invertWheelDirection,this.hasVerticalScroll||(e=i,i=0),this.options.snap)return s=this.currentPage.pageX,o=this.currentPage.pageY,0<e?s--:e<0&&s++,0<i?o--:i<0&&o++,void this.goToPage(s,o);s=this.x+d.round(this.hasHorizontalScroll?e:0),o=this.y+d.round(this.hasVerticalScroll?i:0),this.directionX=0<e?-1:e<0?1:0,this.directionY=0<i?-1:i<0?1:0,0<s?s=0:s<this.maxScrollX&&(s=this.maxScrollX),0<o?o=0:o<this.maxScrollY&&(o=this.maxScrollY),this.scrollTo(s,o,0)}},_initSnap:function(){this.currentPage={},"string"==typeof this.options.snap&&(this.options.snap=this.scroller.querySelectorAll(this.options.snap)),this.on("refresh",function(){var t,e,i,s,o,n,r=0,a=0,l=0,h=this.options.snapStepX||this.wrapperWidth,c=this.options.snapStepY||this.wrapperHeight;if(this.pages=[],this.wrapperWidth&&this.wrapperHeight&&this.scrollerWidth&&this.scrollerHeight){if(!0===this.options.snap)for(i=d.round(h/2),s=d.round(c/2);l>-this.scrollerWidth;){for(this.pages[r]=[],o=t=0;o>-this.scrollerHeight;)this.pages[r][t]={x:d.max(l,this.maxScrollX),y:d.max(o,this.maxScrollY),width:h,height:c,cx:l-i,cy:o-s},o-=c,t++;l-=h,r++}else for(t=(n=this.options.snap).length,e=-1;r<t;r++)(0===r||n[r].offsetLeft<=n[r-1].offsetLeft)&&(a=0,e++),this.pages[a]||(this.pages[a]=[]),l=d.max(-n[r].offsetLeft,this.maxScrollX),o=d.max(-n[r].offsetTop,this.maxScrollY),i=l-d.round(n[r].offsetWidth/2),s=o-d.round(n[r].offsetHeight/2),this.pages[a][e]={x:l,y:o,width:n[r].offsetWidth,height:n[r].offsetHeight,cx:i,cy:s},l>this.maxScrollX&&a++;this.goToPage(this.currentPage.pageX||0,this.currentPage.pageY||0,0),this.options.snapThreshold%1==0?(this.snapThresholdX=this.options.snapThreshold,this.snapThresholdY=this.options.snapThreshold):(this.snapThresholdX=d.round(this.pages[this.currentPage.pageX][this.currentPage.pageY].width*this.options.snapThreshold),this.snapThresholdY=d.round(this.pages[this.currentPage.pageX][this.currentPage.pageY].height*this.options.snapThreshold))}}),this.on("flick",function(){var t=this.options.snapSpeed||d.max(d.max(d.min(d.abs(this.x-this.startX),1e3),d.min(d.abs(this.y-this.startY),1e3)),300);this.goToPage(this.currentPage.pageX+this.directionX,this.currentPage.pageY+this.directionY,t)})},_nearestSnap:function(t,e){if(!this.pages.length)return{x:0,y:0,pageX:0,pageY:0};var i=0,s=this.pages.length,o=0;if(d.abs(t-this.absStartX)<this.snapThresholdX&&d.abs(e-this.absStartY)<this.snapThresholdY)return this.currentPage;for(0<t?t=0:t<this.maxScrollX&&(t=this.maxScrollX),0<e?e=0:e<this.maxScrollY&&(e=this.maxScrollY);i<s;i++)if(t>=this.pages[i][0].cx){t=this.pages[i][0].x;break}for(s=this.pages[i].length;o<s;o++)if(e>=this.pages[0][o].cy){e=this.pages[0][o].y;break}return i==this.currentPage.pageX&&((i+=this.directionX)<0?i=0:i>=this.pages.length&&(i=this.pages.length-1),t=this.pages[i][0].x),o==this.currentPage.pageY&&((o+=this.directionY)<0?o=0:o>=this.pages[0].length&&(o=this.pages[0].length-1),e=this.pages[0][o].y),{x:t,y:e,pageX:i,pageY:o}},goToPage:function(t,e,i,s){s=s||this.options.bounceEasing,t>=this.pages.length?t=this.pages.length-1:t<0&&(t=0),e>=this.pages[t].length?e=this.pages[t].length-1:e<0&&(e=0);var o=this.pages[t][e].x,n=this.pages[t][e].y;i=void 0===i?this.options.snapSpeed||d.max(d.max(d.min(d.abs(o-this.x),1e3),d.min(d.abs(n-this.y),1e3)),300):i,this.currentPage={x:o,y:n,pageX:t,pageY:e},this.scrollTo(o,n,i,s)},next:function(t,e){var i=this.currentPage.pageX,s=this.currentPage.pageY;++i>=this.pages.length&&this.hasVerticalScroll&&(i=0,s++),this.goToPage(i,s,t,e)},prev:function(t,e){var i=this.currentPage.pageX,s=this.currentPage.pageY;--i<0&&this.hasVerticalScroll&&(i=0,s--),this.goToPage(i,s,t,e)},_initKeys:function(t){var e,i={pageUp:33,pageDown:34,end:35,home:36,left:37,up:38,right:39,down:40};if("object"==typeof this.options.keyBindings)for(e in this.options.keyBindings)"string"==typeof this.options.keyBindings[e]&&(this.options.keyBindings[e]=this.options.keyBindings[e].toUpperCase().charCodeAt(0));else this.options.keyBindings={};for(e in i)this.options.keyBindings[e]=this.options.keyBindings[e]||i[e];m.addEvent(n,"keydown",this),this.on("destroy",function(){m.removeEvent(n,"keydown",this)})},_key:function(t){if(this.enabled){var e,i=this.options.snap,s=i?this.currentPage.pageX:this.x,o=i?this.currentPage.pageY:this.y,n=m.getTime(),r=this.keyTime||0;switch(this.options.useTransition&&this.isInTransition&&(e=this.getComputedPosition(),this._translate(d.round(e.x),d.round(e.y)),this.isInTransition=!1),this.keyAcceleration=n-r<200?d.min(this.keyAcceleration+.25,50):0,t.keyCode){case this.options.keyBindings.pageUp:this.hasHorizontalScroll&&!this.hasVerticalScroll?s+=i?1:this.wrapperWidth:o+=i?1:this.wrapperHeight;break;case this.options.keyBindings.pageDown:this.hasHorizontalScroll&&!this.hasVerticalScroll?s-=i?1:this.wrapperWidth:o-=i?1:this.wrapperHeight;break;case this.options.keyBindings.end:s=i?this.pages.length-1:this.maxScrollX,o=i?this.pages[0].length-1:this.maxScrollY;break;case this.options.keyBindings.home:o=s=0;break;case this.options.keyBindings.left:s+=i?-1:5+this.keyAcceleration>>0;break;case this.options.keyBindings.up:o+=i?1:5+this.keyAcceleration>>0;break;case this.options.keyBindings.right:s-=i?-1:5+this.keyAcceleration>>0;break;case this.options.keyBindings.down:o-=i?1:5+this.keyAcceleration>>0;break;default:return}i?this.goToPage(s,o):(0<s?(s=0,this.keyAcceleration=0):s<this.maxScrollX&&(s=this.maxScrollX,this.keyAcceleration=0),0<o?(o=0,this.keyAcceleration=0):o<this.maxScrollY&&(o=this.maxScrollY,this.keyAcceleration=0),this.scrollTo(s,o,0),this.keyTime=n)}},_animate:function(n,r,a,l){var h=this,c=this.x,d=this.y,p=m.getTime(),f=p+a;this.isAnimating=!0,function t(){var e,i,s,o=m.getTime();if(f<=o)return h.isAnimating=!1,h._translate(n,r),void(h.resetPosition(h.options.bounceTime)||h._execEvent("scrollEnd"));s=l(o=(o-p)/a),e=(n-c)*s+c,i=(r-d)*s+d,h._translate(e,i),h.isAnimating&&u(t)}()},handleEvent:function(t){switch(t.type){case"touchstart":case"pointerdown":case"MSPointerDown":case"mousedown":this._start(t);break;case"touchmove":case"pointermove":case"MSPointerMove":case"mousemove":this._move(t);break;case"touchend":case"pointerup":case"MSPointerUp":case"mouseup":case"touchcancel":case"pointercancel":case"MSPointerCancel":case"mousecancel":this._end(t);break;case"orientationchange":case"resize":this._resize();break;case"transitionend":case"webkitTransitionEnd":case"oTransitionEnd":case"MSTransitionEnd":this._transitionEnd(t);break;case"wheel":case"DOMMouseScroll":case"mousewheel":this._wheel(t);break;case"keydown":this._key(t);break;case"click":this.enabled&&!t._constructed&&(t.preventDefault(),t.stopPropagation())}"undefined"!=typeof Waypoint&&Waypoint.refreshAll()}},l.prototype={handleEvent:function(t){switch(t.type){case"touchstart":case"pointerdown":case"MSPointerDown":case"mousedown":this._start(t);break;case"touchmove":case"pointermove":case"MSPointerMove":case"mousemove":this._move(t);break;case"touchend":case"pointerup":case"MSPointerUp":case"mouseup":case"touchcancel":case"pointercancel":case"MSPointerCancel":case"mousecancel":this._end(t)}},destroy:function(){this.options.fadeScrollbars&&(clearTimeout(this.fadeTimeout),this.fadeTimeout=null),this.options.interactive&&(m.removeEvent(this.indicator,"touchstart",this),m.removeEvent(this.indicator,m.prefixPointerEvent("pointerdown"),this),m.removeEvent(this.indicator,"mousedown",this),m.removeEvent(n,"touchmove",this),m.removeEvent(n,m.prefixPointerEvent("pointermove"),this),m.removeEvent(n,"mousemove",this),m.removeEvent(n,"touchend",this),m.removeEvent(n,m.prefixPointerEvent("pointerup"),this),m.removeEvent(n,"mouseup",this)),this.options.defaultScrollbars&&this.wrapper.parentNode.removeChild(this.wrapper)},_start:function(t){var e=t.touches?t.touches[0]:t;t.preventDefault(),t.stopPropagation(),this.transitionTime(),this.initiated=!0,this.moved=!1,this.lastPointX=e.pageX,this.lastPointY=e.pageY,this.startTime=m.getTime(),this.options.disableTouch||m.addEvent(n,"touchmove",this),this.options.disablePointer||m.addEvent(n,m.prefixPointerEvent("pointermove"),this),this.options.disableMouse||m.addEvent(n,"mousemove",this),this.scroller._execEvent("beforeScrollStart")},_move:function(t){var e,i,s,o,n=t.touches?t.touches[0]:t;m.getTime();this.moved||this.scroller._execEvent("scrollStart"),this.moved=!0,e=n.pageX-this.lastPointX,this.lastPointX=n.pageX,i=n.pageY-this.lastPointY,this.lastPointY=n.pageY,s=this.x+e,o=this.y+i,this._pos(s,o),t.preventDefault(),t.stopPropagation()},_end:function(t){if(this.initiated){if(this.initiated=!1,t.preventDefault(),t.stopPropagation(),m.removeEvent(n,"touchmove",this),m.removeEvent(n,m.prefixPointerEvent("pointermove"),this),m.removeEvent(n,"mousemove",this),this.scroller.options.snap){var e=this.scroller._nearestSnap(this.scroller.x,this.scroller.y),i=this.options.snapSpeed||d.max(d.max(d.min(d.abs(this.scroller.x-e.x),1e3),d.min(d.abs(this.scroller.y-e.y),1e3)),300);this.scroller.x==e.x&&this.scroller.y==e.y||(this.scroller.directionX=0,this.scroller.directionY=0,this.scroller.currentPage=e,this.scroller.scrollTo(e.x,e.y,i,this.scroller.options.bounceEasing))}this.moved&&this.scroller._execEvent("scrollEnd")}},transitionTime:function(t){t=t||0;var e=m.style.transitionDuration;if(e&&(this.indicatorStyle[e]=t+"ms",!t&&m.isBadAndroid)){this.indicatorStyle[e]="0.0001ms";var i=this;u(function(){"0.0001ms"===i.indicatorStyle[e]&&(i.indicatorStyle[e]="0s")})}},transitionTimingFunction:function(t){this.indicatorStyle[m.style.transitionTimingFunction]=t},refresh:function(){this.transitionTime(),this.options.listenX&&!this.options.listenY?this.indicatorStyle.display=this.scroller.hasHorizontalScroll?"block":"none":this.options.listenY&&!this.options.listenX?this.indicatorStyle.display=this.scroller.hasVerticalScroll?"block":"none":this.indicatorStyle.display=this.scroller.hasHorizontalScroll||this.scroller.hasVerticalScroll?"block":"none",this.scroller.hasHorizontalScroll&&this.scroller.hasVerticalScroll?(m.addClass(this.wrapper,"iScrollBothScrollbars"),m.removeClass(this.wrapper,"iScrollLoneScrollbar"),this.options.defaultScrollbars&&this.options.customStyle&&(this.options.listenX?this.wrapper.style.right="8px":this.wrapper.style.bottom="8px")):(m.removeClass(this.wrapper,"iScrollBothScrollbars"),m.addClass(this.wrapper,"iScrollLoneScrollbar"),this.options.defaultScrollbars&&this.options.customStyle&&(this.options.listenX?this.wrapper.style.right="2px":this.wrapper.style.bottom="2px"));this.wrapper.offsetHeight;this.options.listenX&&(this.wrapperWidth=this.wrapper.clientWidth,this.options.resize?(this.indicatorWidth=d.max(d.round(this.wrapperWidth*this.wrapperWidth/(this.scroller.scrollerWidth||this.wrapperWidth||1)),8),this.indicatorStyle.width=this.indicatorWidth+"px"):this.indicatorWidth=this.indicator.clientWidth,this.maxPosX=this.wrapperWidth-this.indicatorWidth,"clip"==this.options.shrink?(this.minBoundaryX=8-this.indicatorWidth,this.maxBoundaryX=this.wrapperWidth-8):(this.minBoundaryX=0,this.maxBoundaryX=this.maxPosX),this.sizeRatioX=this.options.speedRatioX||this.scroller.maxScrollX&&this.maxPosX/this.scroller.maxScrollX),this.options.listenY&&(this.wrapperHeight=this.wrapper.clientHeight,this.options.resize?(this.indicatorHeight=d.max(d.round(this.wrapperHeight*this.wrapperHeight/(this.scroller.scrollerHeight||this.wrapperHeight||1)),8),this.indicatorStyle.height=this.indicatorHeight+"px"):this.indicatorHeight=this.indicator.clientHeight,this.maxPosY=this.wrapperHeight-this.indicatorHeight,"clip"==this.options.shrink?(this.minBoundaryY=8-this.indicatorHeight,this.maxBoundaryY=this.wrapperHeight-8):(this.minBoundaryY=0,this.maxBoundaryY=this.maxPosY),this.maxPosY=this.wrapperHeight-this.indicatorHeight,this.sizeRatioY=this.options.speedRatioY||this.scroller.maxScrollY&&this.maxPosY/this.scroller.maxScrollY),this.updatePosition()},updatePosition:function(){var t=this.options.listenX&&d.round(this.sizeRatioX*this.scroller.x)||0,e=this.options.listenY&&d.round(this.sizeRatioY*this.scroller.y)||0;this.options.ignoreBoundaries||(t<this.minBoundaryX?("scale"==this.options.shrink&&(this.width=d.max(this.indicatorWidth+t,8),this.indicatorStyle.width=this.width+"px"),t=this.minBoundaryX):t>this.maxBoundaryX?"scale"==this.options.shrink?(this.width=d.max(this.indicatorWidth-(t-this.maxPosX),8),this.indicatorStyle.width=this.width+"px",t=this.maxPosX+this.indicatorWidth-this.width):t=this.maxBoundaryX:"scale"==this.options.shrink&&this.width!=this.indicatorWidth&&(this.width=this.indicatorWidth,this.indicatorStyle.width=this.width+"px"),e<this.minBoundaryY?("scale"==this.options.shrink&&(this.height=d.max(this.indicatorHeight+3*e,8),this.indicatorStyle.height=this.height+"px"),e=this.minBoundaryY):e>this.maxBoundaryY?"scale"==this.options.shrink?(this.height=d.max(this.indicatorHeight-3*(e-this.maxPosY),8),this.indicatorStyle.height=this.height+"px",e=this.maxPosY+this.indicatorHeight-this.height):e=this.maxBoundaryY:"scale"==this.options.shrink&&this.height!=this.indicatorHeight&&(this.height=this.indicatorHeight,this.indicatorStyle.height=this.height+"px")),this.x=t,this.y=e,this.scroller.options.useTransform?this.indicatorStyle[m.style.transform]="translate("+t+"px,"+e+"px)"+this.scroller.translateZ:(this.indicatorStyle.left=t+"px",this.indicatorStyle.top=e+"px")},_pos:function(t,e){t<0?t=0:t>this.maxPosX&&(t=this.maxPosX),e<0?e=0:e>this.maxPosY&&(e=this.maxPosY),t=this.options.listenX?d.round(t/this.sizeRatioX):this.scroller.x,e=this.options.listenY?d.round(e/this.sizeRatioY):this.scroller.y,this.scroller.scrollTo(t,e)},fade:function(t,e){if(!e||this.visible){clearTimeout(this.fadeTimeout),this.fadeTimeout=null;var i=t?250:500,s=t?0:300;t=t?"1":"0",this.wrapperStyle[m.style.transitionDuration]=i+"ms",this.fadeTimeout=setTimeout(function(t){this.wrapperStyle.opacity=t,this.visible=+t}.bind(this,t),s)}}},t.utils=m,"undefined"!=typeof module&&module.exports?module.exports=t:"function"==typeof define&&define.amd?define(function(){return t}):n.IScroll=t}(window,document,Math),function(e,i){"use strict";"function"==typeof define&&define.amd?define(["jquery"],function(t){return i(t,e,e.document,e.Math)}):"object"==typeof exports&&exports?module.exports=i(require("jquery"),e,e.document,e.Math):i(jQuery,e,e.document,e.Math)}("undefined"!=typeof window?window:this,function(ne,re,ae,le,he){"use strict";var ce="fullpage-wrapper",de="."+ce,t="fp-scrollable",s="."+t,pe="fp-responsive",fe="fp-notransition",ue="fp-destroyed",me="fp-enabled",ve="fp-viewing",ge="active",ye="."+ge,xe="fp-completely",be="fp-section",Se="."+be,we=Se+ye,Te="fp-tableCell",ke="."+Te,Ee="#fp-nav",Ce="fp-tooltip",Pe="fp-slide",Xe="."+Pe,Ye=Xe+ye,Ie="fp-slides",ze="."+Ie,He="fp-slidesContainer",_e="."+He,Oe="fp-table",Ae="fp-slidesNav",Le="."+Ae,Be=Le+" a",e="fp-controlArrow",Me="."+e,De="fp-prev",We=Me+".fp-prev",Re=Me+".fp-next",Fe=ne(re),Ve=ne(ae),qe={scrollbars:!0,mouseWheel:!0,hideScrollbars:!1,fadeScrollbars:!1,disableMouse:!0,interactiveScrollbars:!0};ne.fn.fullpage=function(y){if(ne("html").hasClass(me))se();else{var d=ne("html, body"),x=ne("body"),t=ne.fn.fullpage;y=ne.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,resetSliders:!1,fadingEffect:!1,normalScrollElements:null,scrollOverflow:!1,scrollOverflowHandler:Ne,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,sectionSelector:".section",slideSelector:".dfd-onepage-slide",afterLoad:null,onLeave:null,afterRender:null,afterResize:null,afterReBuild:null,afterSlideLoad:null,onSlideLeave:null,afterResponsive:null,lazyLoading:!0},y);var b,n,p,i,f,r,S,w,s,a=!1,o=navigator.userAgent.match(/(iPhone|iPod|iPad|Android|playbook|silk|BlackBerry|BB10|Windows Phone|Tizen|Bada|webOS|IEMobile|Opera Mini)/),l="ontouchstart"in re||0<navigator.msMaxTouchPoints||navigator.maxTouchPoints,u=ne(this),m=A(),T=!1,e=!0,k=!0,v=[],h={};h.m={up:!0,down:!0,left:!0,right:!0},h.k=ne.extend(!0,{},h.m);var c=ne.extend(!0,{},y);se(),qe.click=l,qe=ne.extend(qe,y.scrollOverflowOptions),ne.extend(ne.easing,{easeInOutCubic:function(t,e,i,s,o){return(e/=o/2)<1?s/2*e*e*e+i:s/2*((e-=2)*e*e+2)+i}}),ne(this).length&&(t.setAutoScrolling=L,t.setRecordHistory=B,t.setScrollingSpeed=M,t.setFitToSection=D,t.setLockAnchors=function(t){y.lockAnchors=t},t.setMouseWheelScrolling=W,t.setAllowScrolling=R,t.setKeyboardScrolling=F,t.moveSectionUp=V,t.moveSectionDown=q,t.silentMoveTo=N,t.moveTo=U,t.moveSlideRight=j,t.moveSlideLeft=K,t.reBuild=Z,t.setResponsive=Q,t.getFullpageData=function(){return{options:y,internals:{getXmovement:Bt,removeAnimation:Ot,getTransforms:Jt,lazyLoad:pt,addAnimation:_t,performHorizontalMove:It,silentLandscapeScroll:$t,keepSlidesPosition:ht,silentScroll:Gt,styleSlides:$}}},t.destroy=function(t){L(!1,"internal"),R(!1),F(!1),u.addClass(ue),clearTimeout(r),clearTimeout(f),clearTimeout(i),clearTimeout(S),clearTimeout(w),Fe.off("scroll",tt).off("hashchange",gt).off("resize",zt),Ve.off("click touchstart",Ee+" a").off("mouseenter",Ee+" li").off("mouseleave",Ee+" li").off("click touchstart",Be).off("mouseover",y.normalScrollElements).off("mouseout",y.normalScrollElements),ne(Se).off("click touchstart",Me),clearTimeout(r),clearTimeout(f),t&&function(){Gt(0),u.find("img[data-src], source[data-src], audio[data-src], iframe[data-src]").each(function(){ne(this).attr("src",ne(this).data("src")),ne(this).removeAttr("data-src")}),ne(Ee+", "+Le+", "+Me).remove(),ne(Se).css({height:"","background-color":"",padding:""}),ne(Xe).css({width:""}),u.css({height:"",position:"","-ms-touch-action":"","touch-action":""}),d.css({overflow:"",height:""}),ne("html").removeClass(me),x.removeClass(pe),ne.each(x.get(0).className.split(/\s+/),function(t,e){0===e.indexOf(ve)&&x.removeClass(e)}),ne(Se+", "+Xe).each(function(){y.scrollOverflowHandler.remove(ne(this)),ne(this).removeClass(Oe+" "+ge)}),Ot(u),u.find(ke+", "+_e+", "+ze).each(function(){ne(this).replaceWith(this.childNodes)}),d.scrollTop(0);var t=[be,Pe,He];ne.each(t,function(t,e){ne("."+e).removeClass(e)})}()},function(){y.css3&&(y.css3=function(){var t,e=ae.createElement("p"),i={webkitTransform:"-webkit-transform",OTransform:"-o-transform",msTransform:"-ms-transform",MozTransform:"-moz-transform",transform:"transform"};for(var s in ae.body.insertBefore(e,null),i)e.style[s]!==he&&(e.style[s]="translate3d(1px,1px,1px)",t=re.getComputedStyle(e).getPropertyValue(i[s]));return ae.body.removeChild(e),t!==he&&0<t.length&&"none"!==t}());y.scrollBar=y.scrollBar||y.hybrid,function(){var t=u.find(y.sectionSelector);y.anchors.length||(y.anchors=t.filter("[data-anchor]").map(function(){return ne(this).data("anchor").toString()}).get());y.navigationTooltips.length||(y.navigationTooltips=t.filter("[data-tooltip]").map(function(){return ne(this).data("tooltip").toString()}).get())}(),function(){u.css({height:"100%",position:"relative"}),u.addClass(ce),ne("html").addClass(me),m=A(),u.removeClass(ue),u.find(y.sectionSelector).addClass(be),u.find(y.slideSelector).addClass(Pe),(u.hasClass("dfd-enable-onepage-animation")||u.hasClass("dfd-disable-onepage-animation"))&&u.css("height",m);ne(Se).each(function(t){var e,i,s,o,n=ne(this),r=n.find(Xe),a=r.length;s=n,(o=t)||0!==ne(we).length||s.addClass(ge),s.css("height",m+"px"),y.paddingTop&&s.css("padding-top",y.paddingTop),y.paddingBottom&&s.css("padding-bottom",y.paddingBottom),void 0!==y.sectionsColor[o]&&s.css("background-color",y.sectionsColor[o]),void 0!==y.anchors[o]&&s.attr("data-anchor",y.anchors[o]),e=n,i=t,void 0!==y.anchors[i]&&e.hasClass(ge)&&At(y.anchors[i],i),y.menu&&y.css3&&ne(y.menu).closest(de).length&&ne(y.menu).appendTo(x),0<a?$(n,r,a):y.verticalCentered&&Dt(n)}),y.fixedElements&&y.css3&&ne(y.fixedElements).appendTo(x);y.navigation&&function(){x.append('<div id="fp-nav"><ul></ul></div>');var t=ne(Ee);t.addClass(function(){return y.showActiveTooltip?"fp-show-active "+y.navigationPosition:y.navigationPosition});for(var e=0;e<ne(Se).length;e++){var i="";y.anchors.length&&(i=y.anchors[e]);var s='<li><a href="#'+i+'"><span></span></a>',o=y.navigationTooltips[e];void 0!==o&&""!==o&&(s+='<div class="'+Ce+" "+y.navigationPosition+'">'+o+"</div>"),s+="</li>",t.find("ul").append(s)}ne(Ee).css("margin-top","-"+ne(Ee).height()/2+"px"),ne(Ee).find("li").eq(ne(we).index(Se)).find("a").addClass(ge)}();u.find('iframe[src*="youtube.com/embed/"]').each(function(){var t,e,i;t=ne(this),e="enablejsapi=1",i=t.attr("src"),t.attr("src",i+(/\?/.test(i)?"&":"?")+e)}),y.scrollOverflow?("complete"===ae.readyState&&G(),Fe.on("load",G)):J()}(),R(!0),L(y.autoScrolling,"internal");var t=ne(we).find(Ye);t.length&&(0!==ne(we).index(Se)||0===ne(we).index(Se)&&0!==t.index())&&$t(t);Ht(),Kt(),"complete"===ae.readyState&&vt();Fe.on("load",vt)}(),Fe.on("scroll",tt).on("hashchange",gt).blur(kt).resize(zt).load(G),Ve.keydown(yt).keyup(bt).on("click touchstart",Ee+" a",Et).on("click touchstart",Be,Ct).on("click",".fp-tooltip",xt),ne(Se).on("click touchstart",Me,Tt),y.normalScrollElements&&(Ve.on("mouseenter",y.normalScrollElements,function(){W(!1)}),Ve.on("mouseleave",y.normalScrollElements,function(){W(!0)})));var E=!1,C=0,g=0,P=0,X=0,Y=0,I=(new Date).getTime(),z=0,H={options:{activeSection:ne(),element:null,yMovement:"up"},transformOrigin:{transformOut:"50% 50%",transformIn:"50% 50%"},beforeTransform:{transformOut:"translate3d(-50%,-50%,0)",transformIn:"translate3d(-50%,-50%,0)"},transform:{transformOut:"translate3d(-50%,-50%,0)",transformIn:"translate3d(-50%,-50%,0)"},init:function(t,e){var i="dfdAnimation"+e;t&&(this.options=t),void 0!==this[i]&&(this[i](),this.animate())},dfdAnimation3:function(){"up"==this.options.yMovement?(this.transformOrigin.transformOut="50% 150%",this.transformOrigin.transformIn="50% 0%",this.beforeTransform.transformOut="translate3d(0%,0%,0)",this.beforeTransform.transformIn="translate3d(0%,-100%,0)",this.transform.transformOut="translate3d(0%,50%,0)",this.transform.transformIn="translate3d(0%,0%,0)"):(this.transformOrigin.transformOut="50% 0%",this.transformOrigin.transformIn="50% 150%",this.beforeTransform.transformOut="translate3d(0,0,0)",this.beforeTransform.transformIn="translate3d(0,100%,0)",this.transform.transformOut="translate3d(0,-50%,0)",this.transform.transformIn="translate3d(0,0,0)")},dfdAnimation2:function(){"up"==this.options.yMovement?(this.transformOrigin.transformOut="50% 90%",this.transformOrigin.transformIn="50% 0%",this.beforeTransform.transformOut="perspective(100px) translate3d(0%,0%,0) scale(1)",this.beforeTransform.transformIn="perspective(0) translate3d(0%,-100%,0) scale(.8)"):(this.transformOrigin.transformOut="50% 10%",this.transformOrigin.transformIn="50% 150%",this.beforeTransform.transformOut="perspective(100px) translate3d(0,0,0) scale(1)",this.beforeTransform.transformIn="perspective(0) translate3d(0,100%,0) scale(.8)"),this.transform.transformOut="perspective(0) translate3d(0,0,0) scale(.8)",this.transform.transformIn="perspective(100px) translate3d(0,0,0) scale(1)"},dfdAnimation1:function(){"up"==this.options.yMovement?(this.transformOrigin.transformOut="50% 0%",this.transformOrigin.transformIn="50% 50%",this.beforeTransform.transformOut="perspective(1200px) translate3d(0%,0%,0) rotateX(0)",this.beforeTransform.transformIn="perspective(1200px) translate3d(0%,-100%,0)",this.transform.transformOut="perspective(1200px) translate3d(0%,100%,0) rotateX(-55deg)"):(this.transformOrigin.transformOut="50% 100%",this.transformOrigin.transformIn="50% 50%",this.beforeTransform.transformOut="perspective(1200px) translate3d(0%,0%,0) rotateX(0)",this.beforeTransform.transformIn="perspective(1200px) translate3d(0%,100%,0)",this.transform.transformOut="perspective(1200px) translate3d(0,-100%,0) rotateX(55deg)"),this.transform.transformIn="perspective(1200px) translate3d(0,0,0)"},animate:function(){var t=this,e=c.scrollingSpeed-100;this.options.activeSection.css(te(this.transformOrigin.transformOut)),this.options.activeSection.css(Jt(this.beforeTransform.transformOut)),this.options.element.css(te(this.transformOrigin.transformIn)),this.options.element.css(Jt(this.beforeTransform.transformIn)),setTimeout(function(){t.options.activeSection.css({"will-change":"transform","-webkit-transition":"all "+e+"ms cubic-bezier(.31,.24,.29,.97)","-moz-transition":"all "+e+"ms cubic-bezier(.31,.24,.29,.97)","-ms-transition":"all "+e+"ms cubic-bezier(.31,.24,.29,.97)","-o-transition":"all "+e+"ms cubic-bezier(.31,.24,.29,.97)",transition:"all "+e+"ms cubic-bezier(.31,.24,.29,.97)","-webkit-transform":t.transform.transformOut,"-moz-transform":t.transform.transformOut,"-ms-transform":t.transform.transformOut,"-o-transform":t.transform.transformOut,transform:t.transform.transformOut}),t.options.element.css({"will-change":"transform","-webkit-transition":"all "+e+"ms cubic-bezier(.31,.24,.29,.97)","-moz-transition":"all "+e+"ms cubic-bezier(.31,.24,.29,.97)","-ms-transition":"all "+e+"ms cubic-bezier(.31,.24,.29,.97)","-o-transition":"all "+e+"ms cubic-bezier(.31,.24,.29,.97)",transition:"all "+e+"ms cubic-bezier(.31,.24,.29,.97)","-webkit-transform":t.transform.transformIn,"-moz-transform":t.transform.transformIn,"-ms-transform":t.transform.transformIn,"-o-transform":t.transform.transformIn,transform:t.transform.transformIn})},100)}},_=0,O=m}function A(){var t=ne(re).height(),e=0,i=ne("#header-container");return 0<ne("#wpadminbar").length&&!ne("body").hasClass("compose-mode")&&640<ne(re).width()&&(e+=ne("#wpadminbar").outerHeight()),0<ne(".dfd-frame-line.line-top").length&&640<ne(re).width()&&(e+=2*ne(".dfd-frame-line.line-top").outerHeight()),ne(re).width()<1101?e+=i.outerHeight()-1:i.hasClass("menu-position-bottom")||i.hasClass("dfd-header-layout-fixed")||(e+=0<i.find(".dfd-top-row").length?i.find(".dfd-top-row").outerHeight():i.outerHeight()),t-=e}function L(t,e){ie("autoScrolling",t,e);var i=ne(we);y.autoScrolling&&!y.scrollBar?(d.css({overflow:"hidden",height:"100%"}),B(c.recordHistory,"internal"),u.css({"-ms-touch-action":"none","touch-action":"none"}),i.length&&Gt(i.position().top)):(d.css({overflow:"visible",height:"initial"}),B(!1,"internal"),u.css({"-ms-touch-action":"","touch-action":""}),Gt(0),i.length&&d.scrollTop(i.position().top))}function B(t,e){ie("recordHistory",t,e)}function M(t,e){ie("scrollingSpeed",t,e)}function D(t,e){ie("fitToSection",t,e)}function W(t){t?(!function(){var t,e="";re.addEventListener?t="addEventListener":(t="attachEvent",e="on");var i="onwheel"in ae.createElement("div")?"wheel":ae.onmousewheel!==he?"mousewheel":"DOMMouseScroll";"DOMMouseScroll"==i?ae[t](e+"MozMousePixelScroll",at,!1):ae[t](e+i,at,!1)}(),u.on("mousedown",St).on("mouseup",wt)):(ae.addEventListener?(ae.removeEventListener("mousewheel",at,!1),ae.removeEventListener("wheel",at,!1),ae.removeEventListener("MozMousePixelScroll",at,!1)):ae.detachEvent("onmousewheel",at),u.off("mousedown",St).off("mouseup",wt))}function R(i,t){void 0!==t?(t=t.replace(/ /g,"").split(","),ne.each(t,function(t,e){ee(i,e,"m")})):i?(W(!0),function(){if(y.autoScrolling&&(o||l)){var t=Zt();x.off("touchmove "+t.move).on("touchmove "+t.move,it),ne(de).off("touchstart "+t.down).on("touchstart "+t.down,nt).off("touchmove "+t.move).on("touchmove "+t.move,st)}}()):(W(!1),function(){if(o||l){var t=Zt();ne(de).off("touchstart "+t.down).off("touchmove "+t.move)}}())}function F(i,t){void 0!==t?(t=t.replace(/ /g,"").split(","),ne.each(t,function(t,e){ee(i,e,"k")})):y.keyboardScrolling=i}function V(){var t=ne(we).prev(Se);if(t.length||!y.loopTop&&!y.continuousVertical||(t=ne(Se).last()),ne("body").hasClass("dfd-one-page-footer-expanded"))return setTimeout(function(){ne("body").removeClass("dfd-one-page-footer-expanded")},600),!1;t.length&&ct(t,null,!0)}function q(){var t=ne(we).next(Se);t.length||!y.loopBottom&&!y.continuousVertical||(t=ne(Se).first()),!t.length&&0<ne("#footer-wrap").length&&!ne("body").hasClass("dfd-one-page-footer-expanded")&&ne("body").addClass("dfd-one-page-footer-expanded"),t.length&&ct(t,null,!1)}function N(t,e){M(0,"internal"),U(t,e),M(c.scrollingSpeed,"internal")}function U(t,e){var i=Ft(t);void 0!==e?Vt(t,e):0<i.length&&ct(i),ne("body").hasClass("dfd-one-page-footer-expanded")&&ne("body").removeClass("dfd-one-page-footer-expanded")}function j(t){lt("right",t)}function K(t){lt("left",t)}function Z(t){if(!u.hasClass(ue)&&k){T=!0,m=A(),(u.hasClass("dfd-enable-onepage-animation")||u.hasClass("dfd-disable-onepage-animation"))&&u.css("height",m),ne(Se).each(function(){var t=ne(this).find(ze),e=ne(this).find(Xe);y.verticalCentered&&ne(this).find(ke).css("height",Wt(ne(this))+"px"),ne(this).css("height",m+"px"),y.scrollOverflow&&(e.length?e.each(function(){Mt(ne(this))}):Mt(ne(this))),1<e.length&&Xt(t,t.find(Ye))});var e=ne(we).index(Se);e&&N(e+1),T=!1,ne.isFunction(y.afterResize)&&t&&y.afterResize.call(u),ne.isFunction(y.afterReBuild)&&!t&&y.afterReBuild.call(u)}}function Q(t){var e=x.hasClass(pe);t?e||(L(!1,"internal"),D(!1,"internal"),ne(Ee).hide(),x.addClass(pe),ne.isFunction(y.afterResponsive)&&y.afterResponsive.call(u,t)):e&&(L(c.autoScrolling,"internal"),D(c.autoScrolling,"internal"),ne(Ee).show(),x.removeClass(pe),ne.isFunction(y.afterResponsive)&&y.afterResponsive.call(u,t))}function $(t,e,i){var s=100*i,o=100/i;e.wrapAll('<div class="'+He+'" />'),e.parent().wrap('<div class="'+Ie+'" />'),t.find(_e).css("width",s+"%"),1<i&&(y.controlArrows&&function(t){t.find(ze).after('<div class="fp-controlArrow fp-prev"></div><div class="fp-controlArrow fp-next"></div>'),"#fff"!=y.controlArrowColor&&(t.find(Re).css("border-color","transparent transparent transparent "+y.controlArrowColor),t.find(We).css("border-color","transparent "+y.controlArrowColor+" transparent transparent"));y.loopHorizontal||t.find(We).hide()}(t),y.slidesNavigation&&function(t,e){t.append('<div class="'+Ae+'"><ul></ul></div>');var i=t.find(Le);i.addClass(y.slidesNavPosition);for(var s=0;s<e;s++)i.find("ul").append('<li><a href="#"><span></span></a></li>');i.css("margin-left","-"+i.width()/2+"px"),i.find("li").first().find("a").addClass(ge)}(t,i)),e.each(function(t){ne(this).css("width",o+"%"),y.verticalCentered&&Dt(ne(this))});var n=t.find(Ye);n.length&&(0!==ne(we).index(Se)||0===ne(we).index(Se)&&0!==n.index())?$t(n):e.eq(0).addClass(ge)}function G(){ne(Se).each(function(){var t=ne(this).find(Xe);t.length?t.each(function(){Mt(ne(this))}):Mt(ne(this))}),J()}function J(){var t=ne(we);t.addClass(xe),y.scrollOverflowHandler.afterRender&&y.scrollOverflowHandler.afterRender(t),pt(t),ft(t),ne.isFunction(y.afterLoad)&&y.afterLoad.call(t,t.data("anchor"),t.index(Se)+1),ne.isFunction(y.afterRender)&&y.afterRender.call(u)}function tt(){var t,e,i;if(!y.autoScrolling||y.scrollBar){var s=Fe.scrollTop(),o=(i=C<(e=s)?"down":"up",z=C=e,i),n=0,r=s+Fe.height()/2,a=x.height()-Fe.height()===s,l=ae.querySelectorAll(Se);if(a)n=l.length-1;else if(s)for(var h=0;h<l.length;++h){l[h].offsetTop<=r&&(n=h)}else n=0;if(function(t){var e=ne(we).position().top,i=e+Fe.height();if("up"==t)return i>=Fe.scrollTop()+Fe.height();return e<=Fe.scrollTop()}(o)&&(ne(we).hasClass(xe)||ne(we).addClass(xe).siblings().removeClass(xe)),!(t=ne(l).eq(n)).hasClass(ge)){E=!0;var c,d,p=ne(we),f=p.index(Se)+1,u=Lt(t),m=t.data("anchor"),v=t.index(Se)+1,g=t.find(Ye);g.length&&(d=g.data("anchor"),c=g.index()),k&&(t.addClass(ge).siblings().removeClass(ge),ne.isFunction(y.onLeave)&&y.onLeave.call(p,f,v,u),ne.isFunction(y.afterLoad)&&y.afterLoad.call(t,m,v),ut(p),pt(t),ft(t),At(m,v-1),y.anchors.length&&(b=m),Nt(c,d,m,v)),clearTimeout(S),S=setTimeout(function(){E=!1},100)}y.fitToSection&&(clearTimeout(w),w=setTimeout(function(){k&&y.fitToSection&&(ne(we).is(t)&&(T=!0),ct(ne(we)),T=!1)},y.fitToSectionDelay))}}function et(t,e){if(h.m[t]&&k){var i="down"===t?"bottom":"top",s="down"===t?q:V;if(0<e.length){if(!y.scrollOverflowHandler.isScrolled(i,e))return!0;s()}else s()}}function it(t){var e=t.originalEvent;y.autoScrolling&&ot(e)&&t.preventDefault()}function st(t){var e=t.originalEvent,i=ne(e.target).closest(Se);if(!function t(e,i){i=i||0;var s=ne(e).parent();return!!(i<y.normalScrollElementTouchThreshold&&s.is(y.normalScrollElements))||i!=y.normalScrollElementTouchThreshold&&t(s,++i)}(t.target)&&ot(e)){y.autoScrolling&&t.preventDefault();var s=y.scrollOverflowHandler.scrollable(i);if(k&&!a){var o=Qt(e);X=o.y,Y=o.x,i.find(ze).length&&le.abs(P-Y)>le.abs(g-X)?le.abs(P-Y)>Fe.outerWidth()/100*y.touchSensitivity&&(Y<P?h.m.right&&j(i):h.m.left&&K(i)):y.autoScrolling&&le.abs(g-X)>Fe.height()/100*y.touchSensitivity&&(X<g?et("down",s):g<X&&et("up",s))}}}function ot(t){return void 0===t.pointerType||"mouse"!=t.pointerType}function nt(t){var e=t.originalEvent;if(y.fitToSection&&d.stop(),ot(e)){var i=Qt(e);g=i.y,P=i.x}}function rt(t,e){for(var i=0,s=t.slice(le.max(t.length-e,1)),o=0;o<s.length;o++)i+=s[o];return le.ceil(i/e)}function at(t){var e=(new Date).getTime(),i=ne(".fp-completely").hasClass("fp-normal-scroll");if(y.autoScrolling&&!p&&!i){var s=(t=t||re.event).wheelDelta||-t.deltaY||-t.detail,o=le.max(-1,le.min(1,s)),n=void 0!==t.wheelDeltaX||void 0!==t.deltaX,r=le.abs(t.wheelDeltaX)<le.abs(t.wheelDelta)||le.abs(t.deltaX)<le.abs(t.deltaY)||!n;149<v.length&&v.shift(),v.push(le.abs(s)),y.scrollBar&&(t.preventDefault?t.preventDefault():t.returnValue=!1);var a=ne(we),l=y.scrollOverflowHandler.scrollable(a),h=e-I;if(I=e,200<h&&(v=[]),k){var c=rt(v,10);rt(v,70)<=c&&r&&et(o<0?"down":"up",l)}return!1}y.fitToSection&&d.stop()}function lt(t,e){var i=(void 0===e?ne(we):e).find(ze),s=i.find(Xe).length;if(!(!i.length||a||s<2)&&k){var o=i.find(Ye),n=null;if(!(n="left"===t?o.prev(Xe):o.next(Xe)).length){if(!y.loopHorizontal)return;n="left"===t?o.siblings(":last"):o.siblings(":first")}a=!0,Xt(i,n,t)}}function ht(){ne(Ye).each(function(){$t(ne(this),"internal")})}function ct(t,e,i){if(void 0!==t&&k){var s,o,n,r,a,l,h,c,d={element:t,callback:e,isMovementUp:i,dtop:(o=(s=t).position(),n=o.top,r=o.top>z,a=n-m+s.outerHeight(),l=y.bigSectionsDestination,s.outerHeight()>m?(r||l)&&"bottom"!==l||(n=a):(r||T&&s.is(":last-child"))&&(n=a),z=n),yMovement:Lt(t),anchorLink:t.data("anchor"),sectionIndex:t.index(Se),activeSlide:t.find(Ye),activeSection:ne(we),leavingSection:ne(we).index(Se)+1,localIsResizing:T};d.activeSection.is(t)&&!T||y.scrollBar&&Fe.scrollTop()===d.dtop&&!t.hasClass("fp-auto-height")||(d.activeSlide.length&&(h=d.activeSlide.data("anchor"),c=d.activeSlide.index()),y.autoScrolling&&y.continuousVertical&&void 0!==d.isMovementUp&&(!d.isMovementUp&&"up"==d.yMovement||d.isMovementUp&&"down"==d.yMovement)&&(d=function(t){t.isMovementUp?ne(we).before(t.activeSection.nextAll(Se)):ne(we).after(t.activeSection.prevAll(Se).get().reverse());return Gt(ne(we).position().top),ht(),t.wrapAroundElements=t.activeSection,t.dtop=t.element.position().top,t.yMovement=Lt(t.element),t}(d)),ne.isFunction(y.onLeave)&&!d.localIsResizing&&!1===y.onLeave.call(d.activeSection,d.leavingSection,d.sectionIndex+1,d.yMovement)||(ut(d.activeSection),y.scrollOverflowHandler.beforeLeave(),t.addClass(ge).siblings().removeClass(ge),pt(t),y.scrollOverflowHandler.onLeave(),k=!1,Nt(c,h,d.anchorLink,d.sectionIndex),function(t){var e=u.hasClass("dfd-enable-onepage-animation");if(y.css3&&y.autoScrolling&&!y.scrollBar){if(!e){var i="translate3d(0px, -"+le.round(t.dtop)+"px, 0px)";Rt(i,!0)}ne("body").on("vc-front-reinited",function(){Rt("translate3d(0px, 0px, 0px)",!0)}),y.scrollingSpeed?(clearTimeout(f),f=setTimeout(function(){dt(t)},y.scrollingSpeed)):dt(t)}else{var s=function(t){var e={};y.autoScrolling&&!y.scrollBar?(e.options={top:-t.dtop},e.element=de):(e.options={scrollTop:t.dtop},e.element="html, body");return e}(t);e&&(s.options={top:0}),ne(s.element).animate(s.options,y.scrollingSpeed,y.easing).promise().done(function(){y.scrollBar?setTimeout(function(){dt(t)},30):dt(t)})}if(e){var o=u.attr("class");-1!=o.indexOf("dfd-3d-style-")&&(o=(o=o.substring(o.toLowerCase().indexOf("dfd-3d-style-"))).substring(13,14)),void 0!==H&&1==o.length&&H.init(t,o)}}(d),b=d.anchorLink,At(d.anchorLink,d.sectionIndex)))}}function dt(t){var e;(e=t).wrapAroundElements&&e.wrapAroundElements.length&&(e.isMovementUp?ne(".fp-section:first").before(e.wrapAroundElements):ne(".fp-section:last").after(e.wrapAroundElements),Gt(ne(we).position().top),ht()),ne.isFunction(y.afterLoad)&&!t.localIsResizing&&y.afterLoad.call(t.element,t.anchorLink,t.sectionIndex+1),y.scrollOverflowHandler.afterLoad(),ft(t.element),t.element.addClass(xe).siblings().removeClass(xe),k=!0,ne.isFunction(t.callback)&&t.callback.call(this)}function pt(t){var e;y.lazyLoading&&mt(t).find("img[data-src], source[data-src], audio[data-src], iframe[data-src]").each(function(){(e=ne(this)).attr("src",e.data("src")),e.removeAttr("data-src"),e.is("source")&&e.closest("video").get(0).load()})}function ft(t){var e=mt(t);e.find("video, audio").each(function(){var t=ne(this).get(0);t.hasAttribute("data-autoplay")&&t.play}),e.find('iframe[src*="youtube.com/embed/"]').each(function(){var t=ne(this).get(0);t.hasAttribute("data-autoplay"),t.onload=function(){t.hasAttribute("data-autoplay")}})}function ut(t){var e=mt(t);e.find("video, audio").each(function(){var t=ne(this).get(0);!t.hasAttribute("data-keepplaying")&&t.pause}),e.find('iframe[src*="youtube.com/embed/"]').each(function(){var t=ne(this).get(0);/youtube\.com\/embed\//.test(ne(this).attr("src"))&&t.hasAttribute("data-keepplaying")})}function mt(t){var e=t.find(Ye);return e.length&&(t=ne(e)),t}function vt(){var t=re.location.hash.replace("#","").split("/"),e=decodeURIComponent(t[0]),i=decodeURIComponent(t[1]);e&&(y.animateAnchor?Vt(e,i):N(e,i))}function gt(){if(!E&&!y.lockAnchors){var t=re.location.hash.replace("#","").split("/"),e=decodeURIComponent(t[0]),i=decodeURIComponent(t[1]),s=void 0===b,o=void 0===b&&void 0===i&&!a;e.length&&(e&&e!==b&&!s||o||!a&&n!=i)&&Vt(e,i)}}function yt(t){clearTimeout(s);var e=ne(":focus");if(!e.is("textarea")&&!e.is("input")&&!e.is("select")&&"true"!==e.attr("contentEditable")&&""!==e.attr("contentEditable")&&y.keyboardScrolling&&y.autoScrolling){var i=t.which;-1<ne.inArray(i,[40,38,32,33,34])&&t.preventDefault(),p=t.ctrlKey,s=setTimeout(function(){!function(t){var e=t.shiftKey;switch(t.which){case 38:case 33:h.k.up&&V();break;case 32:if(e&&h.k.up){V();break}case 40:case 34:h.k.down&&q();break;case 36:h.k.up&&U(1);break;case 35:h.k.down&&U(ne(Se).length);break;case 37:h.k.left&&K();break;case 39:h.k.right&&j();break;default:;}}(t)},150)}}function xt(){ne(this).prev().trigger("click")}function bt(t){e&&(p=t.ctrlKey)}function St(t){2==t.which&&(_=t.pageY,u.on("mousemove",Pt))}function wt(t){2==t.which&&u.off("mousemove")}function Tt(){var t=ne(this).closest(Se);ne(this).hasClass(De)?h.m.left&&K(t):h.m.right&&j(t)}function kt(){p=e=!1}function Et(t){t.preventDefault();var e=ne(this).parent().index();ct(ne(Se).eq(e)),ne("body").hasClass("dfd-one-page-footer-expanded")&&ne("body").removeClass("dfd-one-page-footer-expanded")}function Ct(t){t.preventDefault();var e=ne(this).closest(Se).find(ze);Xt(e,e.find(Xe).eq(ne(this).closest("li").index()))}function Pt(t){k&&(t.pageY<_&&h.m.up?V():t.pageY>_&&h.m.down&&q()),_=t.pageY}function Xt(t,e,i){var s=t.closest(Se),o={slides:t,destiny:e,direction:i,destinyPos:e.position(),slideIndex:e.index(),section:s,sectionIndex:s.index(Se),anchorLink:s.data("anchor"),slidesNav:s.find(Le),slideAnchor:jt(e),prevSlide:s.find(Ye),prevSlideIndex:s.find(Ye).index(),localIsResizing:T};o.xMovement=Bt(o.prevSlideIndex,o.slideIndex),o.localIsResizing||(k=!1),y.onSlideLeave&&!o.localIsResizing&&"none"!==o.xMovement&&ne.isFunction(y.onSlideLeave)&&!1===y.onSlideLeave.call(o.prevSlide,o.anchorLink,o.sectionIndex+1,o.prevSlideIndex,o.xMovement,o.slideIndex)?a=!1:(e.addClass(ge).siblings().removeClass(ge),o.localIsResizing||(ut(o.prevSlide),pt(e)),!y.loopHorizontal&&y.controlArrows&&(s.find(We).toggle(0!==o.slideIndex),s.find(Re).toggle(!e.is(":last-child"))),s.hasClass(ge)&&Nt(o.slideIndex,o.slideAnchor,o.anchorLink,o.sectionIndex),It(t,o,!0))}function Yt(t){var e,i;e=t.slidesNav,i=t.slideIndex,e.find(ye).removeClass(ge),e.find("li").eq(i).find("a").addClass(ge),t.localIsResizing||(ne.isFunction(y.afterSlideLoad)&&y.afterSlideLoad.call(t.destiny,t.anchorLink,t.sectionIndex+1,t.slideAnchor,t.slideIndex),k=!0),ft(t.destiny),a=!1}function It(t,e,i){var s=e.destinyPos;if(y.css3){var o="translate3d(-"+le.round(s.left)+"px, 0px, 0px)";_t(t.find(_e)).css(Jt(o)),r=setTimeout(function(){i&&Yt(e)},y.scrollingSpeed,y.easing)}else t.animate({scrollLeft:le.round(s.left)},y.scrollingSpeed,y.easing,function(){i&&Yt(e)})}function zt(){if(Ht(),o){var t=ne(ae.activeElement);if(!t.is("textarea")&&!t.is("input")&&!t.is("select")){var e=Fe.height();le.abs(e-O)>20*le.max(O,e)/100&&(Z(!0),O=e)}}else clearTimeout(i),i=setTimeout(function(){Z(!0)},350)}function Ht(){var t=y.responsive||y.responsiveWidth,e=y.responsiveHeight,i=t&&Fe.outerWidth()<t,s=e&&Fe.height()<e;t&&e?Q(i||s):t?Q(i):e&&Q(s)}function _t(t){var e="all "+y.scrollingSpeed+"ms "+y.easingcss3;return t.removeClass(fe),t.css({"-webkit-transition":e,transition:e})}function Ot(t){return t.addClass(fe)}function At(t,e){var i,s,o;i=t,y.menu&&(ne(y.menu).find(ye).removeClass(ge),ne(y.menu).find('[data-menuanchor="'+i+'"]').addClass(ge)),s=t,o=e,y.navigation&&(ne(Ee).find(ye).removeClass(ge),s?ne(Ee).find('a[href="#'+s+'"]').addClass(ge):ne(Ee).find("li").eq(o).find("a").addClass(ge))}function Lt(t){var e=ne(we).index(Se),i=t.index(Se);return e==i?"none":i<e?"up":"down"}function Bt(t,e){return t==e?"none":e<t?"left":"right"}function Mt(t){if(!t.hasClass("fp-noscroll")){t.css("overflow","hidden");var e,i=y.scrollOverflowHandler,s=i.wrapContent(),o=t.closest(Se),n=i.scrollable(t),r=ne("#header-container");n.length?(t.find(".fp-scroller").css("height","auto"),e=i.scrollHeight(t)):(e=t.get(0).scrollHeight,y.verticalCentered&&(e=t.find(ke).get(0).scrollHeight)),r.hasClass("menu-position-bottom")||r.hasClass("dfd-header-layout-fixed")||(0<r.find(".dfd-top-row").length?r.find(".dfd-top-row").outerHeight():r.outerHeight());var a=m-parseInt(o.css("padding-bottom"))-parseInt(o.css("padding-top"));a<e?n.length?i.update(t,a):(y.verticalCentered?t.find(ke).wrapInner(s):t.wrapInner(s),t.find(".fp-scroller").css("height",e),i.create(t,a)):i.remove(t),t.css("overflow","")}}function Dt(t){t.hasClass(Oe)||(ne("body").hasClass("compose-mode")?t.addClass(Oe).find("> .vc-row-wrapper").wrapInner('<div class="'+Te+'" style="height:'+Wt(t)+'px;" />'):t.addClass(Oe).wrapInner('<div class="'+Te+'" style="height:'+Wt(t)+'px;" />'))}function Wt(t){var e=m;if(y.paddingTop||y.paddingBottom){var i=t;i.hasClass(be)||(i=t.closest(Se));var s=parseInt(i.css("padding-top"))+parseInt(i.css("padding-bottom"));e=m-s}return e}function Rt(t,e){e?_t(u):Ot(u),u.css(Jt(t)),setTimeout(function(){u.removeClass(fe)},10)}function Ft(t){var e=u.find(Se+'[data-anchor="'+t+'"]');return e.length||(e=ne(Se).eq(t-1)),e}function Vt(t,e){var i=Ft(t);i.length&&k&&(void 0===e&&(e=0),t===b||i.hasClass(ge)?qt(i,e):ct(i,function(){qt(i,e)}))}function qt(t,e){if(void 0!==e){var i=t.find(ze),s=(o=e,n=t.find(ze),(r=n.find(Xe+'[data-anchor="'+o+'"]')).length||(r=n.find(Xe).eq(o)),r);s.length&&Xt(i,s)}var o,n,r}function Nt(t,e,i,s){var o="";y.anchors.length&&!y.lockAnchors&&(t?(void 0!==i&&(o=i),void 0===e&&(e=t),Ut(o+"/"+(n=e))):(void 0!==t&&(n=e),Ut(i))),Kt()}function Ut(t){if(y.recordHistory)location.hash=t;else if(o||l)re.history.replaceState(he,he,"#"+t);else{var e=re.location.href.split("#")[0];re.location.replace(e+"#"+t)}}function jt(t){var e=t.data("anchor"),i=t.index();return void 0===e&&(e=i),e}function Kt(){var t=ne(we),e=t.find(Ye),i=jt(t),s=jt(e),o=String(i);e.length&&(o=o+"-"+s),o=o.replace("/","-").replace("#","");var n=new RegExp("\\b\\s?"+ve+"-[^\\s]+\\b","g");x[0].className=x[0].className.replace(n,""),x.addClass(ve+"-"+o)}function Zt(){return re.PointerEvent?{down:"pointerdown",move:"pointermove"}:{down:"MSPointerDown",move:"MSPointerMove"}}function Qt(t){var e=[];return e.y=void 0!==t.pageY&&(t.pageY||t.pageX)?t.pageY:t.touches[0].pageY,e.x=void 0!==t.pageX&&(t.pageY||t.pageX)?t.pageX:t.touches[0].pageX,l&&ot(t)&&y.scrollBar&&(e.y=t.touches[0].pageY,e.x=t.touches[0].pageX),e}function $t(t,e){M(0,"internal"),void 0!==e&&(T=!0),Xt(t.closest(ze),t),void 0!==e&&(T=!1),M(c.scrollingSpeed,"internal")}function Gt(t){var e=le.round(t);if(y.scrollBar)u.scrollTop(e);else if(y.css3){Rt("translate3d(0px, -"+e+"px, 0px)",!1)}else u.css("top",-e)}function Jt(t){return{"-webkit-transform":t,"-moz-transform":t,"-ms-transform":t,transform:t}}function te(t){return{"-webkit-transform-origin":t,"-moz-transform-origin":t,"-ms-transform-origin":t,"transform-origin":t}}function ee(t,e,i){switch(e){case"up":h[i].up=t;break;case"down":h[i].down=t;break;case"left":h[i].left=t;break;case"right":h[i].right=t;break;case"all":"m"==i?R(t):F(t)}}function ie(t,e,i){y[t]=e,"internal"!==i&&(c[t]=e)}function se(){ne("html").hasClass(me)?oe("error","Fullpage.js can only be initialized once and you are doing it multiple times!"):(y.continuousVertical&&(y.loopTop||y.loopBottom)&&(y.continuousVertical=!1,oe("warn","Option `loopTop/loopBottom` is mutually exclusive with `continuousVertical`; `continuousVertical` disabled")),y.scrollBar&&y.scrollOverflow&&oe("warn","Option `scrollBar` is mutually exclusive with `scrollOverflow`. Sections with scrollOverflow might not work well in Firefox"),y.continuousVertical&&y.scrollBar&&(y.continuousVertical=!1,oe("warn","Option `scrollBar` is mutually exclusive with `continuousVertical`; `continuousVertical` disabled")),["fadingEffect","continuousHorizontal","scrollHorizontally","interlockedSlides","resetSliders","responsiveSlides"].forEach(function(t){y[t]&&oe("warn","fullpage.js extensions require jquery.fullpage.extensions.min.js file instead of the usual jquery.fullpage.js. Requested: "+t)}),ne.each(y.anchors,function(t,e){var i=Ve.find("[name]").filter(function(){return ne(this).attr("name")&&ne(this).attr("name").toLowerCase()==e.toLowerCase()}),s=Ve.find("[id]").filter(function(){return ne(this).attr("id")&&ne(this).attr("id").toLowerCase()==e.toLowerCase()});(s.length||i.length)&&(oe("error","data-anchor tags can not have the same value as any `id` element on the site (or `name` element for IE)."),s.length&&oe("error",'"'+e+'" is is being used by another element `id` property'),i.length&&oe("error",'"'+e+'" is is being used by another element `name` property'))}))}function oe(t,e){console&&console[t]&&console[t]("fullPage: "+e)}},"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 Ne={refreshId:null,iScrollInstances:[],onLeave:function(){var t=ne(we).find(s).data("iscrollInstance");void 0!==t&&t&&t.wheelOff()},beforeLeave:function(){Ne.onLeave()},afterLoad:function(){var t=ne(we).find(s).data("iscrollInstance");void 0!==t&&t&&t.wheelOn()},create:function(t,e){var i=t.find(s);i.height(e),i.each(function(){var t=jQuery(this),e=t.data("iscrollInstance");e&&ne.each(Ne.iScrollInstances,function(){ne(this).destroy()}),e=new IScroll(t.get(0),qe),Ne.iScrollInstances.push(e),t.data("iscrollInstance",e)})},isScrolled:function(t,e){var i=e.data("iscrollInstance");return!i||("top"===t?0<=i.y&&!e.scrollTop():"bottom"===t?0-i.y+e.scrollTop()+1+e.innerHeight()>=e[0].scrollHeight:void 0)},scrollable:function(t){return t.find(ze).length?t.find(Ye).find(s):t.find(s)},scrollHeight:function(t){return t.find(s).children().first().get(0).scrollHeight},remove:function(t){var e=t.find(s);e.length&&(e.data("iscrollInstance").destroy(),e.data("iscrollInstance",null));t.find(s).children().first().children().first().unwrap().unwrap()},update:function(t,e){clearTimeout(Ne.refreshId),Ne.refreshId=setTimeout(function(){ne.each(Ne.iScrollInstances,function(){ne(this).get(0).refresh()})},150),t.find(s).css("height",e+"px").parent().css("height",e+"px")},wrapContent:function(){return'<div class="'+t+'"><div class="fp-scroller"></div></div>'}}}),function(s){"use strict";var o=s("#layout.one-page-scroll"),n=s("#header-container"),r=!1,a=!1,l=!1,t=!0,e=function(){o.fullpage({navigation:t,lazyLoading:!0,scrollBar:!1,css3:!0,scrollingSpeed:900,scrollOverflow:!0,scrollOverflowOptions:{click:!0},verticalCentered:!0,afterLoad:function(t,e){if(r&&n.hasClass("dfd-header-layout-fixed")){if(s("body").hasClass("compose-mode"))var i=o.find("> div.vc_vc_row > .vc-row-wrapper:nth-child("+e+")");else i=o.find("> .vc-row-wrapper:nth-child("+e+")");i.hasClass("dfd-background-dark")?(n.removeClass("dfd-header-light").addClass("dfd-header-dark"),s("#fp-nav").removeClass("dfd-nav-light").addClass("dfd-nav-dark"),a&&""!=a&&n.find(".logo-for-panel img").attr("src",a)):(n.removeClass("dfd-header-dark").addClass("dfd-header-light"),s("#fp-nav").removeClass("dfd-nav-dark").addClass("dfd-nav-light"),l&&""!=l&&n.find(".logo-for-panel img").attr("src",l))}s("body").trigger("reinit-waypoint"),o.find("> div").css({"will-change":"auto","-webkit-transform":"translate3d(0,0,0)","-moz-transform":"translate3d(0,0,0)","-ms-transform":"translate3d(0,0,0)","-o-transform":"translate3d(0,0,0)",transform:"translate3d(0,0,0)","-webkit-transition":"none","-moz-transition":"none","-ms-transition":"none","-o-transition":"none",transition:"none"})}})};0<o.length&&(0<n.length&&o.data("smart-header")&&"1"==o.data("smart-header")&&(n.hasClass("header-style-2")||n.hasClass("header-style-4")||n.hasClass("header-style-7"))&&(n.addClass("dfd-smart-header"),r=!0,a=dfd_smart_logo_light,l=dfd_smart_logo_dark),0<s("#stuning-header").length&&s("#stuning-header").remove(),o.find("> div.vc-row-wrapper").addClass("section"),s(document).ready(function(){t=o.data("enable-dots"),e()}),s(window).load(function(){if(0<s("#footer-wrap").length){var t=new IScroll(s("#footer-wrap").get(0),{bindToWrapper:!0,disablePointer:!0,disableTouch:!1,disableMouse:!1,mouseWheel:!0,momentum:!1,scrollbars:!0,click:!0});t.on("scrollEnd",function(){-1==this.directionY&&0==this.y&&0==this.startY&&s("body").hasClass("dfd-one-page-footer-expanded")&&s("body").removeClass("dfd-one-page-footer-expanded")}),s("body").on("post-load",function(){t.refresh()})}s("body").hasClass("compose-mode")&&(o.find("> div.vc_vc_row").addClass("section"),s.fn.fullpage.destroy("all"),e(),s("body").on("post-load",function(){0<o.find("> div.vc_vc_row:not(.section)").length&&(o.find("> div.vc_vc_row:not(.section)").addClass("section"),s.fn.fullpage.destroy("all"),e(),s("body").trigger("vc-front-reinited"))}))}))}(jQuery);