-
Notifications
You must be signed in to change notification settings - Fork 7.3k
/
fullpage.extensions.min.js
11 lines (11 loc) · 64.4 KB
/
fullpage.extensions.min.js
1
2
3
4
5
6
7
8
9
10
11
/*!
* fullPage 4.0.31
* https://github.com/alvarotrigo/fullPage.js
*
* @license GPLv3 for open source use only
* or Fullpage Commercial License for commercial use
* http://alvarotrigo.com/fullPage/pricing/
*
* Copyright (C) 2018 http://alvarotrigo.com/fullPage/ - A project by Alvaro Trigo
*/
!function(n,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(n="undefined"!=typeof globalThis?globalThis:n||self).fullpage=t()}(this,(function(){"use strict";var n,t,e,i,r=Object.freeze({__proto__:null,get showError(){return Te},get isVisible(){return Ae},get getVisible(){return xe},get $(){return Oe},get deepExtend(){return ke},get hasClass(){return Ee},get getWindowHeight(){return Re},get t(){return De},get css(){return Le},get prev(){return je},get next(){return ze},get last(){return Ne},get index(){return Ie},get getList(){return Pe},get hide(){return He},get show(){return Ce},get isArrayOrList(){return We},get addClass(){return Fe},get removeClass(){return Ve},get appendTo(){return Be},get wrap(){return Ze},get wrapAll(){return Ye},get wrapInner(){return Ge},get unwrap(){return Xe},get closest(){return Ue},get after(){return _e},get before(){return Qe},get insertBefore(){return Je},get getScrollTop(){return Ke},get siblings(){return $e},get preventDefault(){return qe},get i(){return ni},get o(){return ti},get u(){return ei},get l(){return ii},get v(){return ri},get isFunction(){return oi},get trigger(){return ai},get matches(){return ui},get toggle(){return li},get createElementFromHTML(){return ci},get remove(){return si},get filter(){return fi},get untilAll(){return di},get nextAll(){return vi},get prevAll(){return pi},get toArray(){return hi},get p(){return gi},get h(){return mi},get g(){return wi},get S(){return bi},get M(){return Si}});Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(n){if(null==this)throw new TypeError('"this" is null or not defined');var t=Object(this),e=t.length>>>0;if("function"!=typeof n)throw new TypeError("predicate must be a function");for(var i=arguments[1],r=0;r<e;){var o=t[r];if(n.call(i,o,r,t))return o;r++}}}),Array.from||(Array.from=(n=Object.prototype.toString,t=function(t){return"function"==typeof t||"[object Function]"===n.call(t)},e=Math.pow(2,53)-1,i=function(n){var t=function(n){var t=Number(n);return isNaN(t)?0:0!==t&&isFinite(t)?(t>0?1:-1)*Math.floor(Math.abs(t)):t}(n);return Math.min(Math.max(t,0),e)},function(n){var e=this,r=Object(n);if(null==n)throw new TypeError("Array.from requires an array-like object - not null or undefined");var o,a=arguments.length>1?arguments[1]:void 0;if(void 0!==a){if(!t(a))throw new TypeError("Array.from: when provided, the second argument must be a function");arguments.length>2&&(o=arguments[2])}for(var u,l=i(r.length),c=t(e)?Object(new e(l)):new Array(l),s=0;s<l;)u=r[s],c[s]=a?void 0===o?a(u,s):a.call(o,u,s):u,s+=1;return c.length=l,c}));var o,a=window,u=document,l=navigator.userAgent.match(/(iPhone|iPod|iPad|Android|playbook|silk|BlackBerry|BB10|Windows Phone|Tizen|Bada|webOS|IEMobile|Opera Mini)/)||navigator.userAgent.includes("Mac")&&"ontouchend"in document,c=/(Mac|iPhone|iPod|iPad)/i.test(a.navigator.userAgent),s="ontouchstart"in a||navigator.msMaxTouchPoints>0||navigator.maxTouchPoints,f=!!window.MSInputMethodContext&&!!document.documentMode,d={test:{},shared:{}},v=(o=window.self!==window.top,function(){return o});a.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=function(n,t){t=t||window;for(var e=0;e<this.length;e++)n.call(t,this[e],e,this)}),"function"!=typeof Object.assign&&Object.defineProperty(Object,"assign",{value:function(n,t){if(null==n)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(n),i=1;i<arguments.length;i++){var r=arguments[i];if(null!=r)for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},writable:!0,T:!0});var p="fullpage-wrapper",h="."+p,g="fp-scrollable",m="fp-responsive",w="fp-notransition",b="fp-destroyed",S="fp-enabled",y="active",M=".active",T="fp-completely",A="fp-section",x="."+A,O=".fp-tableCell",k="#fp-nav",E="fp-slide",R="."+E,D=".fp-slide.active",L="fp-slides",j=".fp-slides",z="fp-slidesContainer",N="."+z,I="fp-table",P="fp-overflow",H="."+P,C="fp-is-overflow",W=".fp-slidesNav",F=".fp-slidesNav a",V="fp-controlArrow",B="."+V,Z="fp-prev",Y=".fp-controlArrow.fp-prev",G=".fp-controlArrow.fp-next",X={menu:!1,anchors:[],lockAnchors:!1,navigation:!1,navigationPosition:"right",navigationTooltips:[],showActiveTooltip:!1,slidesNavigation:!1,slidesNavPosition:"bottom",scrollBar:!1,hybrid:!1,licenseKey:"",credits:{enabled:!0,label:"Made with fullPage.js",position:"right"},css3:!0,scrollingSpeed:700,autoScrolling:!0,fitToSection:!0,fitToSectionDelay:600,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:!0,scrollOverflowReset:!1,skipIntermediateItems:!1,touchSensitivity:5,touchWrapper:null,bigSectionsDestination:null,keyboardScrolling:!0,animateAnchor:!0,recordHistory:!0,allowCorrectDirection:!1,scrollOverflowMacStyle:!0,controlArrows:!0,controlArrowsHTML:['<div class="fp-arrow"></div>','<div class="fp-arrow"></div>'],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"},cards:!1,cardsOptions:{perspective:100,fadeContent:!0,fadeBackground:!0},sectionSelector:".section",slideSelector:".slide",afterLoad:null,beforeLeave:null,onLeave:null,afterRender:null,afterResize:null,afterReBuild:null,afterSlideLoad:null,onSlideLeave:null,afterResponsive:null,onScrollOverflow:null,lazyLoading:!0,lazyLoadThreshold:0,observer:!0,scrollBeyondFullpage:!0},U=null,_=!1,Q=ke({},X),J=null;function K(n){return U}function $(){return J||X}function q(){return Q}function nn(n,t,e){J[n]=t,"internal"!==e&&(Q[n]=t)}function tn(){if(!$().anchors.length){var n=Oe($().sectionSelector.split(",").join("[data-anchor],")+"[data-anchor]",U);n.length&&n.length===Oe($().sectionSelector,U).length&&(_=!0,n.forEach((function(n){$().anchors.push(ni(n,"data-anchor").toString())})))}if(!$().navigationTooltips.length){var t=Oe($().sectionSelector.split(",").join("[data-tooltip],")+"[data-tooltip]",U);t.length&&t.forEach((function(n){$().navigationTooltips.push(ni(n,"data-tooltip").toString())}))}}var en={A:0,O:0,slides:[],R:[],D:null,L:null,j:!1,N:!1,I:!1,P:!1,H:!1,C:void 0,W:void 0,F:!1,canScroll:!0,V:"none",B:"none",Z:!1,Y:!1,G:!0,X:0,U:Re(),_:!1,J:{},scrollY:0,scrollX:0,K:!1};function rn(n){Object.assign(en,n)}function on(){return en}function an(n){return void 0!==window["fp_"+n+"Extension"]}function un(n){var t=$();return null!==t[n]&&"[object Array]"===Object.prototype.toString.call(t[n])?t[n].length&&d[n]:t[n]&&d[n]}function ln(n,t,e){if(un(n))return oi(d[n][t])?d[n][t](e):d[n][t]}function cn(){return ln("dragAndMove","isAnimating")}function sn(){return ln("dragAndMove","isGrabbing")}function fn(n){if($().offsetSections&&d.offsetSections){var t=ln("offsetSections","getWindowHeight",n);return""!==t?Math.round(t)+"px":t}return Re()+"px"}function dn(n,t){n.insertBefore(t,n.firstChild)}function vn(n){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function e(n){var e,i,r,o,a,u,l="",c=0;for(n=n.replace(/[^A-Za-z0-9+/=]/g,"");c<n.length;)e=t.indexOf(n.charAt(c++))<<2|(o=t.indexOf(n.charAt(c++)))>>4,i=(15&o)<<4|(a=t.indexOf(n.charAt(c++)))>>2,r=(3&a)<<6|(u=t.indexOf(n.charAt(c++))),l+=String.fromCharCode(e),64!=a&&(l+=String.fromCharCode(i)),64!=u&&(l+=String.fromCharCode(r));return l=function(n){for(var t,e="",i=0,r=0,o=0;i<n.length;)(r=n.charCodeAt(i))<128?(e+=String.fromCharCode(r),i++):r>191&&r<224?(o=n.charCodeAt(i+1),e+=String.fromCharCode((31&r)<<6|63&o),i+=2):(o=n.charCodeAt(i+1),t=n.charCodeAt(i+2),e+=String.fromCharCode((15&r)<<12|(63&o)<<6|63&t),i+=3);return e}(l),l}function i(n){return n.slice(3).slice(0,-3)}return function(n){var t=n.split("_");if(t.length>1){var r=t[1];return e(n.replace(i(t[1]),"").split("_")[0].slice(2).slice(0,-2))+"_"+e(r.slice(3).slice(0,-3))}return i(n)}(e(n))}a.state=en,a.fp_utils=a.fp_utils||{},Object.assign(a.fp_utils,{prependTo:dn,toggleClass:function(n,t,e){if(n.classList&&null==e)n.classList.toggle(t);else{var i=Ee(n,t);i&&null==e||!e?Ve(n,t):(!i&&null==e||e)&&Fe(n,t)}}});var pn=function(n){this.anchor=n.anchor,this.item=n.item,this.index=n.index(),this.isLast=this.index===n.item.parentElement.querySelectorAll(n.selector).length-1,this.isFirst=!this.index,this.isActive=n.isActive},hn=function(n,t){this.parent=this.parent||null,this.selector=t,this.anchor=ni(n,"data-anchor")||$().anchors[Ie(n,$().sectionSelector)],this.item=n,this.isVisible=Ae(n),this.isActive=Ee(n,y),this.q=Ee(n,P)||null!=Oe(H,n)[0],this.nn=t===$().sectionSelector,this.container=Ue(n,N)||Ue(n,h),this.index=function(){return this.siblings().indexOf(this)}};function gn(n){return n.map((function(n){return n.item}))}function mn(n,t){return n.find((function(n){return n.item===t}))}hn.prototype.siblings=function(){return this.nn?this.isVisible?en.R:en.tn:this.parent?this.parent.slides:0},hn.prototype.prev=function(){var n=this.siblings(),t=(this.nn?n.indexOf(this):this.parent.slides.indexOf(this))-1;return t>=0?n[t]:null},hn.prototype.next=function(){var n=this.siblings(),t=(this.nn?n.indexOf(this):this.parent.slides.indexOf(this))+1;return t<n.length?n[t]:null},hn.prototype.prevPanel=function(){return this===this.prev()?this.parent?this.parent.prev():null:this.prev()||(this.parent?this.parent.prev():null)},hn.prototype.nextPanel=function(){return this===this.next()?this.parent?this.parent.next():null:this.next()||(this.parent?this.parent.next():null)},hn.prototype.en=function(){return this.nn?en.R:en.rn};var wn,bn=function(n){pn.call(this,n)},Sn=function(n){pn.call(this,n)};function yn(n){var t=Oe(D,n);return t.length&&(n=t[0]),n}function Mn(n){return n?n.activeSlide?n.activeSlide:n:null}function Tn(n){var t,e,i=$();return i.autoScrolling&&!i.scrollBar?(t=-n,e=Oe(h)[0]):(t=n,e=window),{options:t,element:e}}function An(n,t){!$().autoScrolling||$().scrollBar||n.self!=window&&Ee(n,L)?n.self!=window&&Ee(n,L)?n.scrollLeft=t:n.scrollTo(0,t):n.style.top=t+"px"}function xn(n){var t="transform "+$().scrollingSpeed+"ms "+$().easingcss3;return Ve(n,w),Le(n,{"-webkit-transition":t,transition:t})}function On(n,t){var e=n.index(),i=Ie(t,x);return e==i?"none":e>i?"up":"down"}function kn(n){return Fe(n,w)}function En(n){return{"-webkit-transform":n,"-moz-transform":n,"-ms-transform":n,transform:n}}function Rn(n,t){t?xn(K()):kn(K()),clearTimeout(wn),Le(K(),En(n)),d.test.on=n,wn=setTimeout((function(){Ve(K(),w)}),10)}function Dn(n){var t=Math.round(n);if($().css3&&$().autoScrolling&&!$().scrollBar)Rn("translate3d(0px, -"+t+"px, 0px)",!1);else if($().autoScrolling&&!$().scrollBar)Le(K(),{top:-t+"px"}),d.test.top=-t+"px";else{var e=Tn(t);An(e.element,e.options)}}function Ln(n,t){"internal"!==t&&ln("fadingEffect","update",n),ln("cards","update_",n),nn("scrollingSpeed",n,t)}d.setScrollingSpeed=Ln;var jn,zn=null,Nn=null,In=null;function Pn(n,t,e,i){var r,o=function(n){return n.self!=a&&Ee(n,L)?n.scrollLeft:!$().autoScrolling||$().scrollBar?Ke():n.offsetTop}(n),u=t-o,l=!1,c=en.F;rn({F:!0}),jn&&window.cancelAnimationFrame(jn),jn=function(s){r||(r=s);var f=Math.floor(s-r);if(en.F){var d=t;e&&(d=a.fp_easings[$().easing](f,o,u,e)),f<=e&&An(n,d),f<e?window.requestAnimationFrame(jn):void 0===i||l||(i(),rn({F:!1}),l=!0)}else l||c||(i(),rn({F:!1}),l=!0)},window.requestAnimationFrame(jn)}function Hn(n){return n.hasAttribute("data-autoplay")||n.hasAttribute("autoplay")}function Cn(n){var t=yn(n);Oe("video, audio",t).forEach((function(n){Hn(n)&&"function"==typeof n.play&&(n.readyState>=n.HAVE_FUTURE_DATA?n.play():n.addEventListener("canplay",(function t(){n.play(),n.removeEventListener("canplay",t)})))})),Oe('iframe[src*="youtube.com/embed/"]',t).forEach((function(n){Hn(n)&&Wn(n),n.onload=function(){Hn(n)&&Wn(n)}}))}function Wn(n){n.contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}',"*")}function Fn(n){var t=yn(n);Oe("video, audio",t).forEach((function(n){n.hasAttribute("data-keepplaying")||"function"!=typeof n.pause||n.pause()})),Oe('iframe[src*="youtube.com/embed/"]',t).forEach((function(n){/youtube\.com\/embed\//.test(ni(n,"src"))&&!n.hasAttribute("data-keepplaying")&&n.contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*")}))}function Vn(n){$().lazyLoading&&Oe("img[data-src], img[data-srcset], source[data-src], source[data-srcset], video[data-src], audio[data-src], iframe[data-src]",yn(n)).forEach((function(n){if(["src","srcset"].forEach((function(t){var e=ni(n,"data-"+t);null!=e&&e&&(wi(n,t),n.addEventListener("load",(function(){})))})),ui(n,"source")){var t=Ue(n,"video, audio");t&&(t.load(),t.onloadeddata=function(){})}}))}function Bn(n){var t=$().lazyLoadThreshold;Vn(n.item),t&&(Zn(n,"prev",t),Zn(n,"next",t))}function Zn(n,t,e){for(var i=n,r=0;r<e&&(i=i[t]());r++)Vn(i.item)}function Yn(){var n=on().D.item,t=on().D.activeSlide,e=Gn(n),i=String(e);t&&(i=i+"-"+Gn(t.item)),i=i.replace("/","-").replace("#","").replace(/\s/g,"");var r=new RegExp("\\b\\s?fp-viewing-[^\\s]+\\b","g");zn.className=zn.className.replace(r,""),Fe(zn,"fp-viewing-"+i)}function Gn(n){if(!n)return null;var t=ni(n,"data-anchor"),e=Ie(n);return null==t&&(t=e),t}function Xn(n,t,e){var i="";$().anchors.length&&!$().lockAnchors&&(n?(null!=e&&(i=e),null==t&&(t=n),rn({W:t}),Un(i+"/"+t)):null!=n?(rn({W:t}),Un(e)):Un(e)),Yn()}function Un(n){if($().recordHistory)location.hash=n;else if(l||s)a.history.replaceState(void 0,void 0,"#"+n);else{var t=a.location.href.split("#")[0];a.location.replace(t+"#"+n)}}function _n(n){return _n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},_n(n)}var Qn={an:{},un:function(n,t){var e=this;return"object"!==_n(this.an[n])&&(this.an[n]=[]),this.an[n].push(t),function(){return e.removeListener(n,t)}},removeListener:function(n,t){if("object"===_n(this.an[n])){var e=this.an[n].indexOf(t);e>-1&&this.an[n].splice(e,1)}},ln:function(n){for(var t=this,e=arguments.length,i=new Array(e>1?e-1:0),r=1;r<e;r++)i[r-1]=arguments[r];"object"===_n(this.an[n])&&this.an[n].forEach((function(n){return n.apply(t,i)}))},once:function(n,t){var e=this,i=this.un(n,(function(){i();for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];t.apply(e,r)}))}};function Jn(n,t,e){var i="Section"===t?$().anchors[n]:ni(e,"data-anchor");return encodeURI($().navigationTooltips[n]||i||t+" "+(n+1))}var Kn="onAfterRenderNoAnchor",$n="onClickOrTouch",qn="moveSlideLeft",nt="moveSlideRight",tt="onInitialise",et="beforeInit",it="bindEvents",rt="onDestroy",ot="contentChanged",at="onScrollOverflowScrolled",ut="onScrollPageAndSlide",lt="onKeyDown",ct="onMenuClick",st="scrollPage",ft="landscapeScroll",dt="scrollBeyondFullpage",vt="onPerformMovement",pt="onSlideLeave",ht="onLeave",gt="afterSectionLoads",mt="afterSlideLoads";function wt(n){n.cancelable&&qe(n),rn({L:"horizontalNav"});var t=Ue(this,x),e=Oe(j,Ue(this,x))[0],i=mn(on().R,t).slides[Ie(Ue(this,"li"))];Qn.ln(ft,{slides:e,destination:i.item})}function bt(n,t){$().slidesNavigation&&null!=n&&(Ve(Oe(M,n),y),Fe(Oe("a",Oe("li",n)[t]),y))}var St,yt={};function Mt(n,t,e){"all"!==t?yt[e][t]=n:Object.keys(yt[e]).forEach((function(t){yt[e][t]=n}))}function Tt(){return yt}function At(){var n=Ue(this,x);Ue(this,Z)?Tt().m.left&&(rn({L:"slideArrow"}),Qn.ln(qn,{section:n})):Tt().m.right&&(rn({L:"slideArrow"}),Qn.ln(nt,{section:n}))}function xt(n){!$().loopHorizontal&&$().controlArrows&&(li(Oe(Y,n.section),0!==n.slideIndex),li(Oe(G,n.section),null!=ze(n.destiny)))}function Ot(){clearTimeout(St),rn({I:!1})}function kt(n,t,e){var i=Ue(n,x),r=on().R.filter((function(n){return n.item==i}))[0],o=r.slides.filter((function(n){return n.item==t}))[0],a={slides:n,destiny:t,direction:e,destinyPos:{left:t.offsetLeft},slideIndex:o.index(),section:i,sectionIndex:r.index(),anchorLink:r.anchor,slidesNav:Oe(W,i)[0],slideAnchor:o.anchor,prevSlide:r.activeSlide.item,prevSlideIndex:r.activeSlide.index(),items:{section:r,origin:r.activeSlide,destination:o},localIsResizing:en.P};a.xMovement=Rt(a.prevSlideIndex,a.slideIndex),a.direction=a.direction?a.direction:a.xMovement,a.localIsResizing||rn({canScroll:!1}),ln("parallax","applyHorizontal",a),ln("cards","apply",a),ln("dropEffect","apply",a),ln("waterEffect","apply",a),$().onSlideLeave&&!a.localIsResizing&&"none"!==a.xMovement&&oi($().onSlideLeave)&&!1===Zt("onSlideLeave",a)?rn({I:!1}):(un("dropEffect")&&$().dropEffect||(Fe(t,y),Ve($e(t),y)),It(),a.localIsResizing||(Fn(a.prevSlide),Bn(o)),xt(a),r.isActive&&!a.localIsResizing&&Xn(a.slideIndex,a.slideAnchor,a.anchorLink),ln("continuousHorizontal","apply",a),Qn.ln(pt,a),sn()?Lt(a):Et(n,a,!0),$().interlockedSlides&&d.interlockedSlides&&(un("continuousHorizontal")&&void 0!==e&&e!==a.xMovement||ln("interlockedSlides","apply",a)))}function Et(n,t,e){var i=t.destinyPos;if(bt(t.slidesNav,t.slideIndex),rn({scrollX:Math.round(i.left)}),$().css3){var r="translate3d(-"+Math.round(i.left)+"px, 0px, 0px)";d.test.cn[t.sectionIndex]=r,un("dragAndMove")&&void 0!==t.sn||xn(Oe(N,n)),Le(Oe(N,n),En(r)),un("interlockedSlides")||clearTimeout(St),St=setTimeout((function(){e&&Lt(t)}),$().scrollingSpeed)}else d.test.left[t.sectionIndex]=Math.round(i.left),Pn(n,Math.round(i.left),$().scrollingSpeed,(function(){e&&Lt(t)}))}function Rt(n,t){return n==t?"none":n>t?"left":"right"}function Dt(){clearTimeout(St)}function Lt(n){ln("continuousHorizontal","afterSlideLoads",n),ln("dragAndMove","afterSlideLoads",n),n.localIsResizing||(ln("parallax","afterSlideLoads"),ln("scrollOverflowReset","setPrevious",n.prevSlide),ln("scrollOverflowReset","reset"),oi($().afterSlideLoad)&&Zt("afterSlideLoad",n),rn({canScroll:!0}),Cn(n.destiny),Qn.ln(mt,n)),rn({I:!1}),ln("interlockedSlides","interlockedSlides",n)}function jt(n,t){Ln(0,"internal"),void 0!==t&&rn({P:!0}),kt(Ue(n,j),n),void 0!==t&&rn({P:!1}),Ln(q().scrollingSpeed,"internal")}yt.m={up:!0,down:!0,left:!0,right:!0},yt.k=ke({},yt.m),Qn.un($n,(function(n){var t=n.target;(ui(t,B)||Ue(t,B))&&At.call(t,n)})),d.landscapeScroll=kt,Qn.un(it,(function(){Qn.un(vt,Ot)}));var zt=null,Nt=null;function It(){en.D=null,en.R.map((function(n){var t=Ee(n.item,y);n.isActive=t,n.q=Me.q(n.item),t&&(en.D=n),n.slides.length&&(n.activeSlide=null,n.slides.map((function(t){var e=Ee(t.item,y);t.q=Me.q(n.item),t.isActive=e,e&&(n.activeSlide=t)})))})),function(){var n=en.D,t=!!en.D&&en.D.slides.length,e=en.D?en.D.activeSlide:null;if(!n&&en.R.length&&!on().j){if(zt){var i=Ct(zt,en.R);i&&(en.D=i,en.D.isActive=!0,Fe(en.D.item,y)),en.D&&Dn(en.D.item.offsetTop)}if(t&&!e&&Nt){var r=Ct(Nt,en.D.slides);r&&(en.D.activeSlide=r,en.D.activeSlide.isActive=!0,Fe(en.D.activeSlide.item,y)),en.D.activeSlide&&jt(en.D.activeSlide.item,"internal")}}}(),ai(K(),"onUpdateStateDone")}function Pt(){var n=Oe($().sectionSelector+", "+x,K()),t=xe(n),e=Array.from(n).map((function(n){return new Wt(n)})),i=e.filter((function(n){return n.isVisible})),r=i.reduce((function(n,t){return n.concat(t.slides)}),[]);zt=Ht(en.D),Nt=Ht(en.D?en.D.activeSlide:null),en.A=t.length,en.O=i.reduce((function(n,t){return n+t.slides.length}),0),en.R=i,en.tn=e,en.slides=r,en.rn=en.R.concat(en.slides)}function Ht(n){if(!n)return null;var t=n?n.item:null,e=n.nn?en.tn:en.D.dn;if(t){var i=mn(e,t);return i?i.index():null}return null}function Ct(n,t){var e,i=n-1,r=n;do{if(e=t[i]||t[r])break;i-=1,r+=1}while(i>=0||r<t.length);return e}var Wt=function(n){var t=this;[].push.call(arguments,$().sectionSelector),hn.apply(this,arguments),this.vn=Oe($().slideSelector,n),this.dn=Array.from(this.vn).map((function(n){return new Ft(n,t)})),this.slides=this.dn.filter((function(n){return n.isVisible})),this.activeSlide=this.slides.length?this.slides.filter((function(n){return n.isActive}))[0]||this.slides[0]:null};Wt.prototype=hn.prototype,Wt.prototype.constructor=Wt;var Ft=function(n,t){this.parent=t,hn.call(this,n,$().slideSelector)};function Vt(n){return n&&!n.item?new bn(new Wt(n)):n?new bn(n):null}function Bt(n){return n?new Sn(n):null}function Zt(n,t){var e=function(n,t){var e={afterRender:function(){return{section:Vt(on().D),pn:Bt(on().D.activeSlide)}},onLeave:function(){return{origin:Vt(t.items.origin),destination:Vt(t.items.destination),direction:t.direction,trigger:on().L}},afterLoad:function(){return e.onLeave()},afterSlideLoad:function(){return{section:Vt(t.items.section),origin:Vt(t.items.origin),destination:Vt(t.items.destination),direction:t.direction,trigger:on().L}},onSlideLeave:function(){return e.afterSlideLoad()},beforeLeave:function(){return e.onLeave()},onScrollOverflow:function(){return{section:Vt(on().D),pn:Bt(on().D.activeSlide),position:t.position,direction:t.direction}}};return e[n]()}(n,t);return ai(K(),n,e),!1!==$()[n].apply(e[Object.keys(e)[0]],hi(e))}function Yt(n,t){nn("recordHistory",n,t)}function Gt(n,t){n||Dn(0),nn("autoScrolling",n,t);var e=on().D.item;if($().autoScrolling&&!$().scrollBar)Le(In,{overflow:"hidden",height:"100%"}),Ve(zn,g),Yt(q().recordHistory,"internal"),Le(K(),{"-ms-touch-action":"none","touch-action":"none"}),null!=e&&Dn(e.offsetTop);else if(Le(In,{overflow:"visible",height:"initial"}),Fe(zn,g),Yt(!!$().autoScrolling&&q().recordHistory,"internal"),Le(K(),{"-ms-touch-action":"","touch-action":""}),kn(K()),null!=e){var i=Tn(e.offsetTop);i.element.scrollTo(0,i.options)}ai(K(),"setAutoScrolling",n)}function Xt(){for(var n=Oe(D),t=0;t<n.length;t++)jt(n[t],"internal")}function Ut(){var n=Oe(".fp-auto-height")[0]||ve()&&Oe(".fp-auto-height-responsive")[0];$().lazyLoading&&n&&Oe(".fp-section:not(.active)").forEach((function(n){var t,e,i,r,o;e=(t=n.getBoundingClientRect()).top,i=t.bottom,r=e+2<en.U&&e>0,o=i>2&&i<en.U,(r||o)&&Bn(mn(on().R,n))}))}function _t(){ai(je(this),"click")}function Qt(){si(Oe(k));var n=u.createElement("div");n.setAttribute("id","fp-nav");var t=u.createElement("ul");n.appendChild(t),Be(n,zn);var e=Oe(k)[0];Fe(e,"fp-"+$().navigationPosition),$().showActiveTooltip&&Fe(e,"fp-show-active");for(var i="",r=0;r<on().R.length;r++){var o=on().R[r],a="";$().anchors.length&&(a=o.anchor),i+='<li><a href="#'+encodeURI(a)+'"><span class="fp-sr-only">'+Jn(o.index(),"Section")+"</span><span></span></a>";var l=$().navigationTooltips[o.index()];void 0!==l&&""!==l&&(i+='<div class="fp-tooltip fp-'+$().navigationPosition+'">'+l+"</div>"),i+="</li>"}Oe("ul",e)[0].innerHTML=i;var c=Oe("li",Oe(k)[0])[on().D.index()];Fe(Oe("a",c),y)}function Jt(n){n.preventDefault&&qe(n),rn({L:"verticalNav"});var t=Ie(Ue(this,"#fp-nav li"));Qn.ln(st,{destination:on().R[t]})}function Kt(n,t){var e;e=n,$().menu&&$().menu.length&&Oe($().menu).forEach((function(n){null!=n&&(Ve(Oe(M,n),y),Fe(Oe('[data-menuanchor="'+e+'"]',n),y))})),function(n,t){var e=Oe(k)[0];$().navigation&&null!=e&&"none"!==e.style.display&&(Ve(Oe(M,e),y),Fe(n?Oe('a[href="#'+n+'"]',e):Oe("a",Oe("li",e)[t]),y))}(n,t)}Ft.prototype=hn.prototype,Ft.prototype.constructor=Wt,d.setRecordHistory=Yt,d.setAutoScrolling=Gt,d.test.setAutoScrolling=Gt,(new Date).getTime();var $t,qt,ne,te,ee,ie,re=(qt=!0,ne=(new Date).getTime(),te=!a.fullpage_api,function(n,t){var e=(new Date).getTime(),i="wheel"===n?$().scrollingSpeed:100;return qt=te||e-ne>=i,te=!a.fullpage_api,qt&&($t=t(),ne=e),void 0===$t||$t});function oe(n,t){if(oi($().beforeLeave))return re(on().L,(function(){return Zt(n,t)}))}function ae(n,t,e){var i=n.item;if(null!=i){var r,o,a={element:i,callback:t,isMovementUp:e,dtop:ue(i),yMovement:On(on().D,i),anchorLink:n.anchor,sectionIndex:n.index(),activeSlide:n.activeSlide?n.activeSlide.item:null,leavingSection:on().D.index()+1,localIsResizing:en.P,items:{origin:on().D,destination:n},direction:null};if(!(on().D.item==i&&!en.P||$().scrollBar&&Ke()===a.dtop&&!Ee(i,"fp-auto-height"))){if(null!=a.activeSlide&&(r=ni(a.activeSlide,"data-anchor"),o=Ie(a.activeSlide,null)),!a.localIsResizing){var u=a.yMovement;if(void 0!==e&&(u=e?"up":"down"),a.direction=u,an("dropEffect")&&d.dropEffect.onLeave_(a),an("waterEffect")&&d.waterEffect.onLeave_(a),oi($().beforeLeave)&&!1===oe("beforeLeave",a))return;if(oi($().onLeave)&&!Zt("onLeave",a))return}ln("parallax","apply",a),ln("cards","apply",a),ln("dropEffect","apply",a),ln("waterEffect","apply",a),$().autoScrolling&&$().continuousVertical&&void 0!==a.isMovementUp&&(!a.isMovementUp&&"up"==a.yMovement||a.isMovementUp&&"down"==a.yMovement)&&(a=function(n){rn({_:!0});var t=on().D.item;return n.isMovementUp?Qe(t,vi(t,x)):_e(t,pi(t,x).reverse()),Dn(on().D.item.offsetTop),Xt(),n.hn=t,n.dtop=n.element.offsetTop,n.yMovement=On(on().D,n.element),n.leavingSection=n.items.origin.index()+1,n.sectionIndex=n.items.destination.index(),ai(K(),"onContinuousVertical",n),n}(a)),ln("scrollOverflowReset","setPrevious",on().D.item),a.localIsResizing||Fn(on().D.item),un("dropEffect")&&$().dropEffect||(Fe(i,y),Ve($e(i),y)),It(),Bn(n),rn({canScroll:d.test.gn}),Xn(o,r,a.anchorLink),Qn.ln(ht,a),function(n){rn({V:"none",scrollY:Math.round(n.dtop)}),Qn.ln(vt,n);var t=$().scrollingSpeed<700,e=t?700:$().scrollingSpeed;if($().css3&&$().autoScrolling&&!$().scrollBar)Rn("translate3d(0px, -"+Math.round(n.dtop)+"px, 0px)",!0),un("waterEffect")&&Xt(),$().scrollingSpeed?(clearTimeout(ee),ee=setTimeout((function(){le(n),rn({canScroll:!t||d.test.gn})}),$().scrollingSpeed)):le(n);else{var i=Tn(n.dtop);d.test.top=-n.dtop+"px",clearTimeout(ee),Pn(i.element,i.options,$().scrollingSpeed,(function(){$().scrollBar?ee=setTimeout((function(){le(n)}),30):(le(n),rn({canScroll:!t||d.test.gn}))}))}t&&(clearTimeout(ie),ie=setTimeout((function(){rn({canScroll:!0})}),e))}(a),rn({C:a.anchorLink}),Kt(a.anchorLink,function(n){return null!=n.hn?n.isMovementUp?en.A-1:0:n.sectionIndex}(a))}}}function ue(n){var t=n.offsetHeight,e=n.offsetTop,i=e,r=un("dragAndMove")&&ln("dragAndMove","isGrabbing")?ln("dragAndMove","isScrollingDown"):e>en.X,o=i-Re()+t,a=$().bigSectionsDestination;return t>Re()?(r||a)&&"bottom"!==a||(i=o):(r||en.P&&null==ze(n))&&(i=o),un("offsetSections")&&(i=d.offsetSections.getSectionPosition_(r,i,n)),rn({X:i}),i}function le(n){rn({j:!1}),function(n){null!=n.hn&&(n.isMovementUp?Qe(Oe(x)[0],n.hn):_e(Oe(x)[on().R.length-1],n.hn),Dn(on().D.item.offsetTop),function(){for(var n=Oe(D),t=0;t<n.length;t++)jt(n[t],"internal")}(),n.sectionIndex=n.items.destination.index(),n.leavingSection=n.items.origin.index()+1,rn({_:!1}))}(n),oi($().afterLoad)&&!n.localIsResizing&&Zt("afterLoad",n),ln("parallax","afterLoad"),ln("waterEffect","afterLoad"),ln("dropEffect","afterLoad"),ln("scrollOverflowReset","reset"),ln("resetSliders","apply",n),It(),n.localIsResizing||Cn(n.element),Fe(n.element,T),Ve($e(n.element),T),Ut(),rn({canScroll:!0}),Qn.ln(gt,n),oi(n.callback)&&n.callback()}function ce(n,t){nn("fitToSection",n,t)}function se(){en.canScroll&&$().fitToSection&&(rn({P:!0}),ae(en.D),rn({P:!1}))}function fe(){var n=$().responsive||$().responsiveWidth,t=$().responsiveHeight,e=n&&a.innerWidth<n,i=t&&a.innerHeight<t;n&&t?de(e||i):n?de(e):t&&de(i)}function de(n){var t=ve();n?t||(Gt(!1,"internal"),ce(!1,"internal"),He(Oe(k)),Fe(zn,m),oi($().afterResponsive)&&$().afterResponsive.call(K(),n),ln("responsiveSlides","toSections"),ai(K(),"afterResponsive",n)):t&&(Gt(q().autoScrolling,"internal"),ce(q().autoScrolling,"internal"),Ce(Oe(k)),Ve(zn,m),oi($().afterResponsive)&&$().afterResponsive.call(K(),n),ln("responsiveSlides","toSlides"),ai(K(),"afterResponsive",n))}function ve(){return Ee(zn,m)}function pe(n){$().verticalCentered&&(!$().scrollOverflow&&Me.mn(n.item)||Me.wn(n)||Ee(n.item,I)||Fe(n.item,I))}d.moveTo=moveTo,d.getScrollY=function(){return en.scrollY},Qn.un(rt,(function(){clearTimeout(ee),clearTimeout(ie)})),d.setFitToSection=ce,d.fitToSection=se,d.setResponsive=de;var he,ge=null;function me(n){var t=n.item,e=n.vn.length,i=n.index();!on().D&&n.isVisible&&(Fe(t,y),It()),!ge&&n.isVisible&&(ge=on().D.item),un("offsetSections")&&Le(t,{height:fn(t)}),$().paddingTop&&Le(t,{"padding-top":$().paddingTop}),$().paddingBottom&&Le(t,{"padding-bottom":$().paddingBottom}),void 0!==$().sectionsColor[i]&&Le(t,{"background-color":$().sectionsColor[i]}),void 0!==$().anchors[i]&&t.setAttribute("data-anchor",n.anchor),e||pe(n)}function we(){$().scrollOverflow&&!$().scrollBar&&(Me.bn(),Me.Sn())}function be(){Qn.removeListener(Kn,we),ii("keyup",Me.yn)}d.getActiveSection=function(){return on().D},Qn.un(it,(function(){Qn.un(Kn,we),Qn.un(ht,Me.onLeave),Qn.un(pt,Me.onLeave),Qn.un(mt,Me.afterLoad),Qn.un(gt,Me.afterLoad),Qn.un(rt,be),ti("keyup",Me.yn)}));var Se,ye,Me={Mn:null,Tn:!0,An:!0,xn:null,On:null,kn:function(n){var t=on().D;if(!en.canScroll||v()&&$().scrollOverflow&&Me.wn(t)&&Me.isScrolled(on().B,t.item))return qe(n),!1},En:function(n){if(!Si()&&$().keyboardScrolling&&[38,33,32,40,34,36,35].indexOf(n.keyCode)>-1&&!Me.An)return qe(n),!1},yn:function(){Me.Tn=en.canScroll},onLeave:function(){clearTimeout(he),Me.An=!1},afterLoad:function(){Me.An=!1,clearTimeout(he),he=setTimeout((function(){Me.Tn=en.canScroll}),200)},Rn:function(){u.activeElement===this.Mn&&(this.Mn.blur(),Me.An=!1)},Sn:function(){if($().scrollOverflow&&Me.Tn){Me.Rn();var n=Me.Dn(on().D.item);!n||l||s||(this.Mn=n,requestAnimationFrame((function(){n.focus({Ln:!0}),Me.An=!0}))),Me.Tn=!1}},bn:function(){$().scrollOverflowMacStyle&&!c&&Fe(zn,"fp-scroll-mac"),on().rn.forEach((function(n){if(!(n.slides&&n.slides.length||Ee(n.item,"fp-auto-height-responsive")&&ve())){var t,e=yn(n.item),i=Me.mn(n.item),o=(t=n).nn?t:t.parent;if(f){var a=i?"addClass":"removeClass";r[a](o.item,C),r[a](n.item,C)}else Fe(o.item,C),Fe(n.item,C);n.q||(Me.jn(e),Me.zn(e)),n.q=!0}}))},zn:function(n){Me.Dn(n).addEventListener("scroll",Me.Nn),n.addEventListener("wheel",Me.kn,{passive:!1}),n.addEventListener("keydown",Me.En,{passive:!1})},jn:function(n){var t=document.createElement("div");t.className=P,Ge(n,t),t.setAttribute("tabindex","-1")},In:function(n){var t=Oe(H,n)[0];t&&(Xe(t),n.removeAttribute("tabindex"))},Dn:function(n){var t=yn(n);return Oe(H,t)[0]||t},q:function(n){return Ee(n,P)||null!=Oe(H,n)[0]},wn:function(n){return n.nn&&n.activeSlide?n.activeSlide.q:n.q},mn:function(n){return Me.Dn(n).scrollHeight>a.innerHeight},isScrolled:function(n,t){if(!en.canScroll)return!1;if($().scrollBar)return!0;var e=Me.Dn(t);if(!$().scrollOverflow||!Ee(e,P)||Ee(t,"fp-noscroll")||Ee(yn(t),"fp-noscroll"))return!0;var i=f?1:0,r=e.scrollTop,o="up"===n&&r<=0,a="down"===n&&e.scrollHeight<=Math.ceil(e.offsetHeight+r)+i,u=o||a;return u||"none"===n||(this.xn=(new Date).getTime()),u},Pn:function(){this.On=(new Date).getTime();var n=this.On-Me.xn,t=(l||s)&&en.Z,e=en.Y&&n>600;return t&&n>400||e},Nn:(Se=0,function(n){var t=n.target.scrollTop,e="none"!==en.V?en.V:Se<t?"down":"up";Se=t,oi($().onScrollOverflow)&&Zt("onScrollOverflow",{position:t,direction:e}),Ee(n.target,P)&&en.canScroll&&Me.isScrolled(e,n.target)&&Me.Pn()&&Me.mn(on().D.item)&&Qn.ln(at,{direction:e})})};function Te(n,t){a.console&&a.console[n]&&a.console[n]("fullPage: "+t)}function Ae(n){return"none"!==a.getComputedStyle(n).display}function xe(n){return Array.from(n).filter((function(n){return Ae(n)}))}function Oe(n,t){return(t=arguments.length>1?t:document)?t.querySelectorAll(n):null}function ke(n){n=n||{};for(var t=1,e=arguments.length;t<e;++t){var i=arguments[t];if(i)for(var r in i)i.hasOwnProperty(r)&&"__proto__"!=r&&"constructor"!=r&&("[object Object]"!==Object.prototype.toString.call(i[r])?n[r]=i[r]:n[r]=ke(n[r],i[r]))}return n}function Ee(n,t){return null!=n&&n.classList.contains(t)}function Re(){return"innerHeight"in a?a.innerHeight:u.documentElement.offsetHeight}function De(){return a.innerWidth}function Le(n,t){var e;for(e in n=Pe(n),t)if(t.hasOwnProperty(e)&&null!==e)for(var i=0;i<n.length;i++)n[i].style[e]=t[e];return n}function je(n,t){if(!n)return null;if(null==t)return n.previousElementSibling;var e=je(n);return e&&ui(e,t)?e:null}function ze(n,t){if(!n)return null;if(null==t)return n.nextElementSibling;var e=ze(n);return e&&ui(e,t)?e:null}function Ne(n){return n[n.length-1]}function Ie(n,t){n=We(n)?n[0]:n;for(var e=null!=t?Oe(t,n.parentNode):n.parentNode.childNodes,i=0,r=0;r<e.length;r++){if(e[r]==n)return i;1==e[r].nodeType&&i++}return-1}function Pe(n){return We(n)?n:[n]}function He(n){n=Pe(n);for(var t=0;t<n.length;t++)n[t].style.display="none";return n}function Ce(n){n=Pe(n);for(var t=0;t<n.length;t++)n[t].style.display="block";return n}function We(n){return"[object Array]"===Object.prototype.toString.call(n)||"[object NodeList]"===Object.prototype.toString.call(n)}function Fe(n,t){n=Pe(n);for(var e=0;e<n.length;e++)n[e].classList.add(t);return n}function Ve(n,t){n=Pe(n);for(var e=t.split(" "),i=0;i<e.length;i++){t=e[i];for(var r=0;r<n.length;r++)n[r].classList.remove(t)}return n}function Be(n,t){t.appendChild(n)}function Ze(n,t,e){var i;t=t||u.createElement("div");for(var r=0;r<n.length;r++){var o=n[r];(e&&!r||!e)&&(i=t.cloneNode(!0),o.parentNode.insertBefore(i,o)),i.appendChild(o)}return n}function Ye(n,t){Ze(n,t,!0)}function Ge(n,t){for("string"==typeof t&&(t=ci(t)),n.appendChild(t);n.firstChild!==t;)t.appendChild(n.firstChild)}function Xe(n){for(var t=u.createDocumentFragment();n.firstChild;)t.appendChild(n.firstChild);n.parentNode.replaceChild(t,n)}function Ue(n,t){return n&&1===n.nodeType?ui(n,t)?n:Ue(n.parentNode,t):null}function _e(n,t){Je(n,n.nextSibling,t)}function Qe(n,t){Je(n,n,t)}function Je(n,t,e){We(e)||("string"==typeof e&&(e=ci(e)),e=[e]);for(var i=0;i<e.length;i++)n.parentNode.insertBefore(e[i],t)}function Ke(){var n=u.documentElement;return(a.pageYOffset||n.scrollTop)-(n.clientTop||0)}function $e(n){return Array.prototype.filter.call(n.parentNode.children,(function(t){return t!==n}))}function qe(n){n.preventDefault()}function ni(n,t){return n.getAttribute(t)}function ti(n,t,e){u.addEventListener(n,t,"undefined"===e?null:e)}function ei(n,t,e){a.addEventListener(n,t,"undefined"===e?null:e)}function ii(n,t,e){u.removeEventListener(n,t,"undefined"===e?null:e)}function ri(n,t,e){a.removeEventListener(n,t,"undefined"===e?null:e)}function oi(n){if("function"==typeof n)return!0;var t=Object.prototype.toString.call(n);return"[object Function]"===t||"[object GeneratorFunction]"===t}function ai(n,t,e){var i;e=void 0===e?{}:e,"function"==typeof a.CustomEvent?i=new CustomEvent(t,{detail:e}):(i=u.createEvent("CustomEvent")).initCustomEvent(t,!0,!0,e),n.dispatchEvent(i)}function ui(n,t){return(n.matches||n.Hn||n.msMatchesSelector||n.mozMatchesSelector||n.webkitMatchesSelector||n.oMatchesSelector).call(n,t)}function li(n,t){if("boolean"==typeof t)for(var e=0;e<n.length;e++)n[e].style.display=t?"block":"none";return n}function ci(n){var t=u.createElement("div");return t.innerHTML=n.trim(),t.firstChild}function si(n){n=Pe(n);for(var t=0;t<n.length;t++){var e=n[t];e&&e.parentElement&&e.parentNode.removeChild(e)}}function fi(n,t){Array.prototype.filter.call(n,t)}function di(n,t,e){for(var i=n[e],r=[];i;)(ui(i,t)||null==t)&&r.push(i),i=i[e];return r}function vi(n,t){return di(n,t,"nextElementSibling")}function pi(n,t){return di(n,t,"previousElementSibling")}function hi(n){return Object.keys(n).map((function(t){return n[t]}))}function gi(n){return n[n.length-1]}function mi(n,t){for(var e=0,i=n.slice(Math.max(n.length-t,1)),r=0;r<i.length;r++)e+=i[r];return Math.ceil(e/t)}function wi(n,t){n.setAttribute(t,ni(n,"data-"+t)),n.removeAttribute("data-"+t)}function bi(n,t){var e=[n];do{n=n.parentNode,e.push(n)}while(!ui(n,t));return e}function Si(){var n=u.activeElement;return ui(n,"textarea")||ui(n,"input")||ui(n,"select")||"true"==ni(n,"contentEditable")||""==ni(n,"contentEditable")}function yi(n){Qn.ln($n,{e:n,target:n.target})}function Mi(){["click","touchstart"].forEach((function(n){ii(n,yi,{passive:!1})}))}function Ti(){rn({G:!0})}function Ai(){Fe(Oe($().sectionSelector,K()),A),Fe(Oe($().slideSelector,K()),E)}function xi(n){var t=n.slides.length,e=n.vn,i=n.slides,r=100*t,o=100/t;if(!Oe(j,n.item)[0]){var a=u.createElement("div");a.className=L,Ye(e,a);var l=u.createElement("div");l.className=z,Ye(e,l)}Le(Oe(N,n.item),{width:r+"%"}),t>1&&($().controlArrows&&function(n){var t=n.item,e=[ci($().controlArrowsHTML[0]),ci($().controlArrowsHTML[1])];_e(Oe(j,t)[0],e),Fe(e,V),Fe(e[0],Z),Fe(e[1],"fp-next"),"#fff"!==$().controlArrowColor&&(Le(Oe(G,t),{"border-color":"transparent transparent transparent "+$().controlArrowColor}),Le(Oe(Y,t),{"border-color":"transparent "+$().controlArrowColor+" transparent transparent"})),$().loopHorizontal||He(Oe(Y,t))}(n),$().slidesNavigation&&function(n){var t=n.item,e=n.slides.length;Be(ci('<div class="fp-slidesNav"><ul></ul></div>'),t);var i=Oe(W,t)[0];Fe(i,"fp-"+$().slidesNavPosition);for(var r=0;r<e;r++)Be(ci('<li><a href="#"><span class="fp-sr-only">'+Jn(r,"Slide",Oe(R,t)[r])+"</span><span></span></a></li>"),Oe("ul",i)[0]);Le(i,{"margin-left":"-"+i.innerWidth/2+"px"});var o=n.activeSlide?n.activeSlide.index():0;Fe(Oe("a",Oe("li",i)[o]),y)}(n)),i.forEach((function(n){Le(n.item,{width:o+"%"}),$().verticalCentered&&pe(n)}));var c=un("responsiveSlides")?null:n.activeSlide||null;null!=c&&en.D&&(0!==en.D.index()||0===en.D.index()&&0!==c.index())?(jt(c.item,"internal"),Fe(c.item,"fp-initial")):Fe(e[0],y)}window.fp_utils=Object.assign(a.fp_utils||{},{$:Oe,deepExtend:ke,hasClass:Ee,getWindowHeight:Re,css:Le,prev:je,next:ze,last:Ne,index:Ie,getList:Pe,hide:He,show:Ce,isArrayOrList:We,addClass:Fe,removeClass:Ve,appendTo:Be,wrap:Ze,wrapAll:Ye,wrapInner:Ge,unwrap:Xe,closest:Ue,after:_e,before:Qe,insertBefore:Je,getScrollTop:Ke,siblings:$e,preventDefault:qe,isFunction:oi,trigger:ai,matches:ui,toggle:li,createElementFromHTML:ci,remove:si,filter:fi,untilAll:di,nextAll:vi,prevAll:pi,showError:Te,scrollOverflowHandler:Me}),Qn.un(it,(function(){["click","touchstart"].forEach((function(n){ti(n,yi,{passive:!1})})),ei("focus",Ti),Qn.un(rt,Mi)}));var Oi={attributes:!1,subtree:!0,childList:!0,characterData:!0};function ki(){return ln("responsiveSlides","isResponsiveSlidesChanging")||xe(Oe($().slideSelector,K())).length!==on().O}function Ei(n){var t=ki();(ki()||ln("responsiveSlides","isResponsiveSlidesChanging")||xe(Oe($().sectionSelector,K())).length!==on().A)&&!en._&&($().observer&&ye&&ye.disconnect(),Pt(),It(),$().anchors=[],si(Oe(k)),ln("responsiveSlides","isResponsiveSlidesChanging")||Ai(),tn(),$().navigation&&Qt(),t&&(si(Oe(W)),si(Oe(B))),on().R.forEach((function(n){n.slides.length?t&&xi(n):me(n)}))),$().observer&&ye&&Oe(h)[0]&&ye.observe(Oe(h)[0],Oi)}Qn.un(it,(function(){var n,t,e;$().observer&&"MutationObserver"in window&&Oe(h)[0]&&(n=Oe(h)[0],t=Oi,(e=new MutationObserver(Ei)).observe(n,t),ye=e),Qn.un(ot,Ei)})),d.render=Ei;var Ri=function(){var n=!1;try{var t=Object.defineProperty({},"passive",{get:function(){n=!0}});ei("testPassive",null,t),ri("testPassive",null,t)}catch(n){}return function(){return n}}();function Di(){return!!Ri()&&{passive:!1}}var Li,ji,zi,Ni,Ii=(zi=(new Date).getTime(),Ni=[],{Cn:function(n){var t=(n=n||a.event).wheelDelta||-n.deltaY||-n.detail,e=Math.max(-1,Math.min(1,t)),i=void 0!==n.wheelDeltaX||void 0!==n.deltaX;Li=Math.abs(n.wheelDeltaX)<Math.abs(n.wheelDelta)||Math.abs(n.deltaX)<Math.abs(n.deltaY)||!i;var r=(new Date).getTime();ji=e<0?"down":"up",Ni.length>149&&Ni.shift(),Ni.push(Math.abs(t));var o=r-zi;zi=r,o>200&&(Ni=[])},Wn:function(){var n=mi(Ni,10)>=mi(Ni,70);return!!Ni.length&&n&&Li},Fn:function(){return ji}});function Pi(){var n=$().css3?Ke()+Re():gi(on().R).item.offsetTop+gi(on().R).item.offsetHeight,t=Tn(n);d.test.top=-n+"px",rn({canScroll:!1}),Pn(t.element,t.options,$().scrollingSpeed,(function(){setTimeout((function(){rn({j:!0}),rn({canScroll:!0})}),30)}))}function Hi(){K().getBoundingClientRect().bottom>=0&&Ci()}function Ci(){var n=Tn(gi(on().R).item.offsetTop);rn({canScroll:!1}),Pn(n.element,n.options,$().scrollingSpeed,(function(){rn({canScroll:!0}),rn({j:!1}),rn({Vn:!1})}))}var Wi,Fi,Vi,Bi=(Wi=!1,Fi={},Vi={},function(n,t,e){switch(n){case"set":Fi[t]=(new Date).getTime(),Vi[t]=e;break;case"isNewKeyframe":var i=(new Date).getTime();Wi=i-Fi[t]>Vi[t]}return Wi});function Zi(){var n=on().D.next();n||!$().loopBottom&&!$().continuousVertical||(n=on().R[0]),null!=n?ae(n,null,!1):K().scrollHeight<zn.scrollHeight&&$().scrollBar&&$().scrollBeyondFullpage&&Qn.ln(dt)}function Yi(){var n=on().D.prev();n||!$().loopTop&&!$().continuousVertical||(n=gi(on().R)),null!=n&&ae(n,null,!0)}d.moveSectionDown=Zi,d.moveSectionUp=Yi;var Gi=0;function Xi(n){$().autoScrolling&&(en.canScroll&&(n.pageY<Gi&&Tt().m.up?Yi():n.pageY>Gi&&Tt().m.down&&Zi()),Gi=n.pageY)}function Ui(n){if(Tt().m[n]){var t="down"===n?Zi:Yi;un("scrollHorizontally")&&(t=ln("scrollHorizontally","getScrollSection",{type:n,scrollSection:t})),$().scrollOverflow&&Me.wn(on().D)?Me.isScrolled(n,on().D.item)&&Me.Pn()&&t():t()}}var _i,Qi,Ji,Ki=0,$i=0,qi=0,nr=0,tr=lr(),er={Bn:"ontouchmove"in window?"touchmove":tr?tr.move:null,Zn:"ontouchstart"in window?"touchstart":tr?tr.down:null};function ir(n){var t=Ue(n.target,x)||on().D.item,e=Me.wn(on().D);if(rr(n)){rn({Z:!0,Y:!1}),$().autoScrolling&&(e&&!en.canScroll||$().scrollBar)&&qe(n);var i=ur(n);qi=i.y,nr=i.x;var r=Math.abs(Ki-qi)>a.innerHeight/100*$().touchSensitivity,o=Math.abs($i-nr)>De()/100*$().touchSensitivity,u=Oe(j,t).length&&Math.abs($i-nr)>Math.abs(Ki-qi),l=Ki>qi?"down":"up";rn({V:u?$i>nr?"right":"left":l}),u?!en.I&&o&&($i>nr?Tt().m.right&&Qn.ln(nt,{section:t}):Tt().m.left&&Qn.ln(qn,{section:t})):$().autoScrolling&&en.canScroll&&r&&Ui(l)}}function rr(n){return void 0===n.pointerType||"mouse"!=n.pointerType}function or(n){if($().fitToSection&&rn({F:!1}),rr(n)){var t=ur(n);Ki=t.y,$i=t.x}ei("touchend",ar)}function ar(){ri("touchend",ar),rn({Z:!1})}function ur(n){var t={};return t.y=void 0!==n.pageY&&(n.pageY||n.pageX)?n.pageY:n.touches[0].pageY,t.x=void 0!==n.pageX&&(n.pageY||n.pageX)?n.pageX:n.touches[0].pageX,s&&rr(n)&&$().scrollBar&&void 0!==n.touches&&(t.y=n.touches[0].pageY,t.x=n.touches[0].pageX),t}function lr(){var n;return a.PointerEvent&&(n={down:"pointerdown",move:"pointermove"}),n}function cr(n){$().autoScrolling&&rr(n)&&Tt().m.up&&(en.canScroll||qe(n))}function sr(n,t){var e=null==t?on().D.item:t,i=mn(en.R,e),r=Oe(j,e)[0];if(!(null==r||cn()||en.I||i.slides.length<2)){var o=i.activeSlide,a="left"===n?o.prev():o.next();if(!a){if(!$().loopHorizontal)return;a="left"===n?gi(i.slides):i.slides[0]}rn({I:!d.test.gn}),kt(r,a.item,n)}}function fr(n){sr("left",n)}function dr(n){sr("right",n)}function vr(n){var t=on().R.filter((function(t){return t.anchor===n}))[0];if(!t){var e=void 0!==n?n-1:0;t=on().R[e]}return t}function pr(n){null!=n&&kt(Ue(n,j),n)}function hr(n,t){var e=vr(n);if(null!=e){var i=function(n,t){var e=t.slides.filter((function(t){return t.anchor===n}))[0];return null==e&&(n=void 0!==n?n:0,e=t.slides[n]),e?e.item:null}(t,e);e.anchor&&e.anchor===en.C||Ee(e.item,y)?pr(i):ae(e,(function(){pr(i)}))}}function gr(n,t){var e=vr(n);void 0!==t?hr(n,t):null!=e&&ae(e)}function mr(){clearTimeout(Qi),ii("keydown",wr),ii("keyup",br)}function wr(n){clearTimeout(Qi);var t=n.keyCode,e=[37,39].indexOf(t)>-1,i=$().autoScrolling||$().fitToSection||e;9===t?function(n){var t=n.shiftKey,e=u.activeElement,i=Ar(yn(on().D.item));function r(n){return qe(n),i[0]?i[0].focus():null}if(en.canScroll){if(!function(n){var t=Ar(u),e=t.indexOf(u.activeElement),i=t[n.shiftKey?e-1:e+1],r=Ue(i,R),o=Ue(i,x);return!r&&!o}(n)){e?null==Ue(e,".fp-section.active,.fp-section.active .fp-slide.active")&&(e=r(n)):r(n);var o=e==i[0],a=e==i[i.length-1],l=t&&o;if(l||!t&&a){qe(n);var c=function(n){var t,e=n?"prevPanel":"nextPanel",i=[],r=Mn((en.D&&en.D.activeSlide?en.D.activeSlide:en.D)[e]());do{(i=Ar(r.item)).length&&(t={Yn:r,Gn:i[n?i.length-1:0]}),r=Mn(r[e]())}while(r&&0===i.length);return t}(l),s=c?c.Yn:null;if(s){var f=s.nn?s:s.parent;Qn.ln(ut,{Xn:f.index()+1,slideAnchor:s.nn?0:s.index()}),Ji=c.Gn,qe(n)}}}}else qe(n)}(n):!Si()&&$().keyboardScrolling&&i&&(_i=n.ctrlKey,Qi=setTimeout((function(){!function(n){var t=n.shiftKey,e=u.activeElement,i=ui(e,"video")||ui(e,"audio"),r=Me.isScrolled("up",on().D.item),o=Me.isScrolled("down",on().D.item),a=[37,39].indexOf(n.keyCode)>-1;if(function(n){(function(n){return[40,38,32,33,34].indexOf(n.keyCode)>-1&&!en.j})(n)&&!Ue(n.target,H)&&n.preventDefault()}(n),en.canScroll||a)switch(rn({L:"keydown"}),n.keyCode){case 38:case 33:Tt().k.up&&r?en.j?Qn.ln(lt,{e:n}):Yi():Me.Sn();break;case 32:if(t&&Tt().k.up&&!i&&r){Yi();break}case 40:case 34:if(Tt().k.down&&o){if(en.j)return;32===n.keyCode&&i||Zi()}else Me.Sn();break;case 36:Tt().k.up&&gr(1);break;case 35:Tt().k.down&&gr(on().R.length);break;case 37:Tt().k.left&&fr();break;case 39:Tt().k.right&&dr()}}(n)}),0))}function br(n){en.G&&(_i=n.ctrlKey)}function Sr(){rn({G:!1}),_i=!1}function yr(n){Tr()}function Mr(n){Ue(Ji,R)&&!Ue(Ji,D)||Tr()}function Tr(){Ji&&(Ji.focus(),Ji=null)}function Ar(n){return[].slice.call(Oe('a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, [tabindex="0"], summary:not([disabled]), [contenteditable]',n)).filter((function(n){return"-1"!==ni(n,"tabindex")&&null!==n.offsetParent}))}d.moveSlideLeft=fr,d.moveSlideRight=dr,d.moveTo=gr,Qn.un(it,(function(){ei("blur",Sr),ti("keydown",wr),ti("keyup",br),Qn.un(rt,mr),Qn.un(mt,yr),Qn.un(gt,Mr)}));var xr=(new Date).getTime(),Or=[];function kr(n){n?(function(){var n,t="";a.addEventListener?n="addEventListener":(n="attachEvent",t="on");var e="onwheel"in u.createElement("div")?"wheel":void 0!==u.onmousewheel?"mousewheel":"DOMMouseScroll",i=Di();"DOMMouseScroll"==e?u[n](t+"MozMousePixelScroll",Er,i):u[n](t+e,Er,i)}(),K().addEventListener("mousedown",Rr),K().addEventListener("mouseup",Dr)):(u.addEventListener?(ii("mousewheel",Er,!1),ii("wheel",Er,!1),ii("MozMousePixelScroll",Er,!1)):u.detachEvent("onmousewheel",Er),K().removeEventListener("mousedown",Rr),K().removeEventListener("mouseup",Dr))}function Er(n){var t=(new Date).getTime(),e=Ee(Oe(".fp-completely")[0],"fp-normal-scroll"),i=function(n,t){(new Date).getTime();var e=on().j&&n.getBoundingClientRect().bottom>=0&&"up"===Ii.Fn(),i=on().Vn;if(i)return qe(t),!1;if(on().j){if(e){var r;if(!(i||Bi("isNewKeyframe","beyondFullpage")&&Ii.Wn()))return(r=Tn(gi(on().R).item.offsetTop+gi(on().R).item.offsetHeight)).element.scrollTo(0,r.options),rn({Vn:!1}),qe(t),!1;if(Ii.Wn())return e=!1,rn({Vn:!0}),rn({L:"wheel"}),Ci(),qe(t),!1}else Bi("set","beyondFullpage",1e3);if(!i&&!e)return!0}}(K(),n);if(en.Y||rn({Z:!1,Y:!0,V:"none"}),!Tt().m.down&&!Tt().m.up)return!1;if(i)return!0;if(!1===i)return qe(n),!1;if($().autoScrolling&&!_i&&!e){var r=(n=n||a.event).wheelDelta||-n.deltaY||-n.detail,o=Math.max(-1,Math.min(1,r)),u=void 0!==n.wheelDeltaX||void 0!==n.deltaX,l=Math.abs(n.wheelDeltaX)<Math.abs(n.wheelDelta)||Math.abs(n.deltaX)<Math.abs(n.deltaY)||!u,c=o<0?"down":o>0?"up":"none";Or.length>149&&Or.shift(),Or.push(Math.abs(r)),$().scrollBar&&qe(n);var s=t-xr;return xr=t,s>200&&(Or=[]),rn({B:c}),en.canScroll&&!cn()&&mi(Or,10)>=mi(Or,70)&&l&&(rn({L:"wheel"}),Ui(o<0?"down":"up")),!1}$().fitToSection&&rn({F:!1})}function Rr(n){var t;2==n.which&&(t=n.pageY,Gi=t,K().addEventListener("mousemove",Xi))}function Dr(n){2==n.which&&K().removeEventListener("mousemove",Xi)}function Lr(n){n?(kr(!0),function(){if(er.Bn&&(l||s)&&(!un("dragAndMove")||"mouseonly"===$().dragAndMove)){$().autoScrolling&&(zn.removeEventListener(er.Bn,cr,{passive:!1}),zn.addEventListener(er.Bn,cr,{passive:!1}));var n=$().touchWrapper;n.removeEventListener(er.Zn,or),n.removeEventListener(er.Bn,ir,{passive:!1}),n.addEventListener(er.Zn,or),n.addEventListener(er.Bn,ir,{passive:!1})}}()):(kr(!1),function(){if(er.Bn&&(l||s)){$().autoScrolling&&(zn.removeEventListener(er.Bn,ir,{passive:!1}),zn.removeEventListener(er.Bn,cr,{passive:!1}));var n=$().touchWrapper;n.removeEventListener(er.Zn,or),n.removeEventListener(er.Bn,ir,{passive:!1})}}())}d.setMouseWheelScrolling=kr;var jr=!0;function zr(){["mouseenter","touchstart","mouseleave","touchend"].forEach((function(n){ii(n,Ir,!0)}))}function Nr(n,t){document["fp_"+n]=t,ti(n,Ir,!0)}function Ir(n){var t=n.type,e=!1,i="mouseleave"===t?n.toElement||n.relatedTarget:n.target;i!=document&&i?("touchend"===t&&(jr=!1,setTimeout((function(){jr=!0}),800)),("mouseenter"!==t||jr)&&($().normalScrollElements.split(",").forEach((function(n){if(!e){var t=ui(i,n),r=Ue(i,n);(t||r)&&(d.shared.Un||Lr(!1),d.shared.Un=!0,e=!0)}})),!e&&d.shared.Un&&(Lr(!0),d.shared.Un=!1))):Lr(!0)}function Pr(n,t){Ln(0,"internal"),gr(n,t),Ln(q().scrollingSpeed,"internal")}Qn.un(it,(function(){$().normalScrollElements&&(["mouseenter","touchstart"].forEach((function(n){Nr(n,!1)})),["mouseleave","touchend"].forEach((function(n){Nr(n,!0)}))),Qn.un(rt,zr)})),d.silentMoveTo=Pr;var Hr,Cr,Wr=Re(),Fr=De(),Vr=!1;function Br(){clearTimeout(Hr),clearTimeout(Cr),ri("resize",Zr)}function Zr(){Vr||($().autoScrolling&&!$().scrollBar||!$().fitToSection)&&Gr(Re()),en.K&&function(){if(l)for(var n=0;n<4;n++)Cr=setTimeout((function(){window.requestAnimationFrame((function(){$().autoScrolling&&!$().scrollBar&&(rn({P:!0}),Pr(en.D.index()+1),rn({P:!1}))}))}),200*n)}(),Vr=!0,clearTimeout(Hr),Hr=setTimeout((function(){!function(){if(rn({P:!0}),Gr(""),ai(K(),"onResize"),$().autoScrolling||en.j||function(){if(!$().autoScrolling||$().scrollBar){var n=.01*a.innerHeight;u.documentElement.style.setProperty("--vh","".concat(n,"px"))}}(),Qn.ln(ot),It(),fe(),l){var n=u.activeElement;if(!ui(n,"textarea")&&!ui(n,"input")&&!ui(n,"select")){var t=Re();Math.abs(t-Wr)>20*Math.max(Wr,t)/100&&(Yr(!0),Wr=t)}}else e=Re(),i=De(),en.U===e&&Fr===i||(rn({U:e}),Fr=i,Yr(!0));var e,i;ai(K(),"onResizeEnds"),rn({P:!1})}(),Vr=!1}),400)}function Yr(n){if(!Ee(K(),b)){rn({P:!0,U:Re(),_n:De()});for(var t=on().R,e=0;e<t.length;++e){var i=t[e],r=Oe(j,i.item)[0],o=i.slides;un("offsetSections")&&Le(i.item,{height:fn(i.item)}),o.length>1&&kt(r,i.activeSlide.item)}$().scrollOverflow&&Me.bn();var u=on().D.index();en.j||!u||un("fadingEffect")||un("dropEffect")||un("waterEffect")||Pr(u+1),rn({P:!1}),oi($().afterResize)&&n&&$().afterResize.call(K(),a.innerWidth,a.innerHeight),oi($().afterReBuild)&&!n&&$().afterReBuild.call(K()),ai(K(),"afterRebuild")}}function Gr(n){on().R.forEach((function(t){var e=""!==n||un("offsetSections")?fn(t.item):"";Le(t.item,{height:e})}))}function Xr(){var n,t,e=a.location.hash;if(e.length){var i=e.replace("#","").split("/"),r=e.indexOf("#/")>-1;n=r?"/"+i[1]:decodeURIComponent(i[0]);var o=r?i[2]:i[1];o&&o.length&&(t=decodeURIComponent(o))}return{section:n,pn:t}}function Ur(){ri("hashchange",_r)}function _r(){if(!en.H&&!$().lockAnchors){var n=Xr(),t=n.section,e=n.pn,i=void 0===en.C,r=void 0===en.C&&void 0===e&&!en.I;t&&t.length&&(t&&t!==en.C&&!i||r&&!cn()||!en.I&&en.W!=e&&!cn())&&Qn.ln(ut,{Xn:t,slideAnchor:e})}}function Qr(n){var t=n.target;Ue(t,$().menu+" [data-menuanchor]")&&Jr.call(t,n.e)}function Jr(n){if(rn({L:"menu"}),Oe($().menu)[0]&&($().lockAnchors||!$().anchors.length)){qe(n);var t=Ue(this,"[data-menuanchor]");Qn.ln(ct,{anchor:ni(t,"data-menuanchor")})}}function Kr(n){var t=n.target;t&&Ue(t,"#fp-nav a")?Jt.call(t,n.e):ui(t,".fp-tooltip")?_t.call(t):(ui(t,F)||null!=Ue(t,F))&&wt.call(t,n.e)}d.reBuild=Yr,Qn.un(it,(function(){Zr(),ei("resize",Zr),Qn.un(rt,Br)})),d.setLockAnchors=function(n){$().lockAnchors=n},Qn.un(it,(function(){ei("hashchange",_r),Qn.un(rt,Ur)})),Qn.un(it,(function(){ti("wheel",Ii.Cn,Di()),Qn.un(dt,Pi),Qn.un(lt,Hi)})),Qn.un(it,(function(){Qn.un($n,Qr)})),Qn.un(it,(function(){Qn.un($n,Kr)}));var $r,qr,no=0;function to(n){var t,e,i,r,o;if(ai(K(),"onScroll"),!en.P&&on().D&&(gi(on().R),!on().j&&!on().Vn&&(!$().autoScrolling||$().scrollBar||un("dragAndMove"))&&!sn())){var a=un("dragAndMove")?Math.abs(ln("dragAndMove","getCurrentScroll")):Ke(),u=function(n){var t=n>no?"down":"up";return no=n,rn({X:n}),t}(a),l=0,c=a+Re()/2,s=(un("dragAndMove")?ln("dragAndMove","getDocumentHeight"):zn.scrollHeight-Re())===a,f=on().R;if(rn({scrollY:a}),s)l=f.length-1;else if(a)for(var d=0;d<f.length;++d)(Ue(f[d].item,x)||f[d].item).offsetTop<=c&&(l=d);else l=0;if(i=u,r=on().D.item.offsetTop,o=r+Re(),("up"==i?o>=Ke()+Re():r<=Ke())&&(Ee(on().D.item,T)||(Fe(on().D.item,T),Ve($e(on().D.item),T))),e=(t=f[l]).item,!t.isActive){rn({H:!0});var v,p,h=on().D.item,g=on().D.index()+1,m=On(on().D,e),w=t.anchor,b=t.index()+1,S=t.activeSlide,M={D:h,sectionIndex:b-1,anchorLink:w,element:e,leavingSection:g,direction:m,items:{origin:on().D,destination:t}};if(S&&(p=S.anchor,v=S.index()),en.canScroll)Ve(f.filter((function(n){return n.index()!==t.index()})).map((function(n){return n.item})),y),Fe(e,y),ln("parallax","afterLoad"),oi($().beforeLeave)&&oe("beforeLeave",M),oi($().onLeave)&&Zt("onLeave",M),oi($().afterLoad)&&Zt("afterLoad",M),ln("resetSliders","apply",{localIsResizing:en.P,leavingSection:g}),Fn(h),Bn(t),Cn(e),Kt(w,b-1),$().anchors.length&&rn({C:w}),It(),Xn(v,p,w);clearTimeout($r),$r=setTimeout((function(){rn({H:!1})}),100)}$().fitToSection&&en.canScroll&&(clearTimeout(qr),qr=setTimeout((function(){en.R.filter((function(n){var t=n.item.getBoundingClientRect();return Math.round(t.bottom)===Math.round(Re())||0===Math.round(t.top)})).length||se()}),$().fitToSectionDelay))}}function eo(n){var t=n.items.destination.activeSlide;rn({scrollX:t?Math.round(t.offsetLeft):0})}function io(n){var t=$().skipIntermediateItems,e=n.items.origin.nn?"sections":"slides",i=Math.abs(n.items.origin.index()-n.items.destination.index())>1;(!0===t||t===e)&&i&&Ln(0,"internal")}function ro(){$().skipIntermediateItems&&nn("scrollingSpeed",q().scrollingSpeed,"internal")}function oo(n,t){void 0!==t?(t=t.replace(/ /g,"").split(",")).forEach((function(t){Mt(n,t,"k")})):(Mt(n,"all","k"),$().keyboardScrolling=n)}function ao(n){var t=n.index();void 0!==$().anchors[t]&&n.isActive&&Kt($().anchors[t],t),$().menu&&$().css3&&null!=Ue(Oe($().menu)[0],h)&&Oe($().menu).forEach((function(n){zn.appendChild(n)}))}function uo(){var n,t,e=on().D,i=on().D.item;Fe(i,T),Bn(on().D),Ut(),Cn(i),t=vr((n=Xr()).section),n.section&&t&&(void 0===t||t.index()!==Ie(ge))||!oi($().afterLoad)||Zt("afterLoad",{D:i,element:i,direction:null,anchorLink:e.anchor,sectionIndex:e.index(),items:{origin:on().D,destination:on().D}}),oi($().afterRender)&&Zt("afterRender"),ai(K(),"afterRender")}function lo(n,t){void 0!==t?(t=t.replace(/ /g,"").split(",")).forEach((function(t){Mt(n,t,"m")})):Mt(n,"all","m"),ai(K(),"setAllowScrolling",{value:n,Qn:t})}function co(){var n=Xr(),t=n.section,e=n.pn;t?$().animateAnchor?hr(t,e):Pr(t,e):Qn.ln(Kn,null)}Qn.un(rt,(function(){clearTimeout($r),clearTimeout(qr)})),Qn.un(it,(function(){ei("scroll",to),u.body.addEventListener("scroll",to),Qn.un(ut,(function(n){hr(n.Xn,n.slideAnchor)})),Qn.un(ct,(function(n){gr(n.anchor,void 0)})),Qn.un(at,(function(n){("down"===n.direction?Zi:Yi)()})),Qn.un(st,(function(n){ae(n.destination)}))})),Qn.un(rt,(function(){ri("scroll",to)})),d.getActiveSlide=function(){return Bt(on().D.activeSlide)},d.getScrollX=function(){return en.scrollX},Qn.un(it,(function(){Qn.un(rt,Dt),Qn.un(ft,(function(n){kt(n.slides,n.destination)})),Qn.un(nt,(function(n){dr(n.section)})),Qn.un(qn,(function(n){fr(n.section)})),Qn.un(gt,eo)})),Qn.un(it,(function(){var n=$().credits.position,t=["left","right"].indexOf(n)>-1?"".concat(n,": 0;"):"",e='\n <div class="fp-watermark" style="'.concat(t,'">\n <a href="https://alvarotrigo.com/fullPage/" \n rel="nofollow noopener" \n target="_blank" \n style="text-decoration:none; color: #000;">\n ').concat($().credits.label,"\n </a>\n </div>\n "),i=gi(en.R),r=!en.Jn||$().credits.enabled;i&&i.item&&r&&i.item.insertAdjacentHTML("beforeend",e)})),function(){Qn.un(tt,(function(){var t,u,l;rn({Jn:($().licenseKey,t=$().licenseKey,u=function(t){var e=parseInt("514").toString(16);if(!t||t.length<29||4===t.split(n[0]).length)return null;var i=["Each","for"][r()]().join(""),u=t[["split"]]("-"),l=[];u[i]((function(n,t){if(t<4){var i=function(n){var t=n[n.length-1],e=["NaN","is"][r()]().join("");return window[e](t)?o(t):function(n){return n-y.length}(t)}(n);l.push(i);var a=o(n[i]);if(1===t){var u=["pa","dS","t","art"].join("");a=a.toString()[u](2,"0")}e+=a,0!==t&&1!==t||(e+="-")}}));var c=0,s="";return t.split("-").forEach((function(n,t){if(t<4){for(var e=0,i=0;i<4;i++)i!==l[t]&&(e+=Math.abs(o(n[i])),isNaN(n[i])||c++);var r=a(e);s+=r}})),s+=a(c),{Kn:new Date(e+"T00:00"),$n:e.split("-")[2]===8*(y.length-2)+"",qn:s}}(t),l=function(n){var t=i[r()]().join("");return n&&0===t.indexOf(n)&&n.length===t.length}(t)||function(n){return new RegExp("^(?=.*?[A-Y])(?=.*?[a-y])(?=.*?[0-8])(?=.*?[#?!@$%^&*-]).{8,}$").test(n)}(t),(u||l)&&(u&&e<=u.Kn&&u.qn===t.split(n[0])[4]||l||u.$n)||!1)})}));var n=["-"],t="2024-10-28".split("-"),e=new Date(t[0],t[1],t[2]),i=["se","licen","-","v3","l","gp"];function r(){return[["re","verse"].join("")]["".length]}function o(n){return n?isNaN(n)?n.charCodeAt(0)-72:n:""}function a(n){var t=72+n;return t>90&&t<97&&(t+=15),String.fromCharCode(t).toUpperCase()}}(),Qn.un(vt,io),Qn.un(gt,ro),Qn.un(pt,io),Qn.un(mt,ro),Qn.un(et,(function(){oo(!0)})),d.setKeyboardScrolling=oo,d.shared.nt=uo,d.setAllowScrolling=lo;var so={};function fo(){return so}var vo,po,ho,go,mo=!Ee(zn,vn("OHNsd3AtZnVsbHBhZ2UtanM5T20="));function wo(n){if(po=u.createElement("div"),vo=vn("MTIzPGRpdj48YSBocmVmPSJodHRwOi8vYWx2YXJvdHJpZ28uY29tL2Z1bGxQYWdlL2V4dGVuc2lvbnMvIiBzdHlsZT0iY29sb3I6ICNmZmYgIWltcG9ydGFudDsgdGV4dC1kZWNvcmF0aW9uOm5vbmUgIWltcG9ydGFudDsiPlVubGljZW5zZWQgZnVsbFBhZ2UuanMgRXh0ZW5zaW9uPC9hPjwvZGl2PjEyMw=="),mo||(vo=vo.replace("extensions/","").replace("Extension","")),po.innerHTML=vo,po=po.firstChild,"MutationObserver"in window&&new MutationObserver(So).observe(u.body,{childList:!0,subtree:!1}),(!mo||un(n)&&d[n])&&(!function(n){var t=void 0!==fo()[n]&&fo()[n].length,e=[],i=!1;return We(fo()[n])?e=fo()[n]:e.push(fo()[n]),e.forEach((function(e){var r=function(){if(u.domain.length){for(var n=u.domain.replace(/^(www\.)/,"").split(".");n.length>2;)n.shift();return n.join(".").replace(/(^\.*)|(\.*$)/g,"")}return""}(),o=["MTM0bG9jYWxob3N0MjM0","MTM0MC4xMjM0","MTM0anNoZWxsLm5ldDIzNA==","UDdDQU5ZNlNN","NTY3YnVuZGxlNzg5","NTU1S2V5Nzc3","NDU2dGVzdDQ1Ng=="],a=vn(o[0]),l=vn(o[1]),c=vn(o[2]),s=vn(o[6]),f=vn(o[3]),d=vn(o[4]),v=vn(o[5]),p=void 0!==$()[d+v];t=t||p;var h=[a,l,c,s].indexOf(r)<0&&0!==r.length;if(!t&&!p&&h)return!1;var g=t?vn(e):"",m=(g=g.split("_")).length>1&&g[1].indexOf(n,g[1].length-n.length)>-1,w=g.length>1&&g[1].toLowerCase().indexOf(d)>-1,b=g[0].indexOf(r,g[0].length-r.length)<0,S=m||w;i=i||!(b&&h&&f!=g[0])&&S||!h})),i}(n)||!mo)){bo();var t=vn("MzQ1c2V0SW50ZXJ2YWwxMjM=");window[t](bo,2e3)}}function bo(){po&&(go||(Math.random()<.5?dn(zn,po):Be(po,zn),go=!0),po.setAttribute("style",vn("MTIzei1pbmRleDo5OTk5OTk5O3Bvc2l0aW9uOmZpeGVkO3RvcDoyMHB4O2JvdHRvbTphdXRvO2xlZnQ6MjBweDtyaWdodDphdXRvO2JhY2tncm91bmQ6cmVkO3BhZGRpbmc6N3B4IDE1cHg7Zm9udC1zaXplOjE0cHg7Zm9udC1mYW1pbHk6YXJpYWw7Y29sb3I6I2ZmZjtkaXNwbGF5OmlubGluZS1ibG9jazt0cmFuc2Zvcm06dHJhbnNsYXRlM2QoMCwwLDApO29wYWNpdHk6MTtoZWlnaHQ6YXV0bzt3aWR0aDphdXRvO3pvb206MTttYXJnaW46YXV0bztib3JkZXI6bm9uZTt2aXNpYmlsaXR5OnZpc2libGU7Y2xpcC1wYXRoOm5vbmU7MTIz").replace(/;/g,vn("MTIzICFpbXBvcnRhbnQ7MzQ1"))))}function So(n){n.forEach((function(n){if(n.removedNodes[0]&&n.removedNodes[0].isEqualNode(po)){clearTimeout(ho);var t=vn("bDIwc2V0VGltZW91dDAzbA==");ho=window[t](yo,900)}}))}function yo(){go=!1}function Mo(){Pt(),It(),$().scrollBar=$().scrollBar||$().hybrid,tn(),function(){Le(bi(K(),"body"),{height:"100%",position:"relative"}),Fe(K(),p),Fe(Nn,S),rn({U:Re()}),Ve(K(),b),Ai(),ln("parallax","init");for(var n=on().tn,t=0;t<n.length;t++){var e=n[t],i=e.vn,r=ni(e.item,"style");r&&e.item.setAttribute("data-fp-styles",r),me(e),ao(e),i.length>0&&xi(e)}$().fixedElements&&$().css3&&Oe($().fixedElements).forEach((function(n){zn.appendChild(n)})),$().navigation&&Qt(),Oe('iframe[src*="youtube.com/embed/"]',K()).forEach((function(n){var t,e;e=ni(t=n,"src"),t.setAttribute("src",e+(/\?/.test(e)?"&":"?")+"enablejsapi=1")})),ln("fadingEffect","apply"),ln("waterEffect","init"),ln("dropEffect","init"),ln("cards","init"),$().scrollOverflow&&Me.bn()}(),lo(!0),Lr(!0),Gt($().autoScrolling,"internal"),fe(),Yn(),"complete"===u.readyState&&co(),ei("load",co),uo(),mo||wo("l"),Pt(),It()}function To(){var n=$().licenseKey;""===$().licenseKey.trim()?(Te("error","Fullpage.js requires a `licenseKey` option. Read about it on the following website:"),Te("error","https://alvarotrigo.com/fullPage/docs/#licensekey")):$()&&en.Jn||u.domain.indexOf("alvarotrigo.com")>-1?n&&n.length:(Te("error","Incorrect `licenseKey`. Get one for fullPage.js version 4 here:"),Te("error","https://alvarotrigo.com/fullPage/pricing")),Ee(Nn,S)?Te("error","Fullpage.js can only be initialized once and you are doing it multiple times!"):($().continuousVertical&&($().loopTop||$().loopBottom)&&($().continuousVertical=!1,Te("warn","Option `loopTop/loopBottom` is mutually exclusive with `continuousVertical`; `continuousVertical` disabled")),!$().scrollOverflow||!$().scrollBar&&$().autoScrolling||Te("warn","Options scrollBar:true and autoScrolling:false are mutually exclusive with scrollOverflow:true. Sections with scrollOverflow might not work well in Firefox"),!$().continuousVertical||!$().scrollBar&&$().autoScrolling||($().continuousVertical=!1,Te("warn","Scroll bars (`scrollBar:true` or `autoScrolling:false`) are mutually exclusive with `continuousVertical`; `continuousVertical` disabled")),$().anchors.forEach((function(n){var t=[].slice.call(Oe("[name]")).filter((function(t){return ni(t,"name")&&ni(t,"name").toLowerCase()==n.toLowerCase()})),e=[].slice.call(Oe("[id]")).filter((function(t){return ni(t,"id")&&ni(t,"id").toLowerCase()==n.toLowerCase()}));if(e.length||t.length){Te("error","data-anchor tags can not have the same value as any `id` element on the site (or `name` element for IE).");var i=e.length?"id":"name";(e.length||t.length)&&Te("error",'"'+n+'" is is being used by another element `'+i+"` property")}})))}function Ao(){return{options:$(),internals:{container:K(),canScroll:en.canScroll,isScrollAllowed:Tt(),getDestinationPosition:ue,isTouch:s,c:wo,getXmovement:Rt,removeAnimation:kn,getTransforms:En,lazyLoad:Vn,addAnimation:xn,performHorizontalMove:Et,landscapeScroll:kt,silentLandscapeScroll:jt,keepSlidesPosition:Xt,silentScroll:Dn,styleSlides:xi,styleSection:me,scrollHandler:to,getEventsPage:ur,getMSPointer:lr,isReallyTouch:rr,usingExtension:un,toggleControlArrows:xt,touchStartHandler:or,touchMoveHandler:ir,nullOrSection:Vt,items:{SectionPanel:Wt,SlidePanel:Ft,Item:hn},getVisible:xe,getState:on,updateState:It,updateStructuralState:Pt,activeSlidesNavigation:bt,getPanels:function(){return en.rn},getSections:function(){return en.R},setActiveSection:function(n){en.D=n}}}}function xo(n){var t=["NTY3YnVuZGxlNzg5","NTU1S2V5Nzc3"],e=vn(t[0]),i=vn(t[1]),r=void 0!==$()[e+i],o="fp_"+n+"Extension";fo()[n]=r?$()[e+i]:$()[n+i],d[n]=void 0!==window[o]?new window[o]:null,d[n]&&d[n].c(n)}function Oo(n,t){var e;if(zn=Oe("body")[0],Nn=Oe("html")[0],In=Oe("html, body"),!Ee(Nn,S))return"touchWrapper",e="string"==typeof n?Oe(n)[0]:n,X.touchWrapper=e,function(n){J=ke({},X,n),Q=Object.assign({},J)}(t),function(n){U=n}("string"==typeof n?Oe(n)[0]:n),Qn.ln(tt),To(),d.getFullpageData=Ao,d.version="4.0.31",d.test=Object.assign(d.test,{top:"0px",on:"translate3d(0px, 0px, 0px)",cn:function(){for(var n=[],t=0;t<Oe($().sectionSelector,K()).length;t++)n.push("translate3d(0px, 0px, 0px)");return n}(),left:function(){for(var n=[],t=0;t<Oe($().sectionSelector,K()).length;t++)n.push(0);return n}(),options:$(),setAutoScrolling:null}),d.shared=Object.assign(d.shared,{nt:null,Un:!1}),a.fullpage_api=d,a.fullpage_extensions=!0,K()&&(Qn.ln(et),xo("continuousHorizontal"),xo("scrollHorizontally"),xo("resetSliders"),xo("interlockedSlides"),xo("responsiveSlides"),xo("fadingEffect"),xo("dragAndMove"),xo("offsetSections"),xo("scrollOverflowReset"),xo("parallax"),xo("cards"),xo("dropEffect"),xo("waterEffect"),ln("dragAndMove","init"),ln("responsiveSlides","init"),Mo(),Qn.ln(it),rn({K:!0}),ln("dragAndMove","turnOffTouch")),a.fullpage_api;To()}return d.destroy=function(n){ai(K(),"destroy",n),Gt(!1,"internal"),lo(!0),Lr(!1),oo(!1),Fe(K(),b),Qn.ln(rt),ln("dragAndMove","destroy"),n&&(Dn(0),Oe("img[data-src], source[data-src], audio[data-src], iframe[data-src]",K()).forEach((function(n){wi(n,"src")})),Oe("img[data-srcset]").forEach((function(n){wi(n,"srcset")})),si(Oe("#fp-nav, .fp-slidesNav, .fp-controlArrow")),Le(gn(on().R),{height:"","background-color":"",padding:""}),Le(gn(on().slides),{width:""}),Le(K(),{height:"",position:"","-ms-touch-action":"","touch-action":""}),Le(In,{overflow:"",height:""}),Ve(Nn,S),Ve(zn,m+" "+g),zn.className.split(/\s+/).forEach((function(n){0===n.indexOf("fp-viewing")&&Ve(zn,n)})),gn(on().rn).forEach((function(n){$().scrollOverflow&&Me.In(n),Ve(n,"fp-table active fp-completely "+C);var t=ni(n,"data-fp-styles");t&&n.setAttribute("style",t),Ee(n,A)&&!_&&n.removeAttribute("data-anchor")})),kn(K()),[O,N,j].forEach((function(n){Oe(n,K()).forEach((function(n){Xe(n)}))})),Le(K(),{"-webkit-transition":"none",transition:"none"}),Ve(K(),p),a.scrollTo(0,0),[A,E,z].forEach((function(n){Ve(Oe("."+n),n)})))},a.fp_easings=ke(a.fp_easings,{easeInOutCubic:function(n,t,e,i){return(n/=i/2)<1?e/2*n*n*n+t:e/2*((n-=2)*n*n+2)+t}}),a.jQuery&&function(n,t){n&&t?n.fn.fullpage=function(e){e=n.extend({},e,{$:n}),new t(this[0],e),Object.keys(d).forEach((function(n){$().$.fn.fullpage[n]=d[n]}))}:Te("error","jQuery is required to use the jQuery fullpage adapter!")}(a.jQuery,Oo),Oo}));